REDHAT-BUG-2499961: High severity 389 Project 389 Directory Server (389-ds-base) vulnerability
A flaw was found in 389 Directory Server (389-ds-base). The getruvelementfromberval() function in ldap/servers/plugins/replication/repl5ruv.c copies digit characters from a network-supplied RUV berval into a fixed 16-byte stack buffer (ridbuff[RIDSTRSIZE]) without bounds checking the loop counter. A remote unauthenticated attacker can crash the ns-slapd process by sending a crafted StartNSDS50ReplicationRequest LDAP extended operation (OID 2.16.840.1.113730.3.5.12) containing more than 16 consecutive digit characters in the replica ID field. The overflow occurs during payload decoding in decodestartreplextop(), before the replicaisupdatedn() authorization check runs, making it exploitable without credentials on default configurations where anonymous access is enabled. On production builds with stack protectors, the impact is limited to denial of service (process abort). The vulnerable code path is: decodestartreplextop() -> decoderuv() -> ruvinitfrombervals() -> getruvelementfromberval().
Affected Software
Event History
Frequently Asked Questions
What is the severity of REDHAT-BUG-2499961?
The severity of REDHAT-BUG-2499961 is classified as high with a score of 7.
What flaw is associated with REDHAT-BUG-2499961?
REDHAT-BUG-2499961 involves a buffer overflow in the get_ruvelement_from_berval() function of the 389 Directory Server.
How can I mitigate the risk of REDHAT-BUG-2499961?
To mitigate the risk of REDHAT-BUG-2499961, update to the latest patched version of 389 Directory Server.
What is affected by REDHAT-BUG-2499961?
REDHAT-BUG-2499961 affects the 389 Directory Server (389-ds-base) software.
When was REDHAT-BUG-2499961 published?
REDHAT-BUG-2499961 was published on July 14, 2026.