Vulnerability · Published Jul 7, 2026 · Assigned by redhat

CVE-2026-14940389-ds-base: 389-ds-base: heap-buffer-overflow in dn normalization via quoted multivalued rdn

Medium 5.3

In plain English

A medium-severity heap buffer overflow in Red Hat Directory Server 11 from Red Hat. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 42% of all known vulnerabilities).

Severity (CVSS 3.1)5.3Medium
Exploit odds (30 days)0.5%top 57.9% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

A heap-buffer-overflow flaw was found in 389 Directory Server (389-ds-base). When normalizing a Distinguished Name (DN) that contains a legacy-quoted value encoding a multivalued nested Relative Distinguished Name (RDN), the server can write past the end of a heap allocation while sorting RDN attribute-value pairs. An unauthenticated remote attacker can trigger this condition by sending an LDAP operation whose DN reaches the DN normalization routine, such as a search with a crafted base DN. This can corrupt heap memory and may cause denial of service.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12389-ds-baseno fix listedDEBIAN-CVE-2026-14940
Debian:13389-ds-baseno fix listedDEBIAN-CVE-2026-14940
Ubuntu:22.04:LTS389-ds-baseno fix listedUBUNTU-CVE-2026-14940
Ubuntu:24.04:LTS389-ds-baseno fix listedUBUNTU-CVE-2026-14940
Ubuntu:25.10389-ds-baseno fix listedUBUNTU-CVE-2026-14940
Ubuntu:26.04:LTS389-ds-baseno fix listedUBUNTU-CVE-2026-14940
Ubuntu:26.10389-ds-baseno fix listedUBUNTU-CVE-2026-14940

Affected products (as reported)

Weakness: CWE-122 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

References