{"id":"CVE-2026-22185","state":"PUBLISHED","title":"OpenLDAP LMDB mdb_load Heap Buffer Underflow in readline()","description":"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.","publishedAt":"2026-01-07T20:26:30.054Z","updatedAt":"2026-10-29T21:15:35.807Z","severity":{"score":4.6,"label":"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","source":"VulnCheck"},"assigner":"VulnCheck","products":["OpenLDAP Foundation OpenLDAP"],"affected":[{"vendor":"OpenLDAP Foundation","product":"OpenLDAP","defaultStatus":"unaffected","versions":[{"version":"0.9.14","status":"affected","lessThan":"0.9.34","versionType":"semver"}]}],"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"],"weaknesses":["CWE-125","CWE-191"],"ingestedAt":"2026-10-29T23:08:31.977Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/22xxx/CVE-2026-22185.json","commit":"dc7676b3f67d6707e4927968546e7e0125ff7ec7","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-22185","state":"PUBLISHED","datePublished":"2026-01-07T20:26:30.054Z","dateUpdated":"2026-10-29T21:15:35.807Z","assignerShortName":"VulnCheck","assignerOrgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateReserved":"2026-01-06T16:47:17.182Z"},"containers":{"cna":{"title":"OpenLDAP LMDB mdb_load Heap Buffer Underflow in readline()","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"OpenLDAP Foundation","product":"OpenLDAP","defaultStatus":"unaffected","versions":[{"version":"0.9.14","status":"affected","lessThan":"0.9.34","versionType":"semver"}]}],"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"]}],"metrics":[{"cvssV4_0":{"Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","Safety":"NOT_DEFINED","attackComplexity":"LOW","attackRequirements":"NONE","attackVector":"LOCAL","baseScore":4.6,"baseSeverity":"MEDIUM","privilegesRequired":"NONE","providerUrgency":"NOT_DEFINED","subAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","userInteraction":"ACTIVE","valueDensity":"NOT_DEFINED","vectorString":"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","version":"4.0","vulnAvailabilityImpact":"LOW","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"NONE","vulnerabilityResponseEffort":"NOT_DEFINED"},"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-125","description":"CWE-125 Out-of-bounds Read","lang":"en","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-191","description":"CWE-191 Integer Underflow (Wrap or Wraparound)","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"VulnCheck","orgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateUpdated":"2026-10-29T21:15:35.807Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:openldap:openldap:*:*:*:*:*:*:*:*","versionStartIncluding":"0.9.14","versionEndExcluding":"0.9.34"}]}]}],"source":{"discovery":"UNKNOWN"},"credits":[{"lang":"en","value":"Ron Edgerson","type":"finder"}],"x_generator":{"engine":"vulncheck"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-01-07T21:25:36.753538Z","id":"CVE-2026-22185","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-01-07T21:25:58.538Z"}}]}}}