CVE-2026-15722: Stack-based Buffer Overflow in Red Hat Red Hat Directory Server 11.7 E4S 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 is a stack buffer overflow in the 389 Directory Server (389-ds-base) component, specifically in the get_ruvelement_from_berval() function within repl5_ruv.c. This function copies digit characters from a network-supplied RUV berval into a fixed 16-byte stack buffer without bounds checking, allowing a remote unauthenticated attacker to crash the LDAP server by sending a crafted StartNSDS50ReplicationRequest extended operation with a replica ID field containing more than 16 digit characters. The overflow occurs during payload decoding before any authorization checks, so no credentials are required on default configurations with anonymous access enabled. Stack protectors and ASLR prevent code execution, limiting the impact to denial of service. Mitigations include disabling anonymous access (setting nsslapd-allow-anonymous-access to 'off' or 'rootdse') or restricting network access to trusted replication partners. Red Hat has released a security update (389-ds-base-2.2.4-20.el9_2) for Red Hat Enterprise Linux 9.2 and related products that addresses this vulnerability.
Potential Impact
The vulnerability allows a remote unauthenticated attacker to cause a denial of service by crashing the 389 Directory Server LDAP service. There is no impact on confidentiality or integrity as exploitation is limited to denial of service due to stack protection mechanisms (stack canaries) and ASLR preventing code execution. Systems with default configurations allowing anonymous access to the LDAP service are exposed. Systems that restrict network access to trusted replication partners or disable anonymous access are not exposed to unauthenticated exploitation.
Mitigation Recommendations
A security update fixing this vulnerability is available from Red Hat and should be applied promptly. Alternatively, administrators can mitigate the risk by disabling anonymous access to the LDAP server by setting nsslapd-allow-anonymous-access to 'off' or 'rootdse' in the server configuration. Another mitigation is to restrict network access to the LDAP port to trusted replication partners only using firewall rules. These mitigations reduce exposure to unauthenticated denial of service attacks without requiring immediate patching.
CVE-2026-15722: Stack-based Buffer Overflow in Red Hat Red Hat Directory Server 11.7 E4S 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
Affected software
Red Hat
Red Hat Directory Server 11.7 E4S for RHEL 8
Red Hat
Red Hat Directory Server 11.9 for RHEL 8
Red Hat
Red Hat Directory Server 12.2 E4S for RHEL 9
Red Hat
Red Hat Directory Server 12.4 E4S for RHEL 9
Red Hat
Red Hat Enterprise Linux 10
Red Hat
Red Hat Enterprise Linux 10.0 Extended Update Support
Red Hat
Red Hat Enterprise Linux 7 Extended Lifecycle Support
Red Hat
Red Hat Enterprise Linux 8
Red Hat
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support
Red Hat
Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On
Red Hat
Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support
Red Hat
Red Hat Enterprise Linux 8.6 Extended Update Support Long-Life Add-On
Red Hat
Red Hat Enterprise Linux 8.8 Telecommunications Update Service
Red Hat
Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions
Red Hat
Red Hat Enterprise Linux 9
Red Hat
Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions
Red Hat
Red Hat Enterprise Linux 9.4 Update Services for SAP Solutions
Red Hat
Red Hat Enterprise Linux 9.6 Extended Update Support
Red Hat
Red Hat Directory Server 12
Red Hat
Red Hat Directory Server 13
Red Hat
Red Hat Enterprise Linux 6
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability is a stack buffer overflow in the 389 Directory Server (389-ds-base) component, specifically in the get_ruvelement_from_berval() function within repl5_ruv.c. This function copies digit characters from a network-supplied RUV berval into a fixed 16-byte stack buffer without bounds checking, allowing a remote unauthenticated attacker to crash the LDAP server by sending a crafted StartNSDS50ReplicationRequest extended operation with a replica ID field containing more than 16 digit characters. The overflow occurs during payload decoding before any authorization checks, so no credentials are required on default configurations with anonymous access enabled. Stack protectors and ASLR prevent code execution, limiting the impact to denial of service. Mitigations include disabling anonymous access (setting nsslapd-allow-anonymous-access to 'off' or 'rootdse') or restricting network access to trusted replication partners. Red Hat has released a security update (389-ds-base-2.2.4-20.el9_2) for Red Hat Enterprise Linux 9.2 and related products that addresses this vulnerability.
Potential Impact
The vulnerability allows a remote unauthenticated attacker to cause a denial of service by crashing the 389 Directory Server LDAP service. There is no impact on confidentiality or integrity as exploitation is limited to denial of service due to stack protection mechanisms (stack canaries) and ASLR preventing code execution. Systems with default configurations allowing anonymous access to the LDAP service are exposed. Systems that restrict network access to trusted replication partners or disable anonymous access are not exposed to unauthenticated exploitation.
Mitigation Recommendations
A security update fixing this vulnerability is available from Red Hat and should be applied promptly. Alternatively, administrators can mitigate the risk by disabling anonymous access to the LDAP server by setting nsslapd-allow-anonymous-access to 'off' or 'rootdse' in the server configuration. Another mitigation is to restrict network access to the LDAP port to trusted replication partners only using firewall rules. These mitigations reduce exposure to unauthenticated denial of service attacks without requiring immediate patching.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- redhat
- Date Reserved
- 2026-07-14T12:55:19.649Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Vendor Advisory Urls
- [{"url":"https://access.redhat.com/security/cve/CVE-2026-15722","vendor":"Red Hat"}]
Threat ID: 6a6c6cef9c2644c7f89ec050
Added to database: 07/31/2026, 09:37:51 UTC
Last enriched: 08/17/2026, 13:26:10 UTC
Last updated: 09/14/2026, 22:01:32 UTC
Views: 75
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.