Bug 2499961 (CVE-2026-15722)

Summary: CVE-2026-15722 389-ds-base: 389-ds-base: pre-authentication stack buffer overflow in get_ruvelement_from_berval() via unbounded replica ID parsing
Product: [Other] Security Response Reporter: OSIDB Bzimport <bzimport>
Component: vulnerabilityAssignee: Product Security <prodsec-ir-bot>
Status: NEW --- QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: unspecifiedCC: bsmejkal, jachapma, mreynolds, progier, rhel-process-autobot, security-response-team, snegrini, spichugi, tbordaz, vashirov, watson-tool-maintainers
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
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.
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2509730    
Bug Blocks:    
Deadline: 2026-07-31   

Description OSIDB Bzimport 2026-07-14 12:56:37 UTC
A flaw was found in 389 Directory Server (389-ds-base). The get_ruvelement_from_berval() function in ldap/servers/plugins/replication/repl5_ruv.c copies digit characters from a network-supplied RUV berval into a fixed 16-byte stack buffer (ridbuff[RIDSTR_SIZE]) 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 decode_startrepl_extop(), before the replica_is_updatedn() 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: decode_startrepl_extop() -> decode_ruv() -> ruv_init_from_bervals() -> get_ruvelement_from_berval().

Comment 5 errata-xmlrpc 2026-08-17 01:20:45 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions

Via RHSA-2026:55421 https://access.redhat.com/errata/RHSA-2026:55421

Comment 6 errata-xmlrpc 2026-08-17 01:23:05 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 10.0 Extended Update Support

Via RHSA-2026:55425 https://access.redhat.com/errata/RHSA-2026:55425

Comment 7 errata-xmlrpc 2026-08-17 01:33:33 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9.4 Update Services for SAP Solutions

Via RHSA-2026:55422 https://access.redhat.com/errata/RHSA-2026:55422

Comment 8 errata-xmlrpc 2026-08-17 01:37:49 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9.6 Extended Update Support

Via RHSA-2026:55426 https://access.redhat.com/errata/RHSA-2026:55426

Comment 9 errata-xmlrpc 2026-08-17 02:05:45 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 10

Via RHSA-2026:55424 https://access.redhat.com/errata/RHSA-2026:55424

Comment 10 errata-xmlrpc 2026-08-17 02:23:46 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

Via RHSA-2026:55423 https://access.redhat.com/errata/RHSA-2026:55423

Comment 11 errata-xmlrpc 2026-08-17 08:51:51 UTC
This issue has been addressed in the following products:

  Red Hat Directory Server 11.9 for RHEL 8

Via RHSA-2026:55532 https://access.redhat.com/errata/RHSA-2026:55532

Comment 12 errata-xmlrpc 2026-08-17 09:16:16 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2026:55530 https://access.redhat.com/errata/RHSA-2026:55530

Comment 14 errata-xmlrpc 2026-08-17 15:39:26 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support
  Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On

Via RHSA-2026:55757 https://access.redhat.com/errata/RHSA-2026:55757

Comment 15 errata-xmlrpc 2026-08-17 15:44:47 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support
  Red Hat Enterprise Linux 8.6 Extended Update Support Long-Life Add-On

Via RHSA-2026:55756 https://access.redhat.com/errata/RHSA-2026:55756

Comment 16 errata-xmlrpc 2026-08-17 15:54:14 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7 Extended Lifecycle Support

Via RHSA-2026:55758 https://access.redhat.com/errata/RHSA-2026:55758

Comment 17 errata-xmlrpc 2026-08-17 17:16:57 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions
  Red Hat Enterprise Linux 8.8 Telecommunications Update Service

Via RHSA-2026:55794 https://access.redhat.com/errata/RHSA-2026:55794

Comment 18 errata-xmlrpc 2026-08-18 09:40:23 UTC
This issue has been addressed in the following products:

  Red Hat Directory Server 11.7 E4S for RHEL 8

Via RHSA-2026:56047 https://access.redhat.com/errata/RHSA-2026:56047

Comment 19 errata-xmlrpc 2026-08-18 09:40:28 UTC
This issue has been addressed in the following products:

  Red Hat Directory Server 12.2 E4S for RHEL 9

Via RHSA-2026:56048 https://access.redhat.com/errata/RHSA-2026:56048

Comment 20 errata-xmlrpc 2026-08-18 09:41:00 UTC
This issue has been addressed in the following products:

  Red Hat Directory Server 12.4 E4S for RHEL 9

Via RHSA-2026:56050 https://access.redhat.com/errata/RHSA-2026:56050

Comment 24 Jon Orris 2026-10-08 13:45:29 UTC
This issue has been addressed in the following products:

  Red Hat Directory Server 11.5 E4S for RHEL 8

Via RHSA-2026:79217 https://access.redhat.com/errata/RHSA-2026:79217