---
id: CVE-2026-11792
title: >-
  389-ds-base: 389-ds-base: heap buffer overflow in audit log password masking
  (create_masked_entry_string)
summary: >-
  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…
severity: low
cvss: 3.3
cvssVector: 'CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:N/I:L/A:L'
cvssSource: cna
cwe:
  - CWE-122
vendor: Red Hat
product: 'redhat-ds:11/389-ds-base'
affected:
  - 'redhat-ds:11/389-ds-base'
  - 'redhat-ds:12/389-ds-base (all versions)'
  - 389-ds-base (all versions)
  - 389-ds-base (all versions)
  - 389-ds-base
  - 389-ds-base
  - 389-ds-base
  - 389-ds-base (all versions)
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-06-09T13:35:23.576447Z'
published: '2026-06-09'
updated: '2026-11-06'
sourceUpdated: '2026-11-06T17:50:52.406Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-11792'
references:
  - url: 'https://access.redhat.com/errata/RHBA-2025:15534'
  - url: 'https://access.redhat.com/security/cve/CVE-2026-11792'
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2484915'
    label: RHBZ#2484915
tags:
  - cve.org
epss: 0.00258
epssPercentile: 0.17586
ingestedAt: '2026-11-06T18:00:12.499Z'
---

## Overview

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.

## Affected

- `redhat-ds:11/389-ds-base`
- `redhat-ds:12/389-ds-base (all versions)`
- `389-ds-base (all versions)`
- `389-ds-base (all versions)`
- `389-ds-base`
- `389-ds-base`
- `389-ds-base`
- `389-ds-base (all versions)`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.

### Workarounds

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.
