{"id":"CVE-2026-22185","revision":"9b49cf621da146b29432e56257a9ff80","records":[{"revision":"9b49cf621da146b29432e56257a9ff80","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-22185","aliases":[],"title":"OpenLDAP LMDB mdb_load Heap Buffer Underflow in readline()","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.","state":0,"publishedAt":"2026-01-07T20:26:30.054+00:00","modifiedAt":"2026-05-25T23:41:35.137+00:00","affected":[{"ecosystem":"Vendor product","name":"OpenLDAP","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"defaultStatus\": \"unaffected\",\n                    \"product\": \"OpenLDAP\",\n                    \"vendor\": \"OpenLDAP Foundation\",\n                    \"versions\": [\n                        {\n                            \"lessThan\": \"0.9.34\",\n                            \"status\": \"affected\",\n                            \"version\": \"0.9.14\",\n                            \"versionType\": \"semver\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 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","score":4.6,"severity":"MEDIUM"}],"references":["https://seclists.org/fulldisclosure/2026/Jan/5","https://seclists.org/fulldisclosure/2026/Jan/8","https://www.openldap.org/","https://www.vulncheck.com/advisories/openldap-lmdb-mdb-load-heap-buffer-underflow-in-readline","https://bugs.openldap.org/show_bug.cgi?id=10421"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-22185","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-22185","identifiers":["CVE-2026-22185"]},"retained":false,"historicalAffected":[]}],"coverage":[]}