Description
The deref_parseCtrl function in servers/slapd/overlays/deref.c in OpenLDAP 2.4.13 through 2.4.40 allows remote attackers to cause a denial of service (NULL pointer dereference and crash) via an empty attribute list in a deref control in a search request.
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.40-4 | — |
| Debian 13 | openldap | 2.4.40-4 | — |
| Debian 12 | openldap | 2.4.40-4 | — |
| Debian 7 | openldap | 2.4.31-2 | DSA-3209-1 |
| Debian 6.0 | openldap | 2.4.23-7.3+deb6u1 | DLA-203-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 14.04 LTS | openldap | 2.4.31-1+nmu2ubuntu8.1 | USN-2622-1 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 12 | openldap2 +1 | 2.4.39-16.1 | SUSE-SU-2015:1077-1 |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES for SAP 12 | openldap2 +1 | 2.4.39-16.1 | SUSE-SU-2015:1077-1 |
Advisories 4
- USN-2622-1 openldap vulnerabilities Ubuntu Security Notices (USN) · Apr 22, 2026
- DLA-203-1 openldap - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DSA-3209-1 openldap - security update Debian Security (DSA / DLA) · Mar 9, 2026
- SUSE-SU-2015:1077-1 Security update for openldap2 SUSE / openSUSE Security Updates · Feb 4, 2026
References
- 72519 vdb-entry
- http://www.openldap.org/devel/gitweb.cgi?p=openldap.git%3Ba=commit%3Bh=c32e74763f77675b9e144126e375977ed6dc562c
- https://support.apple.com/HT204659
- openldap-cve20151545-dos(100937) vdb-entry
- https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=776988
- http://www.oracle.com/technetwork/topics/security/bulletinjul2015-2511963.html
- DSA-3209 vendor-advisory
- APPLE-SA-2015-04-08-2 vendor-advisory
- openSUSE-SU-2015:1325 vendor-advisory
- 1032399 vdb-entry
- MDVSA-2015:073 vendor-advisory
- MDVSA-2015:074 vendor-advisory
- http://www.openldap.org/its/?findid=8027
- 62787 third-party-advisory
- [oss-security] 20150207 Re: CVE request: two OpenLDAP DoS issues mailing-list
- https://support.apple.com/kb/HT210788
- 20191211 APPLE-SA-2019-12-10-3 macOS Catalina 10.15.2, Security Update 2019-002 Mojave, Security Update 2019-007 High Sierra mailing-list
- 20191213 APPLE-SA-2019-12-10-3 macOS Catalina 10.15.2, Security Update 2019-002 Mojave, Security Update 2019-007 High Sierra mailing-list