CVE-2026-22185

Medium

Description

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.

SeverityMedium
CVSS4.6
Exploit probability—
ProductOpenLDAP
PublishedJan 7, 2026
First seenJan 7, 2026

How to fix

Update
  • OpenLDAP Foundation OpenLDAP0.9.34 or later

Affected products

ProductAffected versionsFixed in
OpenLDAP Foundation OpenLDAP0.9.14 ≤ v < 0.9.340.9.34

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.