
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-22185 is a heap buffer underflow vulnerability in OpenLDAP's Lightning Memory-Mapped Database (LMDB) mdb_load utility, specifically in its readline() function. Affecting LMDB versions up to and including 0.9.14 (prior to commit 8e1fda8), the flaw is triggered when processing malformed input containing an embedded NUL byte, causing an unsigned offset calculation to underflow and produce an out-of-bounds read of one byte before the allocated heap buffer. This can crash mdb_load, resulting in a limited denial-of-service condition. The CVE was published on January 7, 2026, and assigned by VulnCheck. The CNA-assigned CVSS v4.0 base score is 4.6 (Medium) (VulnCheck Advisory).
The root cause is an integer underflow (CWE-191) in an unsigned offset calculation within the readline() function of mdb_load, which then leads to an out-of-bounds read (CWE-125). When mdb_load processes a malformed input file containing an embedded NUL byte (\0), the unsigned arithmetic used to compute a buffer offset wraps around to a very large value, causing the program to read one byte before the start of the allocated heap buffer. The attack vector is local (AV:L), requires no privileges (PR:N), and requires active user interaction (UI:A) — meaning an attacker must supply a crafted input file to a user or process running mdb_load. The vulnerability was reported via the OpenLDAP bug tracker (bug #10421) and disclosed on the Full Disclosure mailing list (VulnCheck Advisory, Full Disclosure).
Successful exploitation causes mdb_load to crash, resulting in a limited denial-of-service condition for the affected utility. There is a secondary, limited risk of leaking one byte of heap memory contents adjacent to the allocated buffer, which could theoretically expose sensitive data in memory, though this is considered a low-severity information disclosure risk. Confidentiality and integrity impacts are assessed as none to negligible; the primary impact is on availability of the mdb_load process. The vulnerability does not affect the LMDB library itself during normal database operations, limiting its scope to the mdb_load data import tool (VulnCheck Advisory).
No public proof-of-concept exploit code or in-the-wild exploitation has been reported for CVE-2026-22185. The EPSS score is approximately 0.014% (0.000140), indicating a very low probability of exploitation in the near term. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. Exploitation requires local access and user interaction (supplying a malformed input file to mdb_load), significantly limiting its practical attack surface (VulnCheck Advisory).
\0) at a position that triggers the unsigned offset underflow in the readline() function of mdb_load.mdb_load (e.g., as part of a database restore or import workflow).mdb_load processes the malformed input, the unsigned offset calculation underflows, causing a read of one byte before the heap buffer boundary.mdb_load to crash, interrupting any database import operation in progress. Optionally, the attacker may attempt to infer limited heap memory contents from the crash behavior, though this is highly constrained (VulnCheck Advisory, Full Disclosure).dmesg, /var/log/syslog) referencing the mdb_load process.mdb_load with a signal such as SIGSEGV or SIGABRT, particularly when processing externally supplied input files.The fix is available in the OpenLDAP LMDB repository as commit 8e1fda8, which corrects the unsigned offset calculation in the readline() function. Users should update to an LMDB version incorporating this commit (post-0.9.14). As a workaround, restrict access to the mdb_load utility and validate or sanitize all input files before processing. Linux distributions (e.g., SUSE) have begun issuing updated packages addressing this vulnerability (VulnCheck Advisory, OpenLDAP Bug Tracker).
The vulnerability was initially disputed by VulnCheck (a "disputed" tag was added on January 8, 2026, then removed on January 14, 2026), suggesting some initial disagreement about its severity or exploitability before the final assessment was settled. Coverage has been limited to vulnerability aggregators, security mailing lists (Full Disclosure), and distribution security advisories (e.g., SUSE, INCIBE-CERT), with no notable broader media or researcher commentary (Full Disclosure, Full Disclosure Jan/8).
Fix availability across major Linux distributions and their releases.
bionic (esm-apps)
lmdb
bionic (esm-infra)
openldap
devel
openldap
focal (esm-infra)
openldap
jammy
openldap
noble
openldap
questing
openldap
resolute
openldap
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."