OpenLDAP LMDB mdb_load Heap Buffer Underflow in readline()
Summary
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...
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| OpenLDAP FoundationOpenLDAP |
≥ 0.9.14, < 0.9.34→ 0.9.34 |
0.9.34 |
Fix status by distribution
Records published by each distribution for this CVE. Fixed versions differ by release; check each link.
- Debian DEBIAN-CVE-2026-22185 lmdb Fix available
- Ubuntu UBUNTU-CVE-2026-22185 lmdb No fixed version in this record
Original description The description as published by the source.
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.
Source: CVE.org (CVE Program・cvelistV5) NVD