CVE-2026-11793
JSON

4.9medium

389-ds-base: 389-ds-base: stack buffer overflow in checkprefix() algorithm id parsing

Severity
4.9medium CVSS:3.1 by redhat
Exploit likelihood
0.28% (higher than 22% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
redhat

Description

A stack buffer overflow flaw was found in 389 Directory Server. The checkPrefix() function in pw.c copies an attacker-controlled algorithm ID into a 256-byte stack buffer without bounds checking when parsing reversible-encrypted attribute values. An attacker with Directory Manager privileges can crash the LDAP server by storing a crafted credential with an oversized algorithm ID. FORTIFY_SOURCE mitigates this to denial of service only.

Affected

Product or packageVersionsReported by
redhat-ds:11/389-ds-baseNot specifiedCVE List
redhat-ds:12/389-ds-baseNot specifiedCVE List
389-ds-baseNot specifiedCVE List
redhat 389_directory_serverNot specifiedNVD

Classification

CWE-121

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

A stack buffer overflow flaw was found in 389 Directory Server. The checkPrefix() function in pw.c copies an attacker-controlled algorithm ID into a 256-byte stack buffer without bounds checking when parsing reversible-encrypted attribute values. An attacker with Directory Manager privileges can crash the LDAP server by storing a crafted credential with an oversized algorithm ID. FORTIFY_SOURCE mitigates this to denial of service only.

NVD (es)

Se encontró una vulnerabilidad de desbordamiento de búfer en la pila en 389 Directory Server. La función checkPrefix() en pw.c copia un ID de algoritmo controlado por el atacante en un búfer de pila de 256 bytes sin verificación de límites al analizar valores de atributo cifrados de forma reversible. Un atacante con privilegios de Directory Manager puede provocar la caída del servidor LDAP al almacenar una credencial especialmente diseñada con un ID de algoritmo sobredimensionado. FORTIFY_SOURCE mitiga esto solo a denegación de servicio.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-11793 changed 2026-11-25CVE Terms of Use
NVDCVE-2026-11793 changed 2026-11-25Public domain