CVE Database›Document archive›CVE-2026-12528

CVE-2026-12528

389-ds-base: 389-ds-base: heap-buffer-overflows in __aclp__normalize_acltxt()

Loading…

Severity

Low

Red Hat Product Security

5.4

CVSS 3.1

Review impact separately from score.

Published · June 3, 2026

Updated · June 28, 2026

Description

A flaw was found in 389 Directory Server in the __aclp__normalize_acltxt() function of aclparse.c. A malformed ACI (Access Control Instruction) string can trigger heap-buffer-overflow writes and reads during ACI parsing. The function fails to validate that the ACI keyword has sufficient length after whitespace stripping, leading to a 1-byte out-of-bounds write and subsequent out-of-bounds reads. An authenticated user with write access to the aci attribute could send a crafted ACI value to silently corrupt heap memory in the directory server process.

Statement

This flaw in 389 Directory Server has a Low impact. A heap buffer overflow in the ACI parsing function can be triggered by a specially crafted Access Control Instruction (ACI) string. While modern Red Hat Directory Server configurations typically limit write access to the aci attribute to the Directory Manager, certain older deployments or custom ACI patterns could allow other authenticated users to introduce the malformed string. The resulting 1-byte heap corruption is silent in production builds and is not considered weaponizable for code execution.

CVSS score applicability

The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

Mitigation

Ensure that only highly privileged accounts (Directory Manager or explicitly delegated ACI administrators) have write access to the 'aci' attribute. Review existing ACIs for overly broad targetattr rules (especially negated rules like targetattr!="..." or wildcards like targetattr="*") that may inadvertently grant regular users write access to operational attributes including 'aci'. The 389 DS ACI linting tool (lib389) can help identify such misconfigurations.

CVSS / CWE

CVSS 3.1 · 5.4
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L

CWE-787 · Out-of-bounds Write