CVE-2026-22185: OpenLDAP · Out-of-bounds Read
Affects OpenLDAPSource CVE Database V5
Not known to be exploited · CVSS 4.6 Medium : upgrade to 0.9.34 when convenient.
Data as of 26 Oct 2026, 14:05 UTC
- EPSS
- 0.1% chance of exploitation in 30 days – higher than 4% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 0.9.34
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:L/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 7 Jan 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
Upgrade OpenLDAP to 0.9.34.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| OpenLDAP FoundationOpenLDAP | Affected
| Fixed in
|
AI-suggested
If you cannot patch yet, avoid processing untrusted or malformed input with mdb_load to reduce risk of denial-of-service.
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.
References
- seclists.org/fulldisclosure/2026/Jan/5 (opens in a new tab)
- seclists.org/fulldisclosure/2026/Jan/8 (opens in a new tab)
- openldap.org (opens in a new tab)
- vulncheck.com/advisories/openldap-lmdb-mdb-load-heap-buffer-underflow-in-readline (opens in a new tab)
- bugs.openldap.org/show_bug.cgi?id=10421 (opens in a new tab)