cve.bz

CVE-2026-14940 redhat: Heap-based Buffer Overflow

5.3 mediumEPSS 0.5%

Medium (5.3) in redhat. EPSS 0.5% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

5.3 medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
EPSS
0.5% (unchanged from 0.5% a week ago; 0.5% 30 days ago) estimated probability of exploitation activity in the next 30 days; 43rd percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: partial, assessed 2026-07-07. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-122 Heap-based Buffer Overflow
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-14940 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-14940?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-14940?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-14940 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
redhat:directory_server11.0
redhat:directory_server12.0
redhat:directory_server13.0
redhat:enterprise_linux7.0
redhat:enterprise_linux8.0
redhat:enterprise_linux9.0
redhat:enterprise_linux10.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13389-ds-baseno fix listedDEBIAN-CVE-2026-14940
Ubuntu22.04:LTS, 24.04:LTS, 25.10 and 5 more389-ds-baseno fix listedUBUNTU-CVE-2026-14940
Azure Linux3389-ds-baseno fix listedAZL-92189

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

Red Hat rates this issue as Moderate impact. In 389-ds-base, DN normalization of a

crafted legacy-quoted multivalued RDN can corrupt heap memory during internal

attribute-value sorting. Any unauthenticated client that can reach the LDAP service

and supply a malformed DN in an operation such as search, bind, add, or modify can

trigger the bug.

In standard production builds, the server often rejects the malformed DN with

"Invalid DN syntax" and continues operating; the heap corruption may be silent rather

than immediately terminating ns-slapd. Denial of service is more reliably observed

when heap debugging is enabled (for example AddressSanitizer or MALLOC_CHECK_=3),

or depending on heap layout and subsequent memory allocator activity. For this

reason Red Hat rates availability impact as Low (A:L) rather than High.

There is no configuration switch to disable DN normalization for client-supplied DNs.

The vulnerable code path is present in all currently supported 389-ds-base versions

that ship the quoted-RDN parsing logic in dn.c.

Red Hat's mitigation

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.

ProductPackageStateAdvisory
Red Hat Directory Server 11redhat-ds:11/389-ds-baseFix deferred
Red Hat Directory Server 12redhat-ds:12/389-ds-baseFix deferred
Red Hat Directory Server 13389-ds-baseFix deferred
Red Hat Enterprise Linux 10389-ds-baseFix deferred
Red Hat Enterprise Linux 6389-ds-baseOut of support scope
Red Hat Enterprise Linux 7389-ds-baseFix deferred
Red Hat Enterprise Linux 8389-ds:1.4/389-ds-baseFix deferred
Red Hat Enterprise Linux 9389-ds-baseFix deferred

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-14940.

Attack patterns (CAPEC)

  • CAPEC-92 Forced Integer Overflow Likelihood: High · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON