CVE-2021-27212: In OpenLDAP through 2.4.57 and 2.5.x through 2.5.1alpha, an assertion failure in slapd can occur in the issuer
CVE-2021-27212 is a high-severity flaw (CVSS 7.5) affecting openldap, debian linux. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
In OpenLDAP through 2.4.57 and 2.5.x through 2.5.1alpha, an assertion failure in slapd can occur in the issuerAndThisUpdateCheck function via a crafted packet, resulting in a denial of service (daemon exit) via a short timestamp. This is related to schema_init.c and checkTime.
Why this priority
- High severity
- EPSS top 1%: very likely to be exploited
- Public exploit reference
- Remotely exploitable, no login, no user action
- On your watchlist
A fixed release or distro patch exists.
Risk facts
| CVSS score | 7.5 (High) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 66.1% (top 1%) |
| CISA exploited list | No |
| Weakness | CWE-617 |
| Published | 2021-02-14 |
| Last modified | 2026-10-14 |
Last updated 2026-10-14 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2021-27212?
openldap: upgrade to newer than 2.4.57; debian linux: mitigate or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2021-27212 being exploited?
CVE-2021-27212 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2021-27212 affect?
CVE-2021-27212 affects openldap, debian linux. Severity is high (CVSS 7.5). In OpenLDAP through 2.4.57 and 2.5.x through 2.5.1alpha, an assertion failure in slapd can occur in the issuerAndThisUpdateCheck function via a crafted packet, resulting in a denial of service (daemon exit) via a short timestamp. This is re
How urgent is CVE-2021-27212?
Priority 66/100. High severity; EPSS top 1%: very likely to be exploited; Public exploit reference; Remotely exploitable, no login, no user action; On your watchlist
Software pages
Debian vulnerabilities · OpenLDAP vulnerabilities
Related CVEs
- CVE-2023-2953 HIGH 7.5 DOWNGRADE MITIGATE A vulnerability was found in openldap
- CVE-2022-29155 CRITICAL 9.8 UPGRADE MITIGATE In OpenLDAP 2.x before 2.5.12 and 2.6.x before 2.6.2, a SQL injection vulnerability exists in the experimental
- CVE-2020-36230 HIGH 7.5 UPGRADE MITIGATE A flaw was discovered in OpenLDAP before 2.4.57 leading in an assertion failure in slapd in the X.509 DN parsi
- CVE-2020-36229 HIGH 7.5 UPGRADE MITIGATE A flaw was discovered in ldap_X509dn2bv in OpenLDAP before 2.4.57 leading to a slapd crash in the X.509 DN par
- CVE-2020-36228 HIGH 7.5 UPGRADE MITIGATE An integer underflow was discovered in OpenLDAP before 2.4.57 leading to a slapd crash in the Certificate List