Skip to main content
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain high-privilege directory admin credentials
  2. Delivery
    Verify audit logging is enabled and CLEAR storage configured
  3. Exploit
    Authenticate to directory server over network
  4. Execution
    Submit short cleartext password operation
  5. Persist
    Trigger heap overflow in create_masked_entry_string()
  6. Impact
    Corrupt 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.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
No patch listed yet 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

Vendor (redhat) PRIMARY 3.3 LOW
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

Attack Vector
Network
Attack Complexity
High
Privileges Required
High
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
Low
Availability
Low

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

EPSS Score
0.0%
Top 89% exploitable
Data Quality
5 sources
Confidence: Medium

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.

SignalValue
Severity LOW
CISA KEV No
Public POC No
EPSS 0.0%
Patch available No
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Low
Technical Impact
Partial

Priority Score

16
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +16
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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

cpe:2.3:a:red_hat:red_hat_directory_server_11:*:*:*:*:*:*:*:*
cpe:2.3:a:red_hat:red_hat_directory_server_12:*:*:*:*:*:*:*:*
cpe:2.3:a:red_hat:red_hat_directory_server_13:*:*:*:*:*:*:*:*
cpe:2.3:a:red_hat:red_hat_enterprise_linux_10:*:*:*:*:*:*:*:*
cpe:2.3:a:red_hat:red_hat_enterprise_linux_6:*:*:*:*:*:*:*:*
cpe:2.3:a:red_hat:red_hat_enterprise_linux_7:*:*:*:*:*:*:*:*
cpe:2.3:a:red_hat:red_hat_enterprise_linux_8:*:*:*:*:*:*:*:*
cpe:2.3:a:red_hat:red_hat_enterprise_linux_9:*:*:*:*:*:*:*:*
CVE-2026-18663 MEDIUM
5.9 Aug 12

Heap corruption via double-free in 389-ds-base's LDAP control parsing allows an unauthenticated remote attacker to crash

CVE-2026-4631 CRITICAL POC
9.8 Apr 07

Remote code execution in Cockpit's web interface allows unauthenticated attackers to execute arbitrary commands on the h

CVE-2026-4480 CRITICAL POC
9.0 May 26

Remote code execution in Samba's printing subsystem allows remote attackers to inject arbitrary shell commands via craft

CVE-2026-101258 HIGH POC
7.8 Oct 06

Ghostscript can execute arbitrary shell commands with the privileges of its process when it renders a crafted PostScript

CVE-2026-96889 HIGH POC
7.8 Sep 23

Use-after-free in librsvg during rendering of crafted SVG documents with nested XInclude directives and duplicate entity

CVE-2026-4775 HIGH POC
7.8 Mar 24

A signed integer overflow vulnerability exists in the libtiff library's putcontig8bitYCbCr44tile function that leads to

CVE-2026-114406 MEDIUM POC
6.8 Oct 21

The system CA trust store shipped in Red Hat's ca-certificates RPM packages includes eMudhra root authorities that signe

CVE-2026-18922 CRITICAL
9.8 Sep 07

Authentication bypass in 389 Directory Server (shipped as Red Hat Directory Server 11-13 and within RHEL 6-10) lets remo

CVE-2026-14544 CRITICAL
9.8 Jul 03

Remote code execution and privilege escalation in HPLIP (HP Linux Imaging and Printing) affects the hpcups print filter

CVE-2026-76578 CRITICAL
9.8 Sep 07

Unauthenticated privilege escalation in FreeIPA (Red Hat Identity Management) allows a remote attacker to gain genuine a

CVE-2026-102560 CRITICAL
9.8 Sep 29

A heap buffer overflow exists in libsoup's WebSocket permessage-deflate compression path: when a very large outbound mes

CVE-2026-5121 HIGH
7.5 Mar 30

Remote code execution in libarchive on 32-bit systems allows unauthenticated attackers to execute arbitrary code via spe

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy