Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain high-privilege directory admin credentials
-
DeliveryVerify audit logging is enabled and CLEAR storage configured
-
ExploitAuthenticate to directory server over network
-
ExecutionSubmit short cleartext password operation
-
PersistTrigger heap overflow in create_masked_entry_string()
-
ImpactCorrupt heap memory and tamper with audit log output
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Heap buffer bounds checking
MITRE ATT&CK
1 technique across 1 tactic: Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Two distinct non-default preconditions must both be satisfied simultaneously. First, audit logging must be explicitly enabled on the 389 Directory Server instance (nsslapd-auditlog-logging-enabled: on); this is not active by default in standard deployments. Second, one of the following must also be true: (a) the password storage scheme is configured to CLEAR, which is a non-default and explicitly insecure setting that stores plaintext passwords, or (b) a replication peer in the directory topology has been compromised and can inject cleartext password operations. On top of these configuration prerequisites, exploitation requires network-accessible authentication with high privileges (PR:H per CVSS), meaning the attacker must hold directory administrator-level credentials. The CVSS AC:H further reflects that reliable heap overflow exploitation requires knowledge of heap layout. Limiting factors: standard deployments using hashed password storage (PBKDF2, SSHA512) are entirely unexposed to this code path; the vulnerability is unreachable without audit logging enabled; and exploitation does not yield code execution or confidentiality breach based on current CVSS impact scores (C:N). |
| Impact | The CVSS 3.1 base score of 3.3 (Low) accurately reflects the constrained exploitability of this issue. The vector AV:N/AC:H/PR:H/UI:N/S:U/C:N/I:L/A:L indicates network-reachable attack surface but demands high attack complexity and high privileges - an attacker must already hold administrator-level access to the Directory Server instance. The scope is unchanged, meaning the overflow is contained within the directory server process, and impact is limited to low integrity (heap and audit log corruption) and low availability (potential crash or log corruption), with no confidentiality impact. No EPSS score was provided in the source data, so exploitation probability cannot be quantified from that signal. The CVE is not in the CISA KEV catalog, and no POC is known, corroborating that this is not being actively exploited. The practical risk to most deployments is very low: organizations using default SSHA or PBKDF2 password storage are not exposed at the vulnerable code path at all. The primary risk is audit log integrity loss in edge-case configurations, which could impair forensic visibility rather than enabling direct system compromise. |
| Exploit ScenarioDerived | An attacker who has already obtained high-privilege administrative credentials to a Red Hat Directory Server instance - for example, through credential theft or replication peer compromise - authenticates over the network, confirms that audit logging is active and CLEAR password storage is configured, then submits a short cleartext password (e.g., via a bind or password modify operation). The fixed-length mask copy in create_masked_entry_string() overflows the heap buffer, potentially corrupting adjacent heap structures or audit log entries. No public exploit identified at time of analysis, and the AC:H requirement means reliable exploitation would demand precise heap layout knowledge. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 09, 2026
Heap buffer overflow in Red Hat Directory Server's audit logging subsystem allows an authenticated high-privilege attacker to corrupt heap memory and tamper with audit log output. The vulnerable function create_masked_entry_string() in auditlog.c writes a fixed-length password mask into a precisely-sized heap buffer without bounds checking, overflowing when a short cleartext password is processed. Exploitation requires two non-default preconditions - audit logging must be enabled AND either CLEAR password storage must be configured or a replication peer must already be compromised - limiting real-world exposure significantly. No public exploit identified at time of analysis, and this CVE is not listed in the CISA KEV catalog.
RemediationAI
Apply Red Hat errata RHBA-2025:15534 (https://access.redhat.com/errata/RHBA-2025:15534), which addresses this heap overflow in the audit logging path. An exact fixed package version was not independently confirmed from the available input data - consult the errata page directly for the precise RPM version. As an immediate compensating control for systems that cannot be patched promptly, disable audit logging by setting nsslapd-auditlog-logging-enabled to off in the Directory Server configuration; note that this trade-off eliminates audit trail visibility, which may conflict with compliance requirements. Separately, verify that password storage scheme is not set to CLEAR (nsslapd-rootpwstoragescheme and nsslapd-pwdstoragescheme should use hashed schemes); if CLEAR storage was ever configured for testing, rotate it to a hashed scheme immediately. Replication topology should be reviewed to ensure all replication peers are trusted and integrity-checked, as a compromised peer represents the second trigger path. Track the Bugzilla issue at https://bugzilla.redhat.com/show_bug.cgi?id=2484915 for patch status updates.
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
The vulnerability is a CWE-122 (Heap-based Buffer Overflow) in the 389 Directory Server codebase, which underpins Red Hat Directory Server 11, 12, and 13. The affected code path is create_masked_entry_string() in auditlog.c, responsible for generating masked representations of password fields in audit log entries. The function allocates a heap buffer sized precisely for the password mask but performs an unchecked copy operation - when the cleartext password being logged is shorter than anticipated, the fixed-length mask overflows the allocation boundary. The overflow is only reachable when audit logging is active (nsslapd-auditlog-logging-enabled: on) and the password storage scheme is set to CLEAR (non-default; standard deployments use hashed schemes such as PBKDF2-SHA512). Alternatively, a compromised replication peer could inject a cleartext password via replication, triggering the same code path without direct CLEAR storage configuration. CPE-confirmed affected products span cpe:2.3:a:red_hat:red_hat_directory_server_11 through _13 and all Red Hat Enterprise Linux versions 6 through 10 that ship 389-ds.
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:H/PR:H/UI:N/S:U/C:N/I:L/A:L
Primary rating from Vendor (redhat) · only source for this CVE.
CVSS VectorVendor: redhat
DescriptionCVE.org
A heap buffer overflow flaw was found in 389 Directory Server. When audit logging is enabled, the create_masked_entry_string() function in auditlog.c copies a fixed-length password mask into a precisely-sized heap buffer without checking available space. If a short cleartext password is logged (requiring non-default CLEAR password storage or a compromised replication peer), the copy overflows the buffer, corrupting heap memory and audit log output.
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
A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.
A heap overflow occurs when a program writes data beyond the bounds of a buffer allocated in the heap memory region.
Affected Products (CPE)CVE.org
Related Vulnerabilities in 389 Directory Server Memory and Input Handling Flaws
View all 8More 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
EUVD-2026-35424
GHSA-3mr2-rf49-p7w4
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB