CVE-2026-22185Out-of-bounds Read in Foundation Openldap

Severity
4.6MEDIUMNVD
EPSS
0.0%
top 94.44%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedJan 7
Latest updateJan 13

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.

CVSS vector

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

Affected Packages4 packages

🔴Vulnerability Details

2
OSV
CVE-2026-22185: OpenLDAP Lightning Memory-Mapped Database (LMDB) versions up to and including 02026-01-07
GHSA
GHSA-gcc9-wqf3-69qj: OpenLDAP Lightning Memory-Mapped Database (LMDB) mdb_load contains a heap buffer underflow vulnerability in the readline() function2026-01-07

📋Vendor Advisories

3
Microsoft
OpenLDAP <= 2.6.10 LMDB mdb_load Heap Buffer Underflow in readline()2026-01-13
Red Hat
OpenLDAP: OpenLDAP LMDB: Denial of Service and Information Disclosure via Heap Buffer Underflow2026-01-07
Debian
CVE-2026-22185: lmdb - OpenLDAP Lightning Memory-Mapped Database (LMDB) versions up to and including 0....2026

🕵️Threat Intelligence

1
Wiz
CVE-2026-22185 Impact, Exploitability, and Mitigation Steps | Wiz