CVEfocus › CVE database › CVE-2026-14940

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

CVSS 5.3 MediumEPSS 0.5% (higher than 35% of CVEs)Published 2026-07-07Updated 2026-11-24Assigner: redhat

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.

CWE-122

What to do

Debian, Red Hat, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

28Fix pending
3Under investigation
4Will not fix

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10389-ds-baseFix pendingUBUNTU-CVE-2026-14940
Ubuntu 26.04389-ds-baseUnder investigationUBUNTU-CVE-2026-14940
Ubuntu 25.10389-ds-baseWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2026-14940
Ubuntu 24.04389-ds-baseUnder investigationUBUNTU-CVE-2026-14940
Ubuntu 22.04389-ds-baseUnder investigationUBUNTU-CVE-2026-14940
Ubuntu 20.04389-ds-baseFix pendingUBUNTU-CVE-2026-14940
Ubuntu 18.04389-ds-baseFix pendingUBUNTU-CVE-2026-14940
Ubuntu 16.04389-ds-baseFix pendingUBUNTU-CVE-2026-14940
Debian 13389-ds-baseFix pendingDEBIAN-CVE-2026-14940
Debian 12389-ds-baseFix pendingDEBIAN-CVE-2026-14940
Red Hat Enterprise Linux 10389-ds-baseFix pending
Fix deferred
Red Hat Enterprise Linux 10389-ds-base-bdbFix pending
Fix deferred
Red Hat Enterprise Linux 10389-ds-base-develFix pending
Fix deferred
Red Hat Enterprise Linux 10389-ds-base-libsFix pending
Fix deferred
Red Hat Enterprise Linux 10389-ds-base-snmpFix pending
Fix deferred
Red Hat Enterprise Linux 10python3-lib389Fix pending
Fix deferred
Red Hat Enterprise Linux 9389-ds-baseFix pending
Fix deferred
Red Hat Enterprise Linux 9389-ds-base-develFix pending
Fix deferred
Red Hat Enterprise Linux 9389-ds-base-libsFix pending
Fix deferred
Red Hat Enterprise Linux 9389-ds-base-snmpFix pending
Fix deferred
Red Hat Enterprise Linux 9python3-lib389Fix pending
Fix deferred
Red Hat Enterprise Linux 8389-ds-baseFix pending
Fix deferred
Red Hat Enterprise Linux 8389-ds-base-develFix pending
Fix deferred
Red Hat Enterprise Linux 8389-ds-base-legacy-toolsFix pending
Fix deferred
Red Hat Enterprise Linux 8389-ds-base-libsFix pending
Fix deferred
Red Hat Enterprise Linux 8389-ds-base-snmpFix pending
Fix deferred
Red Hat Enterprise Linux 8cockpit-389-dsFix pending
Fix deferred
Red Hat Enterprise Linux 8python3-lib389Fix pending
Fix deferred
Red Hat Enterprise Linux 7389-ds-baseFix pending
Fix deferred
Red Hat Enterprise Linux 7389-ds-base-develFix pending
Fix deferred
Red Hat Enterprise Linux 7389-ds-base-libsFix pending
Fix deferred
Red Hat Enterprise Linux 7389-ds-base-snmpFix pending
Fix deferred
Red Hat Enterprise Linux 6389-ds-baseWill not fix
Out of support scope
Red Hat Enterprise Linux 6389-ds-base-develWill not fix
Out of support scope
Red Hat Enterprise Linux 6389-ds-base-libsWill not fix
Out of support scope

What the vendor says

As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Workaround: Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.