CVE-2026-15722

Summary

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 Software

VendorProductVersion RangeStatus
Red HatRed Hat Directory Server 11.7 E4S for RHEL 88080020260806114250.f969626e < *unaffected
Red HatRed Hat Directory Server 11.9 for RHEL 88100020260803140625.37ed7c03 < *unaffected
Red HatRed Hat Directory Server 12.2 E4S for RHEL 99020020260730155601.1674d574 < *unaffected
Red HatRed Hat Directory Server 12.4 E4S for RHEL 99040020260810131422.1674d574 < *unaffected
Red HatRed Hat Enterprise Linux 100:3.2.0-9.el10_2 < *unaffected
Red HatRed Hat Enterprise Linux 10.0 Extended Update Support0:3.0.6-20.el10_0 < *unaffected
Red HatRed Hat Enterprise Linux 7 Extended Lifecycle Support0:1.3.11.1-14.el7_9 < *unaffected
Red HatRed Hat Enterprise Linux 88100020260806150504.25e700aa < *unaffected
Red HatRed Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support8040020260803141511.96015a92 < *unaffected
Red HatRed Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On8040020260803141511.96015a92 < *unaffected
Red HatRed Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support8060020260806120442.824efc52 < *unaffected
Red HatRed Hat Enterprise Linux 8.6 Extended Update Support Long-Life Add-On8060020260806120442.824efc52 < *unaffected
Red HatRed Hat Enterprise Linux 8.8 Telecommunications Update Service8080020260806114228.6dbb3803 < *unaffected
Red HatRed Hat Enterprise Linux 8.8 Update Services for SAP Solutions8080020260806114228.6dbb3803 < *unaffected
Red HatRed Hat Enterprise Linux 90:2.8.0-9.el9_8 < *unaffected
Red HatRed Hat Enterprise Linux 9.2 Update Services for SAP Solutions0:2.2.4-20.el9_2 < *unaffected
Red HatRed Hat Enterprise Linux 9.4 Update Services for SAP Solutions0:2.4.5-27.el9_4 < *unaffected
Red HatRed Hat Enterprise Linux 9.6 Extended Update Support0:2.6.1-23.el9_6 < *unaffected

Weaknesses

  • CWE-121: Stack-based Buffer Overflow

Workarounds

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.

ADP Enrichment

CISA ADP Vulnrichment

  • SSVC:
  • Exploitation: none
    • Automatable: yes
    • Technical Impact: partial

References