CVE-2026-22185

published 7 Jan 2026 · updated 29 Oct 2026

OpenLDAP LMDB mdb_load Heap Buffer Underflow in readline()

5.6MediumCVSS 4.6EPSS 0%2 public exploits

2 public exploits exists; no exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in 0.9.34.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
OpenLDAP Foundation>=0.9.14 <0.9.340.9.34

Exploit evidence

2 public sources

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-22185 severity on Zeptric[![CVE-2026-22185](https://zeptric.io/badge/cve/CVE-2026-22185.svg)](https://zeptric.io/cve/CVE-2026-22185)