{"id":"CVE-2026-22185","published":"2026-01-07T20:26:30Z","modified":"2026-10-29T21:15:35Z","title":"OpenLDAP LMDB mdb_load Heap Buffer Underflow in readline()","vendor":"OpenLDAP Foundation","product":"OpenLDAP","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":4.6,"severity":"MEDIUM","version":"4.0","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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00184,"percentile":0.08172,"provenance":"source"},"cwes":[{"id":"CWE-125","name":"Out-of-bounds Read"},{"id":"CWE-191","name":"Integer Underflow (Wrap or Wraparound)"}],"references":[{"url":"https://seclists.org/fulldisclosure/2026/Jan/5","tags":["technical-description","exploit"]},{"url":"https://seclists.org/fulldisclosure/2026/Jan/8","tags":["technical-description","exploit"]},{"url":"https://www.openldap.org/","tags":["product"]},{"url":"https://www.vulncheck.com/advisories/openldap-lmdb-mdb-load-heap-buffer-underflow-in-readline","tags":["third-party-advisory"]},{"url":"https://bugs.openldap.org/show_bug.cgi?id=10421","tags":["issue-tracking","patch"]}],"priority":{"score":9.9,"factors":[{"name":"EPSS percentile","points":1.63},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":3.22}]},"vendorSlug":"openldap-foundation","affectedVersions":[{"vendor":"OpenLDAP Foundation","product":"OpenLDAP","versions":[">= 0.9.14, < 0.9.34"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-01-07T21:25:36.753538Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-1169","exploited":false,"provenance":"source"},"exploitRefs":["https://seclists.org/fulldisclosure/2026/Jan/5","https://seclists.org/fulldisclosure/2026/Jan/8"]}