Description
servers/slapd/back-mdb/search.c in OpenLDAP through 2.4.44 is prone to a double free vulnerability. A user with access to search the directory can crash slapd by issuing a search including the Paged Results control with a page size of 0.
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.44+dfsg-5 | — |
| Debian 13 | openldap | 2.4.44+dfsg-5 | — |
| Debian 12 | openldap | 2.4.44+dfsg-5 | — |
| Debian 8 | openldap | 2.4.40+dfsg-1+deb8u3 | DSA-3868-1 |
| Debian 7 | openldap | 2.4.31-2+deb7u3 | DLA-972-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 16.04 LTS | openldap | 2.4.42+dfsg-2ubuntu3.2 | USN-3307-1 |
| Ubuntu 14.04 LTS | openldap | 2.4.31-1+nmu2ubuntu8.4 | USN-3307-1 |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 7 | openldap +4 | 2.4.44-5.el7 | RHSA-2017:1852 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 12 SP2 | openldap2 | 2.4.41-18.29.1 | SUSE-SU-2017:1567-1 |
| SLES 12 SP1 | openldap2 | 2.4.41-18.24.9.7 | SUSE-SU-2019:0931-1 |
| SLES 12 SP1 | openldap2-client | 2.4.41-18.24.9.1 | SUSE-SU-2019:0931-1 |
| SLES 12 | openldap2 | 2.4.41-18.24.9.7 | SUSE-SU-2019:0931-1 |
| SLES 12 | openldap2-client | 2.4.41-18.24.9.1 | SUSE-SU-2019:0931-1 |
Show 5 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES for SAP 12 SP4 | openldap2 | 2.4.41-18.24.9.7 | SUSE-SU-2019:0931-1 |
| SLES for SAP 12 SP3 | openldap2 | 2.4.41-18.24.9.7 | SUSE-SU-2019:0931-1 |
| SLES for SAP 12 SP2 | openldap2 | 2.4.41-18.24.9.7 | SUSE-SU-2019:0931-1, SUSE-SU-2017:1567-1 |
| SLES for SAP 12 SP1 | openldap2 | 2.4.41-18.24.9.7 | SUSE-SU-2019:0931-1 |
| SLES for SAP 12 SP1 | openldap2-client | 2.4.41-18.24.9.1 | SUSE-SU-2019:0931-1 |
| SLES for SAP 12 | openldap2 | 2.4.41-18.24.9.7 | SUSE-SU-2019:0931-1 |
| SLES for SAP 12 | openldap2-client | 2.4.41-18.24.9.1 | SUSE-SU-2019:0931-1 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | openldap | 2.4.44-r5 | — |
| Alpine v3.23 | openldap | 2.4.44-r5 | — |
| Alpine v3.22 | openldap | 2.4.44-r5 | — |
| Alpine v3.21 | openldap | 2.4.44-r5 | — |
| Alpine v3.20 | openldap | 2.4.44-r5 | — |
Show 17 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.19 | openldap | 2.4.44-r5 | — |
| Alpine v3.18 | openldap | 2.4.44-r5 | — |
| Alpine v3.17 | openldap | 2.4.44-r5 | — |
| Alpine v3.16 | openldap | 2.4.44-r5 | — |
| Alpine v3.15 | openldap | 2.4.44-r5 | — |
| Alpine v3.14 | openldap | 2.4.44-r5 | — |
| Alpine v3.13 | openldap | 2.4.44-r5 | — |
| Alpine v3.12 | openldap | 2.4.44-r5 | — |
| Alpine v3.11 | openldap | 2.4.44-r5 | — |
| Alpine v3.10 | openldap | 2.4.44-r5 | — |
| Alpine v3.9 | openldap | 2.4.44-r5 | — |
| Alpine v3.8 | openldap | 2.4.44-r5 | — |
| Alpine v3.7 | openldap | 2.4.44-r5 | — |
| Alpine v3.6 | openldap | 2.4.44-r5 | — |
| Alpine v3.5 | openldap | 2.4.44-r4 | — |
| Alpine v3.4 | openldap | 2.4.44-r2 | — |
| Alpine v3.3 | openldap | 2.4.44-r1 | — |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 7 | openldap +4 | 2.4.44-5.el7 | ELSA-2017-1852 |
Advisories 7
- RHSA-2017:1852 Red Hat Security Advisory: openldap security, bug fix, and enhancement update Red Hat Security Advisories (RHSA) · Jun 26, 2026
- USN-3307-1 openldap vulnerability Ubuntu Security Notices (USN) · Apr 22, 2026
- DLA-972-1 openldap - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DSA-3868-1 openldap - security update Debian Security (DSA / DLA) · Mar 9, 2026
- SUSE-SU-2017:1567-1 Security update for openldap2 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2019:0931-1 Security update for openldap2 SUSE / openSUSE Security Updates · Feb 4, 2026
- ELSA-2017-1852 Moderate: openldap security, bug fix, and enhancement update (Oracle Linux 7) Oracle Linux Security Advisories (ELSA) · Aug 7, 2017
References
- 98736 vdb-entry
- DSA-3868 vendor-advisory
- RHSA-2017:1852 vendor-advisory
- 1038591 vdb-entry
- https://www.oracle.com/security-alerts/cpuapr2022.html
- https://kc.mcafee.com/corporate/index?page=content&id=SB10365
- http://www.openldap.org/its/?findid=8655
- https://bugs.debian.org/863563