CVE-2026-11792

389-ds-base: 389-ds-base: heap buffer overflow in audit log password masking (create_masked_entry_string)

Published Jun 9, 2026 CVSS 3.1 · 3.3 Low EPSS < 1% KEV · Not listed
Description
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.

Analysis

AI-generated

Technical impact

A heap buffer overflow occurs in the create_masked_entry_string() function of 389 Directory Server’s auditlog.c when audit logging is enabled. The function copies a fixed-length password mask into a heap buffer without verifying available space. If a short cleartext password is logged – a scenario possible when non‑default CLEAR passwordStorageScheme is used or a replication peer is compromised – the buffer is overrun, corrupting heap memory and the audit log output. This corruption can lead to denial of service and potentially allow exploitation if memory is manipulated, but no direct read or arbitrary code execution capability is described in the CVE notes.

Affected Systems

As listed by the CNA, affected products include Red Hat Directory Server versions 11, 12, and 13, and Red Hat Enterprise Linux distributions 6 through 10. No other vendors or versions are specified in the CVE entry.

Risk and Exploitability

The CVSS score of 3.3 indicates a low‑severity vulnerability with limited impact. The EPSS is not available, and the vulnerability is not listed in CISA KEV. Exploitation requires audit logging to be enabled and a short cleartext password to be logged, typically through a misconfigured passwordStorageScheme or a malicious replication peer. These prerequisites lower the probability of successful exploitation, resulting in an overall low risk in most environments.

Remediation

Vendor Workaround

Do not use passwordStorageScheme=CLEAR (default PBKDF2-SHA512 produces hashes longer than 23 bytes). Disable audit logging if not required. Monitor replication agreements for unauthorized peers.


OpenCVE Recommended Actions

  • Apply the Red Hat security erratum RHBA‑2025:15534 to update 389 Directory Server and related packages, which patches the heap overflow.
  • Change the passwordStorageScheme from CLEAR to a default scheme such as PBKDF2‑SHA512 to prevent short cleartext passwords from being logged.
  • If immediate patching is not possible, disable audit logging in 389 Directory Server or reduce the set of audited attributes to mitigate the risk.
  • Continuously monitor replication agreements for unauthorized peers to detect and block potential replay of cleartext passwords.

Generated by OpenCVE AI on June 9, 2026 at 14:51 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
CPEs cpe:/a:redhat:enterprise_linux:10
cpe:/a:redhat:enterprise_linux:8
cpe:/a:redhat:enterprise_linux:9
cpe:/o:redhat:enterprise_linux:10
cpe:/o:redhat:enterprise_linux:8
cpe:/o:redhat:enterprise_linux:9
Type Values Removed Values Added
First Time appeared Redhat rhel Els
CPEs 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
cpe:/a:redhat:enterprise_linux:10
cpe:/a:redhat:enterprise_linux:8
cpe:/a:redhat:enterprise_linux:9
cpe:/o:redhat:rhel_els:6
cpe:/o:redhat:rhel_els:7
Vendors & Products Redhat rhel Els
Type Values Removed Values Added
First Time appeared Redhat redhat Directory Server
Vendors & Products Redhat redhat Directory Server
Type Values Removed Values Added
Metrics ssvc

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

Type Values Removed Values Added
Description 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.
Title 389-ds-base: 389-ds-base: heap buffer overflow in audit log password masking (create_masked_entry_string)
First Time appeared Redhat
Redhat directory Server
Redhat enterprise Linux
Weaknesses CWE-122
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': 3.3, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:N/I:L/A:L'}

Weaknesses
  • CWE-122

    Heap-based Buffer Overflow

Sources

Status
PUBLISHED
Assigner
redhat
Published
Updated
Nov 25, 2026, 3:12 PM
Reserved
Jun 9, 2026, 1:02 PM
Status
Awaiting Analysis
Published
Jun 9, 2026, 2:16 PM
Modified
Nov 25, 2026, 4:17 PM