389 DS LDAP: Stack Buffer Overflow in get_ruvelement_from_berval
CVE-2026-15722 Published on July 31, 2026
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.
Vulnerability Analysis
CVE-2026-15722 is exploitable with network access, and does not require authorization privileges or user interaction. This vulnerability is considered to have a low attack complexity. The potential impact of an exploit of this vulnerability is considered to have no impact on confidentiality and integrity, and a high impact on availability.
Timeline
Reported to Red Hat.
Made public. 121 days later.
Weakness Type
What is a Stack Overflow Vulnerability?
A stack-based buffer overflow condition is a condition where the buffer being overwritten is allocated on the stack (i.e., is a local variable or, rarely, a parameter to a function).
CVE-2026-15722 has been classified to as a Stack Overflow vulnerability or weakness.
Products Associated with CVE-2026-15722
Want to know whenever a new CVE is published for Red Hat products? stack.watch will email you.
Affected Versions
Red Hat Enterprise Linux 10.0 Extended Update Support:- Version 0:3.0.6-20.el10_0 and below * is unaffected.
- Version 0:2.2.4-20.el9_2 and below * is unaffected.
- Version 0:2.4.5-27.el9_4 and below * is unaffected.
- Version 0:2.6.1-23.el9_6 and below * is unaffected.