Description
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.
Published: 2026-07-22
Score: 5.3 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

A heap-buffer-overflow in 389-ds-base occurs when a distinguished name containing a legacy-quoted value is parsed. The parser fails to close the heap allocation, leaving a pointer that can be reused, which allows an attacker to trigger a denial of service or, if conditions permit, cause an arbitrary memory write. This flaw reflects a failure to safely handle quoted attributes.

Affected Systems

This flaw affects all Red Hat Directory Server releases 11 through 13 as well as the Red Hat Enterprise Linux families 6 through 10, because every version that ships the quoted‑RDN parsing logic in dn.c is vulnerable.

Risk and Exploitability

The CVSS score of 5.3 indicates moderate risk, while the EPSS score of < 1% points to a low exploitation probability; the vulnerability is not listed in the CISA KEV catalog. Attacks would require an attacker to supply a specially crafted DN with a legacy‑quoted value, so the likely vector is network‑based client communication to the Directory Server. Denial of service is more reliably observed when heap debugging is enabled, yet the underlying memory corruption could be exploited even when debugging is not active.

Generated by OpenCVE AI on August 3, 2026 at 23:51 UTC.

Remediation

Vendor Workaround

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.


OpenCVE Recommended Actions

  • Apply the vendor‑supplied update that patches the 389‑ds‑base component in all affected Red Hat Directory Server and RHEL releases.
  • If an immediate upgrade is not possible, restrict Directory Server access to trusted hosts using firewall rules and monitor the service for crashes or restarts that may indicate an exploitation attempt.
  • Enable heap debugging by setting MALLOC_CHECK_=3 or running the server with AddressSanitizer; observe that denial of service occurs when a carefully crafted DN is processed, and use such observations to detect exploitation attempts.
  • Adopt the CNA workaround: enable heap debugging to more reliably observe denial of service; note that this does not mitigate the underlying buffer overflow but can help detect exploitation attempts.

Generated by OpenCVE AI on August 3, 2026 at 23:51 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 23 Jul 2026 12:15:00 +0000

Type Values Removed Values Added
References
Metrics threat_severity

None

threat_severity

Moderate


Wed, 22 Jul 2026 18:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Wed, 22 Jul 2026 13:30:00 +0000

Type Values Removed Values Added
Description 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.
Title 389-ds-base: 389-ds-base: heap-buffer-overflow in rdn_av_swap on quoted multivalued rdn
First Time appeared Redhat
Redhat directory Server
Redhat enterprise Linux
Weaknesses CWE-1220
CPEs cpe:/a:redhat:directory_server:11
cpe:/a:redhat:directory_server:12
cpe:/a:redhat:directory_server:13
cpe:/o:redhat:enterprise_linux:10
cpe:/o:redhat:enterprise_linux:6
cpe:/o:redhat:enterprise_linux:7
cpe:/o:redhat:enterprise_linux:8
cpe:/o:redhat:enterprise_linux:9
Vendors & Products Redhat
Redhat directory Server
Redhat enterprise Linux
References
Metrics cvssV3_1

{'score': 5.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L'}


Subscriptions

Redhat Directory Server Enterprise Linux
cve-icon MITRE

Status: PUBLISHED

Assigner: redhat

Published:

Updated: 2026-07-22T18:01:52.422Z

Reserved: 2026-07-22T12:11:52.389Z

Link: CVE-2026-16560

cve-icon Vulnrichment

Updated: 2026-07-22T18:01:46.340Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-07-22T14:17:18.043

Modified: 2026-07-22T19:16:57.877

Link: CVE-2026-16560

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-07-22T12:00:00Z

Links: CVE-2026-16560 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-04T00:00:09Z

Weaknesses
  • CWE-1220

    Insufficient Granularity of Access Control