OpenLDAP 2.1_.20 vulnerabilities
39 published vulnerabilities affect OpenLDAP 2.1_.20.
What to upgrade to
The newest release on the 2.1 line is 2.1.30, with 38 known CVEs. The newest OpenLDAP release we know of is 2.7.2, with no known CVEs.
| Upgrade to | Fixes | Still open | New in that release |
|---|---|---|---|
| 2.1.30newest 2.1 release | 1 of 39 | 38CVE-2022-29155, CVE-2020-36228, CVE-2020-36227 and 35 more | none |
| 2.7.2newest release | all 391 critical | none | none |
"Fixes": CVEs on this page that don't affect that release. "New in that release": CVEs that affect it and not this one.
CVEs affecting OpenLDAP 2.1_.20
Worst first: ranked by Dawnsentry's score for a device that faces the internet (CVSS, plus known exploitation and EPSS). "Fixed in" is the first release that carries the fix, where the source names one.
| CVE | CVSS | Exploitation | EPSS | Fixed in |
|---|---|---|---|---|
| CVE-2022-29155In OpenLDAP 2.x before 2.5.12 and 2.6.x before 2.6.2, a SQL injection vulnerability exists in the experimental back-sql backend to slapd, via a SQL statement… | 9.8 | None known | 64% | 2.5.12NVD |
| CVE-2020-36228An integer underflow was discovered in OpenLDAP before 2.4.57 leading to a slapd crash in the Certificate List Exact Assertion processing, resulting in denial… | 7.5 | None known | 85% | 2.4.57NVD |
| CVE-2020-36227A flaw was discovered in OpenLDAP before 2.4.57 leading to an infinite loop in slapd with the cancel_extop Cancel operation, resulting in denial of service | 7.5 | None known | 77% | 2.4.57NVD |
| CVE-2020-36222A flaw was discovered in OpenLDAP before 2.4.57 leading to an assertion failure in slapd in the saslAuthzTo validation, resulting in denial of service | 7.5 | None known | 77% | 2.4.57NVD |
| CVE-2020-36221An integer underflow was discovered in OpenLDAP before 2.4.57 leading to slapd crashes in the Certificate Exact Assertion processing, resulting in denial of… | 7.5 | None known | 85% | 2.4.57NVD |
| CVE-2006-5779OpenLDAP before 2.3.29 allows remote attackers to cause a denial of service (daemon crash) via LDAP BIND requests with long authcid names, which triggers an… | 7.5 | None known | 77% | 2.3.29NVD |
| CVE-2021-27212In 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… | 7.5 | None known | 66% | –NVD |
| CVE-2020-36230A flaw was discovered in OpenLDAP before 2.4.57 leading in an assertion failure in slapd in the X.509 DN parsing in decode.c ber_next_element, resulting in… | 7.5 | None known | 12% | 2.4.57NVD |
| CVE-2019-13565An issue was discovered in OpenLDAP 2.x before 2.4.48 | 7.5 | None known | 5% | –NVD |
| CVE-2017-17740contrib/slapd-modules/nops/nops.c in OpenLDAP through 2.4.45, when both the nops module and the memberof overlay are enabled, attempts to free a buffer that… | 7.5 | None known | 7% | –NVD |
| CVE-2015-3276The nss_parse_ciphers function in libraries/libldap/tls_m.c in OpenLDAP does not properly parse OpenSSL-style multi-keyword mode cipher strings, which might… | 7.5 | None known | 5% | 2.5NVD |
| CVE-2002-1378Multiple buffer overflows in OpenLDAP2 (OpenLDAP 2) 2.2.0 and earlier allow remote attackers to execute arbitrary code via (1) long -t or -r parameters to… | 7.5 | None known | 7% | –NVD |
| CVE-2020-25710A flaw was found in OpenLDAP in versions before 2.4.56 | 7.5 | None known | 3% | 2.4.56NVD |
| CVE-2020-25709A flaw was found in OpenLDAP. This flaw allows an attacker who can send a malicious packet to be processed by OpenLDAP’s slapd server, to trigger an assertion… | 7.5 | None known | 3% | 2.4.56NVD |
| CVE-2020-36229A flaw was discovered in ldap_X509dn2bv in OpenLDAP before 2.4.57 leading to a slapd crash in the X.509 DN parsing in ad_keystring, resulting in denial of… | 7.5 | None known | 4% | 2.4.57NVD |
| CVE-2020-36226A flaw was discovered in OpenLDAP before 2.4.57 leading to a memch->bv_len miscalculation and slapd crash in the saslAuthzTo processing, resulting in denial of… | 7.5 | None known | 4% | 2.4.57NVD |
| CVE-2020-36225A flaw was discovered in OpenLDAP before 2.4.57 leading to a double free and slapd crash in the saslAuthzTo processing, resulting in denial of service | 7.5 | None known | 4% | 2.4.57NVD |
| CVE-2020-36224A flaw was discovered in OpenLDAP before 2.4.57 leading to an invalid pointer free and slapd crash in the saslAuthzTo processing, resulting in denial of service | 7.5 | None known | 4% | 2.4.57NVD |
| CVE-2020-36223A flaw was discovered in OpenLDAP before 2.4.57 leading to a slapd crash in the Values Return Filter control handling, resulting in denial of service (double… | 7.5 | None known | 4% | 2.4.57NVD |
| CVE-2020-25692A NULL pointer dereference was found in OpenLDAP server and was fixed in openldap 2.4.55, during a request for renaming RDNs | 7.5 | None known | 3% | 2.4.55NVD |
| CVE-2020-12243In filter.c in slapd in OpenLDAP before 2.4.50, LDAP search filters with nested boolean expressions can result in denial of service (daemon crash) | 7.5 | None known | 5% | 2.4.50NVD |
| CVE-2004-0823OpenLDAP 1.0 through 2.1.19, as used in Apple Mac OS 10.3.4 and 10.3.5 and possibly other operating systems, may allow certain authentication schemes to use… | 7.5 | None known | 3% | –NVD |
| CVE-2002-1379OpenLDAP2 (OpenLDAP 2) 2.2.0 and earlier allows remote or local attackers to execute arbitrary code when libldap reads the .ldaprc file within applications… | 7.5 | None known | 3% | –NVD |
| CVE-2005-4442Untrusted search path vulnerability in OpenLDAP before 2.2.28-r3 on Gentoo Linux allows local users in the portage group to gain privileges via a malicious… | 7.2 | None known | under 1% | –NVD |
| CVE-2007-5708slapo-pcache (overlays/pcache.c) in slapd in OpenLDAP before 2.3.39, when running as a proxy-caching server, allocates memory using a malloc variant instead of… | 7.1 | None known | 3% | –NVD |
| CVE-2007-5707OpenLDAP before 2.3.39 allows remote attackers to cause a denial of service (slapd crash) via an LDAP request with a malformed objectClasses attribute | 7.1 | None known | 4% | –NVD |
| CVE-2017-9287servers/slapd/back-mdb/search.c in OpenLDAP through 2.4.44 is prone to a double free vulnerability | 6.5 | None known | 7% | –NVD |
| CVE-2015-6908The ber_get_next function in libraries/liblber/io.c in OpenLDAP 2.4.42 and earlier allows remote attackers to cause a denial of service (reachable assertion… | 5.0 | None known | 19% | –NVD |
| CVE-2006-6493Buffer overflow in the krbv4_ldap_auth function in servers/slapd/kerberos.c in OpenLDAP 2.4.3 and earlier, when OpenLDAP is compiled with the --enable-kbind… | 5.1 | None known | 10% | –NVD |
| CVE-2019-13057An issue was discovered in the server in OpenLDAP before 2.4.48 | 4.9 | None known | 5% | 2.4.48NVD |
| CVE-2017-14159slapd in OpenLDAP 2.4.45 and earlier creates a PID file after dropping privileges to a non-root account, which might allow local users to kill arbitrary… | 4.7 | None known | under 1% | –NVD |
| CVE-2013-4449The rwm overlay in OpenLDAP 2.4.23, 2.4.36, and earlier does not properly count references, which allows remote attackers to cause a denial of service (slapd… | 4.3 | None known | 11% | –NVD |
| CVE-2012-2668libraries/libldap/tls_m.c in OpenLDAP, possibly 2.4.31 and earlier, when using the Mozilla NSS backend, always uses the default cipher suite even when… | 4.3 | None known | 4% | –NVD |
| CVE-2009-3767libraries/libldap/tls_o.c in OpenLDAP 2.2 and 2.4, and possibly other versions, when OpenSSL is used, does not properly handle a '\0' character in a domain… | 4.3 | None known | 3% | 2.4.18NVD |
| CVE-2020-15719libldap in certain third-party OpenLDAP packages has a certificate-validation flaw when the third-party package is asserting RFC6125 support | 4.2 | None known | 3% | 2.4.46-10.el8NVD |
| CVE-2007-6698The BDB backend for slapd in OpenLDAP before 2.3.36 allows remote authenticated users to cause a denial of service (crash) via a potentially-successful modify… | 4.0 | None known | 5% | –NVD |
| CVE-2011-4079Off-by-one error in the UTF8StringNormalize function in OpenLDAP 2.4.26 and earlier allows remote attackers to cause a denial of service (slapd crash) via a… | 4.0 | None known | 3% | –NVD |
| CVE-2012-1164slapd in OpenLDAP before 2.4.30 allows remote attackers to cause a denial of service (assertion failure and daemon exit) via an LDAP search query with… | 2.6 | None known | 4% | –NVD |
| CVE-2002-1508slapd in OpenLDAP2 (OpenLDAP 2) 2.2.0 and earlier allows local users to overwrite arbitrary files via a race condition during the creation of a log file for… | 1.2 | None known | under 1% | –NVD |
Other OpenLDAP 2.1 releases
2.1.3038 2.1.2938 2.1.2838 2.1.2738 2.1.2638 2.1.2538 2.1.2438 2.1.2338 2.1.2238 2.1.2138 2.1.1939 2.1.1839 2.1.1739 2.1.1639
How this list is made
These are the CVEs Dawnsentry matches to each OpenLDAP version, with the same engine its customers use. Where the vendor publishes its own advisory, that decides whether a version is affected, down to hotfix level; otherwise the CVE record and NVD's version data decide. CVSS comes from NVD or the reporting organisation, exploitation from CISA's Known Exploited Vulnerabilities catalogue, CISA's ratings, Metasploit and Nuclei, and EPSS (the probability of exploitation in the next 30 days) from FIRST. The list is rebuilt every day. Always confirm against the vendor's advisory before you act on it.
Updated 2 December 2026.