Red Hat Directory Server 11.5 E4S for RHEL 8
389-ds-base: 389-ds-base: unbounded ldap controls count in get_ldapmessage_controls_ext() causes cpu and heap amplification (remote dos)
A flaw was found in 389-ds-base. The get_ldapmessage_controls_ext() function in the LDAP server does not enforce an upper bound on the number of controls per LDAP message. A remote, unauthenticated attacker can send a specially crafted LDAP request containing hundreds of thousands of minimal controls within the default maximum BER message size (2 MB), causing excessive CPU consumption and heap allocation on the server. Under concurrent exploitation, this leads to significant latency degradation, worker thread starvation, or out-of-memory termination, resulting in a denial of service.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- 0
Fixed in 8060020260609102432.0ca98e7e
Fixed in 8080020260610130252.f969626e
Fixed in 8100020260601104139.37ed7c03
Fixed in 9020020260615123354.1674d574
Fixed in 9040020260611130021.1674d574
Fixed in 0:3.2.0-7.el10_2
Fixed in 0:3.0.6-18.el10_0
Fixed in 0:1.3.11.1-12.el7_9
Fixed in 8100020260601102239.25e700aa
Fixed in 8040020260609102422.96015a92
Fixed in 8040020260609102422.96015a92
Fixed in 8060020260609102416.824efc52
Fixed in 8060020260609102416.824efc52
Fixed in 8080020260610125847.6dbb3803
Fixed in 8080020260610125847.6dbb3803
Fixed in 0:2.8.0-7.el9_8
Fixed in 0:2.2.4-18.el9_2
Fixed in 0:2.4.5-25.el9_4
Fixed in 0:2.6.1-21.el9_6
Fixed in 1781714123
Mitigation
Upgrade Red Hat Directory Server 11.5 E4S for RHEL 8 to 8060020260609102432.0ca98e7e or later.
Upgrade Red Hat Directory Server 11.7 E4S for RHEL 8 to 8080020260610130252.f969626e or later.
Upgrade Red Hat Directory Server 11.9 for RHEL 8 to 8100020260601104139.37ed7c03 or later.
Upgrade Red Hat Directory Server 12.2 E4S for RHEL 9 to 9020020260615123354.1674d574 or later.
Upgrade Red Hat Directory Server 12.4 E4S for RHEL 9 to 9040020260611130021.1674d574 or later.
Upgrade Red Hat Enterprise Linux 10 to 0:3.2.0-7.el10_2 or later.
Upgrade Red Hat Enterprise Linux 10.0 Extended Update Support to 0:3.0.6-18.el10_0 or later.
Upgrade Red Hat Enterprise Linux 7 Extended Lifecycle Support to 0:1.3.11.1-12.el7_9 or later.
Upgrade Red Hat Enterprise Linux 8 to 8100020260601102239.25e700aa or later.
Upgrade Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support to 8040020260609102422.96015a92 or later.
Upgrade Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On to 8040020260609102422.96015a92 or later.
Upgrade Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support to 8060020260609102416.824efc52 or later.
Upgrade Red Hat Enterprise Linux 8.6 Extended Update Support Long-Life Add-On to 8060020260609102416.824efc52 or later.
Upgrade Red Hat Enterprise Linux 8.8 Telecommunications Update Service to 8080020260610125847.6dbb3803 or later.
Upgrade Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions to 8080020260610125847.6dbb3803 or later.
Upgrade Red Hat Enterprise Linux 9 to 0:2.8.0-7.el9_8 or later.
Upgrade Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions to 0:2.2.4-18.el9_2 or later.
Upgrade Red Hat Enterprise Linux 9.4 Update Services for SAP Solutions to 0:2.4.5-25.el9_4 or later.
Upgrade Red Hat Enterprise Linux 9.6 Extended Update Support to 0:2.6.1-21.el9_6 or later.
Upgrade Red Hat Directory Server 13.2 to 1781714123 or later.
Workaround
Restrict network access to the LDAP port (389/tcp, 636/tcp) to trusted networks only using firewall rules or network ACLs. This prevents untrusted remote attackers from reaching the vulnerable code path. Optionally, lower the nsslapd-maxbersize configuration parameter to reduce the maximum BER message size accepted by the server. Note that this caps bytes, not the number of controls, and does not fully eliminate the amplification. Setting it too low may impact legitimate LDAP operations with large payloads.
References
- Vendor advisory access.redhat.com/errata/RHSA-2026:26452
- Vendor advisory access.redhat.com/errata/RHSA-2026:26453
- Vendor advisory access.redhat.com/errata/RHSA-2026:26454
5 more
- Vendor advisory access.redhat.com/errata/RHSA-2026:26455
- Vendor advisory access.redhat.com/errata/RHSA-2026:26456
- Vendor advisory access.redhat.com/errata/RHSA-2026:26457
- Vendor advisory access.redhat.com/errata/RHSA-2026:26458
- Vendor advisory access.redhat.com/errata/RHSA-2026:26459
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.