Description
libraries/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 name in the subject's Common Name (CN) field of an X.509 certificate, which allows man-in-the-middle attackers to spoof arbitrary SSL servers via a crafted certificate issued by a legitimate Certification Authority, a related issue to CVE-2009-2408.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | openldap | 2.4.17-2.1 | — |
| Debian 13 | openldap | 2.4.17-2.1 | — |
| Debian 12 | openldap | 2.4.17-2.1 | — |
| Debian 5.0 | openldap | 2.4.11-1+lenny1 | DSA-1943-1 |
| Debian 4.0 | openldap2.3 | 2.3.30-5+etch3 | DSA-1943-1 |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 5 | compat-openldap | 2.3.43_2.2.29-12.el5 | RHSA-2010:0198 |
| RHEL 5 | openldap +5 | 2.3.43-12.el5 | RHSA-2010:0198 |
| RHEL 4 | compat-openldap | 2.1.30-12.el4_8.3 | RHSA-2010:0543 |
| RHEL 4 | openldap +4 | 2.2.13-12.el4_8.3 | RHSA-2010:0543 |
Advisories 3
- RHSA-2010:0198 Red Hat Security Advisory: openldap security and bug fix update Red Hat Security Advisories (RHSA) · Jun 26, 2026
- RHSA-2010:0543 Red Hat Security Advisory: openldap security update Red Hat Security Advisories (RHSA) · Jun 26, 2026
- DSA-1943-1 openldap openldap2.3 - SSL certificate Debian Security (DSA / DLA) · Mar 9, 2026
References
- FEDORA-2010-0752 vendor-advisory
- [oss-security] 20090923 Re: More CVE-2009-2408 like issues mailing-list
- GLSA-201406-36 vendor-advisory
- oval:org.mitre.oval:def:11178 vdb-entry signature
- ADV-2010-1858 vdb-entry
- 40677 third-party-advisory
- oval:org.mitre.oval:def:7274 vdb-entry signature
- http://www.openldap.org/devel/cvsweb.cgi/libraries/libldap/tls_o.c.diff?r1=1.8&r2=1.11&f=h
- ADV-2009-3056 vdb-entry
- RHSA-2010:0543 vendor-advisory
- RHSA-2011:0896 vendor-advisory
- SUSE-SR:2009:016 vendor-advisory
- 38769 third-party-advisory
- APPLE-SA-2009-11-09-1 vendor-advisory
- http://support.apple.com/kb/HT3937
- [oss-security] 20090903 More CVE-2009-2408 like issues mailing-list