CVE-2026-22185
JSON

4.6medium

OpenLDAP LMDB mdb_load Heap Buffer Underflow in readline()

Severity
4.6medium CVSS:4.0 by VulnCheck
Exploit likelihood
0.18% (higher than 5% of CVEs)
Published
Last changed
Assigned by
VulnCheck

Description

OpenLDAP Lightning Memory-Mapped Database (LMDB) versions 0.9.14 before 0.9.34, prior to commit 8e1fda8, contain a heap buffer underflow in the readline() function of mdb_load. When processing malformed input containing an embedded NUL byte, an unsigned offset calculation can underflow and cause an out-of-bounds read of one byte before the allocated heap buffer. This can cause mdb_load to crash, leading to a limited denial-of-service condition.

Affected

Product or packageVersionsReported by
OpenLDAP Foundation OpenLDAPfrom 0.9.14 before 0.9.34CVE List

Classification

CWE-125CWE-191

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

What each source says

CVE List

OpenLDAP Lightning Memory-Mapped Database (LMDB) versions 0.9.14 before 0.9.34, prior to commit 8e1fda8, contain a heap buffer underflow in the readline() function of mdb_load. When processing malformed input containing an embedded NUL byte, an unsigned offset calculation can underflow and cause an out-of-bounds read of one byte before the allocated heap buffer. This can cause mdb_load to crash, leading to a limited denial-of-service condition.

NVD (es)

Las versiones de OpenLDAP Lightning Memory-Mapped Database (LMDB) hasta la 0.9.14 inclusive, anteriores al commit 8e1fda8, contienen un desbordamiento negativo de búfer de pila en la función readline() de mdb_load. Al procesar una entrada malformada que contiene un byte NUL incrustado, un cálculo de desplazamiento sin signo puede sufrir un desbordamiento negativo y causar una lectura fuera de límites de un byte antes del búfer de pila asignado. Esto puede causar que mdb_load falle, lo que lleva a una condición de denegación de servicio limitada.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-22185 changed 2026-10-29CVE Terms of Use
NVDCVE-2026-22185 changed 2026-10-29Public domain