7.5High

CVE-2026-15722389-ds-base: 389-ds-base: pre-authentication stack buffer overflow in get_ruvelement_from_berval() via unbounded replica id parsing

Red Hat Red Hat Directory Server 11.5 E4S for RHEL 8; Red Hat Red Hat Directory Server 11.7 E4S for RHEL 8; Red Hat Red Hat Directory Server 11.9 for RHEL 8; R… Published: (3 months ago)

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.

Weakness (CWE): CWE-121

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
directory server 11.9 —
directory server e4s 11.5 —
directory server e4s 11.7 —
directory server e4s 12.2 —
directory server e4s 12.4 —
enterprise linux 8 —
enterprise linux 9 —
redhat 389 directory server —
redhat directory server 11.0
redhat enterprise linux 7.0
Red Hat Red Hat Directory Server 11.5 E4S for RHEL 8 all versions
Red Hat Red Hat Directory Server 11.7 E4S for RHEL 8 all versions
Red Hat Red Hat Directory Server 11.9 for RHEL 8 all versions
Red Hat Red Hat Directory Server 12 all versions
Red Hat Red Hat Directory Server 12.2 E4S for RHEL 9 all versions
Red Hat Red Hat Directory Server 12.4 E4S for RHEL 9 all versions
Red Hat Red Hat Directory Server 13 —
Red Hat Red Hat Enterprise Linux 10 all versions
Red Hat Red Hat Enterprise Linux 10.0 Extended Update Support all versions
Red Hat Red Hat Enterprise Linux 6 —
Red Hat Red Hat Enterprise Linux 7 Extended Lifecycle Support all versions
Red Hat Red Hat Enterprise Linux 8 all versions
Red Hat Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support all versions
Red Hat Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On all versions
Red Hat Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support all versions
Red Hat Red Hat Enterprise Linux 8.6 Extended Update Support Long-Life Add-On all versions
Red Hat Red Hat Enterprise Linux 8.8 Telecommunications Update Service all versions
Red Hat Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions all versions
Red Hat Red Hat Enterprise Linux 9 all versions
Red Hat Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions all versions
Red Hat Red Hat Enterprise Linux 9.4 Update Services for SAP Solutions all versions
Red Hat Red Hat Enterprise Linux 9.6 Extended Update Support all versions
rhel aus 8.4 —
rhel aus 8.6 —
rhel e4s 8.8 —
rhel e4s 9.2 —
rhel e4s 9.4 —
rhel eus 9.6 —
rhel eus long life 8.4 —
rhel eus long life 8.6 —
rhel tus 8.8 —

References and patches

CPE matches (NVD) (7)

  • cpe:2.3:a:redhat:directory_server:11.0:*:*:*:*:*:*:*
  • cpe:2.3:a:redhat:directory_server:12.0:*:*:*:*:*:*:*
  • cpe:2.3:o:redhat:389_directory_server:-:*:*:*:*:*:*:*
  • cpe:2.3:o:redhat:enterprise_linux:7.0:*:*:*:*:*:*:*
  • cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:*
  • cpe:2.3:o:redhat:enterprise_linux:9.0:*:*:*:*:*:*:*
  • cpe:2.3:o:redhat:enterprise_linux:10.0:*:*:*:*:*:*:*