CVE-2021-27212Openldap Denial of Service
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.
Published Feb 14, 2021 · Updated Nov 24, 2026 · Also known as ALPINE-CVE-2021-27212, BIT-openldap-2021-27212, CLEANSTART-2026-QG21106, CLSA-2021-1637770462, CLSA-2021-1638803748, CLSA-2022-1646915783, CLSA-2023-1695834945, CLSA-2026-1777031791, CLSA-2026-1777051819, DEBIAN-CVE-2021-27212, DLA-2574-1, DSA-4860-1, JLSEC-2026-173, OESA-2021-1119, UBUNTU-CVE-2021-27212, USN-4744-1, USN-7713-1
Key Facts
Patch immediately- CVE-2021-27212 is a high-severity vulnerability (CVSS 7.5 v3.1) affecting Openldap, Debian Linux, rootio-openldap and 22 more products.
- It is not listed in any known-exploited vulnerabilities catalog. No public exploit code is known.
- EPSS estimates a 66% probability of exploitation in the next 30 days.
- Fixed versions are available, including compat-libldap-2_3-0 2.3.37-2.74.26.1, compat-libldap-2_3-0 2.3.37-39.1, ldap-utils 2.4.31-1+nmu2ubuntu8.5+esm8.
- Brandefense priority: patch immediately, because it is very likely to be exploited soon.
Scores
CVSS v3.1
7.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS (30-day exploit likelihood)
66%
Higher than 99.2% of all scored CVEs
Exploit maturity
None known
ATLAS score
32/100
Publication score, see How it works
Exploitation Verdict
KEV listed
Not listed
Federal due date
None
No federal due date
Ransomware use
Not reported
Attributed actors
None named
Exploit & Defence Guidance
Exploit maturity
None known
Public exploit code
0
Proof-of-concept links
In-the-wild evidence
1
Reports of active use
Advisories And Exploit References
- advisoryhttps://security.alpinelinux.org/vuln/CVE-2021-27212
- advisoryhttps://security-tracker.debian.org/tracker/CVE-2021-27212
- advisoryhttps://ubuntu.com/security/CVE-2021-27212
- advisoryhttps://www.cve.org/CVERecord?id=CVE-2021-27212
- advisoryhttps://advisories.mageia.org/MGASA-2021-0105.html
- advisoryhttps://bugs.mageia.org/show_bug.cgi?id=28300
Description
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.
Affected Products
436 affected entries in total| Product | Affected versions | Fixed in |
|---|---|---|
| OpenldapOpenldap | 2.5.0-alpha, 2.5.1-alpha | 2.4.57 |
| Debian LinuxDebian | 10.0, 9.0 | n/a |
| rootio-openldaprootio | See advisory | 2.4.57+dfsg-2 |
| ldap-utilsubuntu | See advisory | 2.4.31-1+nmu2ubuntu8.5+esm8 |
| libldap-2.4-2ubuntu | See advisory | 2.4.31-1+nmu2ubuntu8.5+esm8 |
Patched Releases
compat-libldap-2_3-0
2.3.37-2.74.26.1, 2.3.37-39.1
ldap-utils
2.4.31-1+nmu2ubuntu8.5+esm8
libldap-2_4-2
2.4.26-0.74.26.1, 2.4.41-18.83.1, 2.4.46-9.48.1, 2.4.46-lp152.14.18.1
libldap-2_4-2-32bit
2.4.26-0.74.26.1, 2.4.41-18.83.1, 2.4.46-9.48.1, 2.4.46-lp152.14.18.1
libldap-2.4-2
2.4.31-1+nmu2ubuntu8.5+esm8
libldap-data
2.4.46-9.48.1, 2.4.46-lp152.14.18.1
libldap-openssl1-2_4-2
2.4.26-0.74.26.1
libldap-openssl1-2_4-2-32bit
2.4.26-0.74.26.1
libldap-openssl1-2_4-2-x86
2.4.26-0.74.26.1
libldap2-dev
2.4.31-1+nmu2ubuntu8.5+esm8
Openldap
2.4.31-1+nmu2ubuntu8.5+esm8, 2.4.40-16.36.amzn1, 2.4.40-16.el6.tuxcare.els1, 2.4.42+dfsg-2ubuntu3.13, 2.4.44-25.amzn2.0.5, 2.4.44-25.el7_9.tuxcare.els1, 2.4.44+dfsg-5+deb9u8, 2.4.45+dfsg-1ubuntu1.10, 2.4.46-17.el8_4.tuxcare.els1, 2.4.47+dfsg-3+deb10u6, 2.4.49+dfsg-2ubuntu1.7, 2.4.50-1.4.mga7, 2.4.50-4.oe1, 2.4.50-r2, 2.4.57-1.1.mga8, 2.4.57-1.ph4, 2.4.57-2, 2.4.57-2.ph1, 2.4.57-2.ph2, 2.4.57-2.ph3, 2.4.57-5, 2.4.57-6.amzn2023.0.4, 2.4.57-r1, 2.4.57+dfsg-2, 2.4.58, 2.4.58-1, <=2.4.57
openldap-clients
2.4.40-16.36.amzn1, 2.4.40-16.el6.tuxcare.els1, 2.4.44-25.amzn2.0.5, 2.4.44-25.el7_9.tuxcare.els1, 2.4.46-17.el8_4.tuxcare.els1, 2.4.57-6.amzn2023.0.4
openldap-compat
2.4.57-6.amzn2023.0.4
openldap-devel
2.4.40-16.36.amzn1, 2.4.40-16.el6.tuxcare.els1, 2.4.44-25.amzn2.0.5, 2.4.44-25.el7_9.tuxcare.els1, 2.4.46-17.el8_4.tuxcare.els1, 2.4.57-6.amzn2023.0.4
openldap-servers
2.4.40-16.36.amzn1, 2.4.40-16.el6.tuxcare.els1, 2.4.44-25.amzn2.0.5, 2.4.44-25.el7_9.tuxcare.els1, 2.4.46-17.el8_4.tuxcare.els1, 2.4.57-6.amzn2023.0.4
openldap-servers-sql
2.4.40-16.36.amzn1, 2.4.40-16.el6.tuxcare.els1, 2.4.44-25.amzn2.0.5, 2.4.44-25.el7_9.tuxcare.els1
openldap2
2.4.26-0.74.26.1, 2.4.41-18.83.1, 2.4.41-39.1, 2.4.46-9.48.1, 2.4.46-lp152.14.18.1
openldap2-back-meta
2.4.26-0.74.26.1, 2.4.41-18.83.1, 2.4.46-9.48.1, 2.4.46-lp152.14.18.1
openldap2-back-perl
2.4.41-18.83.1, 2.4.46-9.48.1, 2.4.46-lp152.14.18.1
openldap2-back-sock
2.4.46-lp152.14.18.1
openldap2-back-sql
2.4.46-lp152.14.18.1
openldap2-client
2.4.26-0.74.26.1, 2.4.41-18.83.1, 2.4.46-9.48.1, 2.4.46-lp152.14.18.1
openldap2-client-openssl1
2.4.26-0.74.26.1
openldap2-contrib
2.4.46-lp152.14.18.1
openldap2-devel
2.4.41-18.83.1, 2.4.46-9.48.1, 2.4.46-lp152.14.18.1
Timeline
Publicly disclosed
Feb 14, 2021
Last updated
Nov 24, 2026
Weakness Type
- CWE-400 Uncontrolled Resource Consumption
- CWE-617 Reachable Assertion
References
- advisorysecurity.alpinelinux.org · CVE-2021-27212
- advisorysecurity-tracker.debian.org · CVE-2021-27212
- advisoryubuntu.com · CVE-2021-27212
- advisorycve.org · CVERecord
- advisoryadvisories.mageia.org · MGASA-2021-0105.html
FAQ
Common Questions.
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.
Affected: Openldap versions 2.5.0-alpha, 2.5.1-alpha; Debian Linux versions 10.0, 9.0; rootio-openldap, among others. The full list is in the CVE brief.
It is not listed in any known-exploited vulnerabilities catalog.
No, it is not currently listed in the CISA Known Exploited Vulnerabilities catalog.
No public exploit code is known.
Fixed versions are available, including compat-libldap-2_3-0 2.3.37-2.74.26.1, compat-libldap-2_3-0 2.3.37-39.1, ldap-utils 2.4.31-1+nmu2ubuntu8.5+esm8.
Brandefense priority: patch immediately, because it is very likely to be exploited soon.
Is CVE-2021-27212 On Your Attack Surface?
Brandefense matches it against the products discovered on your perimeter and opens a finding the day a CVE like this is listed.
Request A Demo