Description
In 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).
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.50+dfsg-1 | — |
| Debian 13 | openldap | 2.4.50+dfsg-1 | — |
| Debian 12 | openldap | 2.4.50+dfsg-1 | — |
| Debian 10 | openldap | 2.4.47+dfsg-3+deb10u2 | DSA-4666-1 |
| Debian 9 | openldap | 2.4.44+dfsg-5+deb9u4 | DSA-4666-1 |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 8 | openldap | 2.4.40+dfsg-1+deb8u6 | DLA-2199-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 20.04 LTS | openldap | 2.4.49+dfsg-2ubuntu1.2 | USN-4352-1 |
| Ubuntu 18.04 LTS | openldap | 2.4.45+dfsg-1ubuntu1.5 | USN-4352-1 |
| Ubuntu 16.04 LTS | openldap | 2.4.42+dfsg-2ubuntu3.8 | USN-4352-1 |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 14.04 LTS | openldap | 2.4.31-1+nmu2ubuntu8.5+esm2 | USN-4352-2 |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 7 | openldap +4 | 2.4.44-22.el7 | RHSA-2020:4041 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP1 | openldap2 | 2.4.46-9.28.2 | SUSE-SU-2020:1219-1 |
| SLES 15 | openldap2 | 2.4.46-9.28.2 | SUSE-SU-2020:1219-1 |
| SLES 12 SP5 | openldap2 | 2.4.41-18.68.1 | SUSE-SU-2020:1193-1 |
| SLES 12 SP4 | openldap2 | 2.4.41-18.68.1 | SUSE-SU-2020:1193-1 |
| SLES 12 SP3 | openldap2 | 2.4.41-18.68.1 | SUSE-SU-2020:1193-1 |
Show 18 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 12 SP2 | openldap2 | 2.4.41-18.68.1 | SUSE-SU-2020:1193-1 |
| SLES 12 SP1 | openldap2 +1 | 2.4.41-18.24.17.1 | SUSE-SU-2020:1210-1 |
| SLES 12 | openldap2 | 2.4.41-18.24.17.1 | SUSE-SU-2020:1210-1 |
| SLES 11 SP4 | openldap2 +1 | 2.4.26-0.74.9.1 | SUSE-SU-2020:14358-1 |
| SLES 11 | openldap2-client-openssl1 | 2.4.26-0.74.9.1 | SUSE-SU-2020:14358-1 |
| SLES for SAP 15 | openldap2 | 2.4.46-9.28.2 | SUSE-SU-2020:1219-1 |
| SLES for SAP 12 SP5 | openldap2 | 2.4.41-18.24.17.1 | SUSE-SU-2020:1210-1, SUSE-SU-2020:1193-1 |
| SLES for SAP 12 SP4 | openldap2 | 2.4.41-18.24.17.1 | SUSE-SU-2020:1210-1, SUSE-SU-2020:1193-1 |
| SLES for SAP 12 SP3 | openldap2 | 2.4.41-18.24.17.1 | SUSE-SU-2020:1210-1, SUSE-SU-2020:1193-1 |
| SLES for SAP 12 SP2 | openldap2 | 2.4.41-18.24.17.1 | SUSE-SU-2020:1210-1, SUSE-SU-2020:1193-1 |
| SLES for SAP 12 SP1 | openldap2 +1 | 2.4.41-18.24.17.1 | SUSE-SU-2020:1210-1 |
| SLE HPC 15 | openldap2 | 2.4.46-9.28.2 | SUSE-SU-2020:1219-1 |
| SUSE OpenStack Cloud Crowbar 8 | openldap2 | 2.4.41-18.68.1 | SUSE-SU-2020:1193-1 |
| SUSE OpenStack Cloud 8 | openldap2 | 2.4.41-18.68.1 | SUSE-SU-2020:1193-1 |
| SUSE OpenStack Cloud 7 | openldap2 | 2.4.41-18.68.1 | SUSE-SU-2020:1193-1 |
| SUSE Linux Enterprise Point of Sale 11 SP3 | openldap2 +1 | 2.4.26-0.74.9.1 | SUSE-SU-2020:14358-1 |
| SUSE HPE Helion OpenStack 8 | openldap2 | 2.4.41-18.68.1 | SUSE-SU-2020:1193-1 |
| SUSE Enterprise Storage 5 | openldap2 | 2.4.41-18.68.1 | SUSE-SU-2020:1193-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Leap 15.1 | openldap2 | 2.4.46-lp151.10.9.1 | openSUSE-SU-2020:0647-1 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | openldap | 2.4.50-r0 | — |
| Alpine v3.23 | openldap | 2.4.50-r0 | — |
| Alpine v3.22 | openldap | 2.4.50-r0 | — |
| Alpine v3.21 | openldap | 2.4.50-r0 | — |
| Alpine v3.20 | openldap | 2.4.50-r0 | — |
Show 12 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.19 | openldap | 2.4.50-r0 | — |
| Alpine v3.18 | openldap | 2.4.50-r0 | — |
| Alpine v3.17 | openldap | 2.4.50-r0 | — |
| Alpine v3.16 | openldap | 2.4.50-r0 | — |
| Alpine v3.15 | openldap | 2.4.50-r0 | — |
| Alpine v3.14 | openldap | 2.4.50-r0 | — |
| Alpine v3.13 | openldap | 2.4.50-r0 | — |
| Alpine v3.12 | openldap | 2.4.50-r0 | — |
| Alpine v3.11 | openldap | 2.4.48-r2 | — |
| Alpine v3.10 | openldap | 2.4.48-r1 | — |
| Alpine v3.9 | openldap | 2.4.48-r1 | — |
| Alpine v3.8 | openldap | 2.4.48-r1 | — |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2 | openldap +4 | 2.4.44-22.amzn2 | ALAS2-2020-1539 |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 7 | openldap +4 | 2.4.44-22.el7 | ELSA-2020-4041 |
Advisories 16
- RHSA-2020:4041 Red Hat Security Advisory: openldap security update Red Hat Security Advisories (RHSA) · Oct 15, 2026
- SSA-398330 SSA-398330: Vulnerabilities in the additional GNU/Linux subsystem of the SIMATIC S7-1500 CPU 1518(F)-4 PN/DP MFP >= V3.1.0 and < V3.1.5 Siemens ProductCERT · Oct 13, 2026
- USN-4352-2 openldap vulnerability Ubuntu Security Notices (USN) · Apr 22, 2026
- USN-4352-1 openldap vulnerability Ubuntu Security Notices (USN) · Apr 22, 2026
- DSA-4666-1 openldap - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DLA-2199-1 openldap - security update Debian Security (DSA / DLA) · Mar 9, 2026
- SUSE-SU-2020:1210-1 Security update for openldap2 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2020:1193-1 Security update for openldap2 SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2020:0647-1 Security update for openldap2 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2020:14358-1 Security update for openldap2 SUSE / openSUSE Security Updates · Feb 4, 2026
- ICSA-23-348-10 Siemens SIMATIC S7-1500 CISA ICS & IT advisories · Aug 12, 2025
- SUSE-SU-2020:1219-1 Security update for openldap2 SUSE / openSUSE Security Updates · May 2, 2025
- WID-SEC-2024-3163 OpenLDAP: Schwachstelle ermöglicht Denial of Service BSI CERT-Bund (WID) · Oct 14, 2024
- ICSA-22-116-01 Hitachi Energy System Data Manager CISA ICS & IT advisories · Apr 26, 2022
- ALAS2-2020-1539 Moderate: openldap security update (Amazon Linux 2) Amazon Linux Security Center (ALAS) · Oct 22, 2020
- ELSA-2020-4041 Moderate: openldap security update (Oracle Linux 7) Oracle Linux Security Advisories (ELSA) · Oct 6, 2020
References
- DSA-4666 vendor-advisory
- [debian-lts-announce] 20200502 [SECURITY] [DLA 2199-1] openldap security update mailing-list
- USN-4352-2 vendor-advisory
- openSUSE-SU-2020:0647 vendor-advisory
- USN-4352-1 vendor-advisory
- https://www.oracle.com/security-alerts/cpuoct2020.html
- https://bugs.openldap.org/show_bug.cgi?id=9202
- https://git.openldap.org/openldap/openldap/-/blob/OPENLDAP_REL_ENG_2_4/CHANGES
- https://git.openldap.org/openldap/openldap/-/commit/98464c11df8247d6a11b52e294ba5dd4f0380440
- https://security.netapp.com/advisory/ntap-20200511-0003/
- https://support.apple.com/kb/HT211289
- https://www.oracle.com/security-alerts/cpuapr2022.html