CVE-2026-22185

OpenLDAP LMDB mdb_load Heap Buffer Underflow in readline()

MEDIUM
4.6
CVSS Score
Published: January 7, 2026 at 08:26 PM UTC
Updated: June 17, 2026 at 10:19 AM UTC
1 product affected across 1 vendorOpenLDAP

Using OpenLDAP by OpenLDAP Foundation?

Get instant alerts when new vulnerabilities affect OpenLDAP - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM4.6
Exploit prediction
EPSS 0.2%
SSVC
PoC

Description

OpenLDAP Lightning Memory-Mapped Database (LMDB) mdb_load contains a heap buffer underflow vulnerability in the readline() function. When processing malformed input, an unsigned offset calculation can underflow a heap pointer, resulting in an out-of-bounds read of one byte before the allocated heap buffer. This may allow a local attacker to cause a denial of service and potentially disclose limited heap memory contents.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

0.9.14 ≤ v < 0.9.340.9.14
Affected range stops below 0.9.34, so it looks safe — our inference, not a vendor statement

Remediation

No guide yet

No remediation guidance has been written for this CVE yet. What the record does show:

References (5)

Technical DescriptionExploit
Source: cverecord
https://seclists.org/fulldisclosure/2026/Jan/5
Technical DescriptionExploit
Source: cverecord
https://seclists.org/fulldisclosure/2026/Jan/8
Product
Source: cverecord
https://www.openldap.org/
Issue TrackingPatch
Source: cverecord
https://bugs.openldap.org/show_bug.cgi?id=10421

SSVC — Action Prioritization

SSVCPoCNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

4.6MEDIUMVulnCheck
Vector?

Quick Info

StatusDEFERRED
CWE
CWE-125CWE-191

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card