Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessConnect to LDAP port 389 or 636
-
DeliverySubmit LDAP request with legacy-quoted DN value
-
ExploitTrigger heap allocation without proper closure in DN parser
-
ExecutionSubsequent call dereferences stale heap pointer
-
ImpactCrash server process (DoS) or write to arbitrary memory location
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V8 - Authorization Insufficient granularity of access control
|
| Exploitation Conditions | The target must be running a vulnerable version of 389-ds-base or Red Hat Directory Server with LDAP port 389 or 636 reachable by the attacker. The triggering condition is submission of an LDAP request containing a DN with a legacy-quoted value - this parsing path is active by default in affected versions with no non-default configuration flag required. No authentication is required per the CVSS PR:N metric, meaning anonymous LDAP access (if enabled) or pre-authentication request handling is sufficient. The primary factor limiting exploitation is network segmentation: if LDAP ports are firewalled to trusted hosts only, unauthenticated remote exploitation is prevented at the network layer. There is no indication in the available data that a specific Directory Server feature must be explicitly enabled beyond the default LDAP service configuration. |
| Impact | The NVD CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L, score 5.3 Medium) captures the unauthenticated network-accessible nature of the flaw but conservatively records I:N. The description explicitly names arbitrary memory write as a possible outcome alongside DoS, suggesting the integrity metric may be underweighted - a heap write primitive, even a coarse one, can serve as a stepping stone to code execution under favorable heap layout conditions. No EPSS score is available in the provided data, limiting probabilistic exploitation forecasting. This vulnerability is absent from CISA KEV and no public PoC has been identified, which meaningfully reduces near-term exploitation likelihood. Real-world risk is most acute for organizations exposing LDAP on untrusted network segments or permitting anonymous binds, as PR:N means no credential barrier exists. Enterprises that firewall LDAP to trusted hosts and require authenticated binds substantially reduce exposure. Overall, this is a genuine patching priority for internet-facing or anonymously accessible Directory Server instances, but not an emergency for well-segmented internal deployments. |
| Exploit ScenarioDerived | An unauthenticated attacker with network access to the target's LDAP port (389 or 636) constructs an LDAP request containing a DN with a legacy-quoted attribute value and submits it to the Directory Server. The malformed DN triggers the heap allocation failure, and depending on runtime heap layout, the server process crashes (denial of service disrupting LDAP-dependent authentication and directory lookups) or the attacker achieves a write to an attacker-influenced memory region. No public PoC has been identified, but the low-complexity, no-authentication attack path means any network-adjacent host can attempt the trigger without tooling beyond a standard LDAP client. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 22, 2026
Heap buffer overflow in Red Hat Directory Server (389-ds-base) exposes LDAP services to remote unauthenticated denial of service or potential arbitrary memory write via malformed DN input. When a Distinguished Name containing a legacy-quoted value is processed, the server fails to close the associated heap allocation, permitting a subsequent operation to reference the same memory pointer - a classic heap confusion primitive. No public exploit has been identified at time of analysis, and this vulnerability is not listed in CISA KEV, though the network-accessible unauthenticated attack surface warrants prompt patching for any externally reachable Directory Server deployment.
RemediationAI
Apply the vendor-supplied updated RPM for 389-ds-base as documented in the Red Hat security advisory at https://access.redhat.com/security/cve/CVE-2026-16560. Exact fixed package versions are not confirmed from the data available at time of analysis - the Bugzilla entry at https://bugzilla.redhat.com/show_bug.cgi?id=2506102 and the advisory errata should be checked for the specific NVR (name-version-release) to target. As a compensating control while patching is arranged, restrict network access to LDAP ports 389 and 636 via host-based firewall (firewalld/iptables) or perimeter controls, permitting only known trusted LDAP clients - this eliminates unauthenticated remote exploitation since the vulnerability is exposed over the LDAP protocol. Trade-off: any application, authentication service, or client relying on LDAP queries from outside the allowlisted range will lose access. Additionally, disabling anonymous LDAP binds (if operationally viable) adds an authentication barrier, though the CVSS PR:N metric indicates authentication may not be a prerequisite for the triggering path. Legacy-quoted DN syntax processing may be configurable in some 389-ds-base versions; consult the upstream documentation to determine if it can be disabled, keeping in mind this may break legacy LDAP clients.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
389-ds-base is the upstream FOSS project underlying Red Hat Directory Server (RHDS) and the LDAP directory service bundled across Red Hat Enterprise Linux 6 through 10. The vulnerability resides in the DN (Distinguished Name) parsing subsystem, specifically in handling of legacy-quoted attribute values - a notation style carried forward from older LDAPv2/X.500 syntax still accepted by the server for backward compatibility. The parser allocates heap memory for the quoted DN component but fails to properly deallocate it before returning, leaving the pointer live. A subsequent call can then obtain or dereference the same heap region, producing a double-use heap condition. The assigned CWE is CWE-1220 (Insufficient Granularity of Access Control), which does not map cleanly to the described heap mismanagement behavior; the root cause more accurately resembles CWE-122 (Heap-based Buffer Overflow) or a use-after-free pattern. This discrepancy should be noted when correlating with scanner output. The vulnerability is reachable over standard LDAP ports (389 plaintext, 636 TLS), making it network-accessible to any client permitted to submit LDAP requests.
Know when Red Hat Enterprise Linux 10 gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
AV:N and PR:N per LDAP exposure; I:L added because description explicitly cites arbitrary memory write as a possible outcome alongside DoS.
Primary rating from Vendor (redhat).
CVSS VectorVendor: redhat
DescriptionCVE.org
A heap-buffer-overflow flaw was found in Directory Server (389-ds-base). When a DN contains a legacy-quoted value, the server won't close the heap allocation allowing another call to refer to the same memory pointer causing a denial of service or an arbitrary memory write operation.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
Affected Products (CPE)CVE.org
More in Red Hat Enterprise Linux 10
View allHeap corruption via double-free in 389-ds-base's LDAP control parsing allows an unauthenticated remote attacker to crash
Remote code execution in Cockpit's web interface allows unauthenticated attackers to execute arbitrary commands on the h
Remote code execution in Samba's printing subsystem allows remote attackers to inject arbitrary shell commands via craft
Ghostscript can execute arbitrary shell commands with the privileges of its process when it renders a crafted PostScript
Use-after-free in librsvg during rendering of crafted SVG documents with nested XInclude directives and duplicate entity
A signed integer overflow vulnerability exists in the libtiff library's putcontig8bitYCbCr44tile function that leads to
The system CA trust store shipped in Red Hat's ca-certificates RPM packages includes eMudhra root authorities that signe
Authentication bypass in 389 Directory Server (shipped as Red Hat Directory Server 11-13 and within RHEL 6-10) lets remo
Remote code execution and privilege escalation in HPLIP (HP Linux Imaging and Printing) affects the hpcups print filter
Unauthenticated privilege escalation in FreeIPA (Red Hat Identity Management) allows a remote attacker to gain genuine a
A heap buffer overflow exists in libsoup's WebSocket permessage-deflate compression path: when a very large outbound mes
Remote code execution in libarchive on 32-bit systems allows unauthenticated attackers to execute arbitrary code via spe
Same technique Denial Of Service
View allVendor StatusVendor
SUSE
Severity: Moderate| Product | Status |
|---|---|
| SUSE Linux Enterprise High Performance Computing 15 SP7 | Affected |
| SUSE Linux Enterprise Module for Server Applications 15 SP7 | Affected |
| SUSE Linux Enterprise Server 15 SP7 | Affected |
| SUSE Linux Enterprise Server 16.1 | Affected |
| SUSE Linux Enterprise Server for SAP Applications 15 SP7 | Affected |
| SUSE Linux Enterprise Server for SAP applications 16.1 | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP4 | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP5 | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP5-LTSS | Affected |
| SUSE Linux Enterprise Module for Server Applications 15 SP4 | Affected |
| SUSE Linux Enterprise Module for Server Applications 15 SP5 | Affected |
| SUSE Linux Enterprise Module for Server Applications 15 SP6 | Affected |
| SUSE Linux Enterprise Server 15 SP4 | Affected |
| SUSE Linux Enterprise Server 15 SP4-LTSS | Affected |
| SUSE Linux Enterprise Server 15 SP5 | Affected |
| SUSE Linux Enterprise Server 15 SP5-LTSS | Affected |
| SUSE Linux Enterprise Server 15 SP6 | Affected |
| SUSE Linux Enterprise Server 15 SP6-LTSS | Affected |
| SUSE Linux Enterprise Server for SAP Applications 15 SP6 | Affected |
| SUSE Manager Proxy 4.3 | Affected |
| SUSE Manager Proxy LTS 4.3 | Affected |
| SUSE Manager Retail Branch Server 4.3 | Affected |
| SUSE Manager Retail Branch Server LTS 4.3 | Affected |
| SUSE Manager Server 4.3 | Affected |
| SUSE Manager Server LTS 4.3 | Affected |
| SUSE CaaS Platform 4.0 | Affected |
| SUSE Enterprise Storage 6 | Affected |
| SUSE Enterprise Storage 7 | Affected |
| SUSE Enterprise Storage 7.1 | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP1 | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP1-ESPOS | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP1-LTSS | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP2 | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP2-ESPOS | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP2-LTSS | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP3 | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP3-ESPOS | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP3-LTSS | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP5-ESPOS | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP6 | Affected |
| SUSE Linux Enterprise Module for Server Applications 15 SP1 | Affected |
| SUSE Linux Enterprise Module for Server Applications 15 SP2 | Affected |
| SUSE Linux Enterprise Module for Server Applications 15 SP3 | Affected |
| SUSE Linux Enterprise Real Time 15 SP2 | Affected |
| SUSE Linux Enterprise Real Time 15 SP3 | Affected |
| SUSE Linux Enterprise Real Time 15 SP4 | Affected |
| SUSE Linux Enterprise Server 15 SP1 | Affected |
| SUSE Linux Enterprise Server 15 SP1-BCL | Affected |
| SUSE Linux Enterprise Server 15 SP1-LTSS | Affected |
| SUSE Linux Enterprise Server 15 SP2 | Affected |
| SUSE Linux Enterprise Server 15 SP2-BCL | Affected |
| SUSE Linux Enterprise Server 15 SP2-LTSS | Affected |
| SUSE Linux Enterprise Server 15 SP3 | Affected |
| SUSE Linux Enterprise Server 15 SP3-BCL | Affected |
| SUSE Linux Enterprise Server 15 SP3-LTSS | Affected |
| SUSE Linux Enterprise Server for SAP Applications 15 SP1 | Affected |
| SUSE Linux Enterprise Server for SAP Applications 15 SP2 | Affected |
| SUSE Linux Enterprise Server for SAP Applications 15 SP3 | Affected |
| SUSE Linux Enterprise Server for SAP Applications 15 SP4 | Affected |
| SUSE Linux Enterprise Server for SAP Applications 15 SP5 | Affected |
| SUSE Manager Proxy 4.0 | Affected |
| SUSE Manager Proxy 4.1 | Affected |
| SUSE Manager Proxy 4.2 | Affected |
| SUSE Manager Retail Branch Server 4.0 | Affected |
| SUSE Manager Retail Branch Server 4.1 | Affected |
| SUSE Manager Retail Branch Server 4.2 | Affected |
| SUSE Manager Server 4.0 | Affected |
| SUSE Manager Server 4.1 | Affected |
| SUSE Manager Server 4.2 | Affected |
| openSUSE Leap 15.3 | Affected |
| openSUSE Leap 15.4 | Affected |
| openSUSE Leap 15.5 | Affected |
| openSUSE Leap 15.6 | Affected |
| suse/389-ds | Affected |
EUVD-2026-47661
GHSA-cwj4-7fp9-r4jg
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB