CVE-2026-22185
OpenLDAP LMDB mdb_load Heap Buffer Underflow in readline()
- State
- Published
- Severity
- 4.6 Medium
- Published
- Jan 7, 2026
- Updated
- Oct 29, 2026
- Reserved
- Jan 6, 2026
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 4.0 | 4.6 Medium | CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N | VulnCheck |
Weaknesses
Affected Products
| Product | Versions |
|---|---|
OpenLDAPOpenLDAP Foundation |
|
References
- https://seclists.org/fulldisclosure/2026/Jan/5technical-descriptionexploit
- https://seclists.org/fulldisclosure/2026/Jan/8technical-descriptionexploit
- https://www.openldap.org/product
- https://www.vulncheck.com/advisories/openldap-lmdb-mdb-load-heap-buffer-underflow-in-readlinethird-party-advisory
- https://bugs.openldap.org/show_bug.cgi?id=10421issue-trackingpatch
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.