CVE-2026-22185

OpenLDAP Lightning Memory-Mapped Database (LMDB) versions up to and including 0.9.14, 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.
CVSS

No CVSS.

Configurations

No configuration.

History

08 Jan 2026, 17:15

Type Values Removed Values Added
References
  • () https://bugs.openldap.org/show_bug.cgi?id=10421 -
Summary (en) OpenLDAP Lightning Memory-Mapped Database (LMDB) mdb_load contains a heap buffer underflow vulnerability in the readline() function. When processing malformed input, an unsigned offset calculation can underflow a heap pointer, resulting in an out-of-bounds read of one byte before the allocated heap buffer. This may allow a local attacker to cause a denial of service and potentially disclose limited heap memory contents. (en) OpenLDAP Lightning Memory-Mapped Database (LMDB) versions up to and including 0.9.14, 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.

07 Jan 2026, 21:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-01-07 21:16

Updated : 2026-01-12 18:15


NVD link : CVE-2026-22185

Mitre link : CVE-2026-22185

CVE.ORG link : CVE-2026-22185


JSON object : View

Products Affected

No product.

CWE
CWE-125

Out-of-bounds Read

CWE-191

Integer Underflow (Wrap or Wraparound)