CVE-2026-22185 Details
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.
A heap buffer underflow vulnerability has been identified in the OpenLDAP Lightning Memory-Mapped Database (LMDB) mdb_load utility, affecting versions through 2.6.10. The vulnerability arises in the readline() function, where malformed input can cause an unsigned offset calculation to underflow a heap pointer. This results in an out-of-bounds read of one byte before the allocated heap buffer, potentially allowing a local attacker to cause a denial-of-service condition and disclose limited contents of the heap memory.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Jan 7, 2026CISA-ADP
Assessed Jan 7, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://bugs.openldap.org/show_bug.cgi?id=10421 | [email protected] | |
| https://seclists.org/fulldisclosure/2026/Jan/5 | [email protected] | ExploitMailing ListTechnical Description |
| https://seclists.org/fulldisclosure/2026/Jan/8 | [email protected] | ExploitMailing List |
| https://www.openldap.org/ | [email protected] | Vendor |
| https://www.vulncheck.com/advisories/openldap-lmdb-mdb-load-heap-buffer-underflow-in-readline | [email protected] | AdvisoryVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-125 | Out-of-bounds Read | [email protected] |
| CWE-191 | Integer Underflow (Wrap or Wraparound) | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| OpenLDAP Lightning Memory-Mapped Database | All versions |
CPE
Remediation
| |
Change History
9 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 29, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jan 14, 2026 | CVE Modified | [email protected] |
| Jan 12, 2026 | CVE Modified | [email protected] |
| Jan 8, 2026 | CVE Modified | [email protected] |
| Jan 8, 2026 | CVE Modified | [email protected] |
| Jan 8, 2026 | CVE Modified | [email protected] |
| Jan 7, 2026 | New CVE Received | [email protected] |
Volerion