CVE-2026-15722: Stack-based Buffer Overflow in Red Hat Red Hat Directory Server 11.9 for RHEL 8
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.
AI Analysis
Technical Summary
The vulnerability CVE-2026-15722 affects the 389 Directory Server component of Red Hat Directory Server 11.9 for RHEL 8. It is a stack buffer overflow in the get_ruvelement_from_berval() function within repl5_ruv.c, where digit characters from a network-supplied RUV berval are copied into a fixed 16-byte stack buffer without bounds checking. This occurs during decoding of the StartNSDS50ReplicationRequest extended LDAP operation, before any authorization checks, allowing a remote unauthenticated attacker to crash the LDAP server by sending a replica ID field with more than 16 digit characters. Stack canaries and ASLR prevent code execution, limiting impact to denial of service. Mitigations include disabling anonymous LDAP access or restricting network access to trusted replication partners. Red Hat has released a security update (389-ds-base-2.2.4-20.el9_2) that fixes this issue.
Potential Impact
The vulnerability allows a remote unauthenticated attacker to cause a denial of service by crashing the LDAP server process. There is no impact on confidentiality or integrity as exploitation is limited to denial of service due to stack protector and ASLR mitigations. The overflow occurs before authorization checks, so no credentials are required on default configurations with anonymous access enabled. Systems that restrict LDAP port access or disable anonymous access are not exposed to unauthenticated exploitation.
Mitigation Recommendations
Red Hat has released an official security update that fixes this vulnerability; applying the update to 389-ds-base packages is the recommended remediation. Alternatively, administrators can mitigate risk by disabling anonymous LDAP access via setting nsslapd-allow-anonymous-access to 'off' or 'rootdse' in cn=config, or by restricting network access to the LDAP port to trusted replication partners using firewall rules. These mitigations reduce exposure until the patch is applied.
CVE-2026-15722: Stack-based Buffer Overflow in Red Hat Red Hat Directory Server 11.9 for RHEL 8
Description
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.
CVSS v3.1
Score 7.5high
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability CVE-2026-15722 affects the 389 Directory Server component of Red Hat Directory Server 11.9 for RHEL 8. It is a stack buffer overflow in the get_ruvelement_from_berval() function within repl5_ruv.c, where digit characters from a network-supplied RUV berval are copied into a fixed 16-byte stack buffer without bounds checking. This occurs during decoding of the StartNSDS50ReplicationRequest extended LDAP operation, before any authorization checks, allowing a remote unauthenticated attacker to crash the LDAP server by sending a replica ID field with more than 16 digit characters. Stack canaries and ASLR prevent code execution, limiting impact to denial of service. Mitigations include disabling anonymous LDAP access or restricting network access to trusted replication partners. Red Hat has released a security update (389-ds-base-2.2.4-20.el9_2) that fixes this issue.
Potential Impact
The vulnerability allows a remote unauthenticated attacker to cause a denial of service by crashing the LDAP server process. There is no impact on confidentiality or integrity as exploitation is limited to denial of service due to stack protector and ASLR mitigations. The overflow occurs before authorization checks, so no credentials are required on default configurations with anonymous access enabled. Systems that restrict LDAP port access or disable anonymous access are not exposed to unauthenticated exploitation.
Mitigation Recommendations
Red Hat has released an official security update that fixes this vulnerability; applying the update to 389-ds-base packages is the recommended remediation. Alternatively, administrators can mitigate risk by disabling anonymous LDAP access via setting nsslapd-allow-anonymous-access to 'off' or 'rootdse' in cn=config, or by restricting network access to the LDAP port to trusted replication partners using firewall rules. These mitigations reduce exposure until the patch is applied.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-5gg4-m865-6qwr
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-15722"]
- Database Specific Severity
- HIGH
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 6a6cf806bf32cb7a342b6c92
Added to database: 07/31/2026, 19:31:18 UTC
Last enriched: 08/17/2026, 18:12:33 UTC
Last updated: 09/12/2026, 10:01:29 UTC
Views: 131
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.