Red Hat Directory Server 11.5 E4S for RHEL 8
389-ds-base: 389-ds-base: pre-authentication stack buffer overflow in get_ruvelement_from_berval() via unbounded replica id parsing
A stack buffer overflow flaw was found in 389 Directory Server (389-ds-base). The get_ruvelement_from_berval() function in repl5_ruv.c copies digit characters from a network-supplied RUV berval into a fixed 16-byte stack buffer without bounds checking. A remote unauthenticated attacker can crash the LDAP server by sending a crafted StartNSDS50ReplicationRequest extended operation containing a replica ID field with more than 16 digit characters. The overflow occurs during payload decoding, before any authorization check. Stack protectors limit impact to denial of service.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
Fixed in 8060020260908152739.0ca98e7e
Fixed in 8080020260806114250.f969626e
Fixed in 8100020260803140625.37ed7c03
Fixed in 9020020260730155601.1674d574
Fixed in 9040020260810131422.1674d574
Fixed in 0:3.2.0-9.el10_2
Fixed in 0:3.0.6-20.el10_0
Fixed in 0:1.3.11.1-14.el7_9
Fixed in 8100020260806150504.25e700aa
Fixed in 8040020260803141511.96015a92
Fixed in 8040020260803141511.96015a92
Fixed in 8060020260806120442.824efc52
Fixed in 8060020260806120442.824efc52
Fixed in 8080020260806114228.6dbb3803
Fixed in 8080020260806114228.6dbb3803
Fixed in 0:2.8.0-9.el9_8
Fixed in 0:2.2.4-20.el9_2
Fixed in 0:2.4.5-27.el9_4
Fixed in 0:2.6.1-23.el9_6
Mitigation
Upgrade Red Hat Directory Server 11.5 E4S for RHEL 8 to 8060020260908152739.0ca98e7e or later.
Upgrade Red Hat Directory Server 11.7 E4S for RHEL 8 to 8080020260806114250.f969626e or later.
Upgrade Red Hat Directory Server 11.9 for RHEL 8 to 8100020260803140625.37ed7c03 or later.
Upgrade Red Hat Directory Server 12.2 E4S for RHEL 9 to 9020020260730155601.1674d574 or later.
Upgrade Red Hat Directory Server 12.4 E4S for RHEL 9 to 9040020260810131422.1674d574 or later.
Upgrade Red Hat Enterprise Linux 10 to 0:3.2.0-9.el10_2 or later.
Upgrade Red Hat Enterprise Linux 10.0 Extended Update Support to 0:3.0.6-20.el10_0 or later.
Upgrade Red Hat Enterprise Linux 7 Extended Lifecycle Support to 0:1.3.11.1-14.el7_9 or later.
Upgrade Red Hat Enterprise Linux 8 to 8100020260806150504.25e700aa or later.
Upgrade Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support to 8040020260803141511.96015a92 or later.
Upgrade Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On to 8040020260803141511.96015a92 or later.
Upgrade Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support to 8060020260806120442.824efc52 or later.
Upgrade Red Hat Enterprise Linux 8.6 Extended Update Support Long-Life Add-On to 8060020260806120442.824efc52 or later.
Upgrade Red Hat Enterprise Linux 8.8 Telecommunications Update Service to 8080020260806114228.6dbb3803 or later.
Upgrade Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions to 8080020260806114228.6dbb3803 or later.
Upgrade Red Hat Enterprise Linux 9 to 0:2.8.0-9.el9_8 or later.
Upgrade Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions to 0:2.2.4-20.el9_2 or later.
Upgrade Red Hat Enterprise Linux 9.4 Update Services for SAP Solutions to 0:2.4.5-27.el9_4 or later.
Upgrade Red Hat Enterprise Linux 9.6 Extended Update Support to 0:2.6.1-23.el9_6 or later.
Workaround
Disable anonymous access by setting nsslapd-allow-anonymous-access to 'off' or 'rootdse' in cn=config. Alternatively, restrict network access to the LDAP port to trusted replication partners only using firewall rules.
References
- Vendor advisory access.redhat.com/errata/RHSA-2026:55421
- Vendor advisory access.redhat.com/errata/RHSA-2026:55422
- Vendor advisory access.redhat.com/errata/RHSA-2026:55423
5 more
- Vendor advisory access.redhat.com/errata/RHSA-2026:55424
- Vendor advisory access.redhat.com/errata/RHSA-2026:55425
- Vendor advisory access.redhat.com/errata/RHSA-2026:55426
- Vendor advisory access.redhat.com/errata/RHSA-2026:55530
- Vendor advisory access.redhat.com/errata/RHSA-2026:55532
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.