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).
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
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | 389-ds-base | no fix listed | DEBIAN-CVE-2026-14940 |
| Debian:13 | 389-ds-base | no fix listed | DEBIAN-CVE-2026-14940 |
| Ubuntu:22.04:LTS | 389-ds-base | no fix listed | UBUNTU-CVE-2026-14940 |
| Ubuntu:24.04:LTS | 389-ds-base | no fix listed | UBUNTU-CVE-2026-14940 |
| Ubuntu:25.10 | 389-ds-base | no fix listed | UBUNTU-CVE-2026-14940 |
| Ubuntu:26.04:LTS | 389-ds-base | no fix listed | UBUNTU-CVE-2026-14940 |
| Ubuntu:26.10 | 389-ds-base | no fix listed | UBUNTU-CVE-2026-14940 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Red Hat | Red Hat Directory Server 11 | see references |
| Red Hat | Red Hat Directory Server 12 | see references |
| Red Hat | Red Hat Directory Server 13 | see references |
| Red Hat | Red Hat Enterprise Linux 10 | see references |
| Red Hat | Red Hat Enterprise Linux 6 | see references |
| Red Hat | Red Hat Enterprise Linux 7 | see references |
| Red Hat | Red Hat Enterprise Linux 8 | see references |
| Red Hat | Red Hat Enterprise Linux 9 | see references |
Weakness: CWE-122 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
References
- https://access.redhat.com/security/cve/CVE-2026-14940 vdb-entry, x_refsource_REDHAT
- RHBZ#2497697 issue-tracking, x_refsource_REDHAT