Skip to main content
← All vulnerabilities
CVE-2026-22185

OpenLDAP LMDB mdb_load Heap Buffer Underflow in readline()

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 0.9.34
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • OpenLDAP Foundation OpenLDAP

    From 0.9.14 · fixed in 0.9.34

References 5

seclists.org

openldap.org

vulncheck.com

bugs.openldap.org