CVEfocus › CVE database › CVE-2026-22185

CVE-2026-22185OpenLDAP LMDB mdb_load Heap Buffer Underflow in readline()

CVSS 4.6 MediumEPSS 0.2% (higher than 5% of CVEs)Published 2026-01-07Updated 2026-10-29Assigner: VulnCheck

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.

CWE-125CWE-191

What to do

Fixed builds are available from Debian: see the table below for the fixed version per release.

Debian, Red Hat, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

1Fixed
30Fix pending
3Under investigation
4Will not fix
4Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10lmdbFix pendingUBUNTU-CVE-2026-22185
Ubuntu 26.04lmdbUnder investigationUBUNTU-CVE-2026-22185
Ubuntu 26.04openldapNot affected
vulnerable_code_not_present
Ubuntu 25.10lmdbWill not fix
While the openldap packages contain the liblmdb source, they do not build the mdb_load tool that is the vulnerable code. This CVE is being disputed by…
UBUNTU-CVE-2026-22185
Ubuntu 25.10openldapNot affected
vulnerable_code_not_present
Ubuntu 24.04lmdbUnder investigationUBUNTU-CVE-2026-22185
Ubuntu 24.04openldapNot affected
vulnerable_code_not_present
Ubuntu 22.04lmdbUnder investigationUBUNTU-CVE-2026-22185
Ubuntu 22.04openldapNot affected
vulnerable_code_not_present
Ubuntu 20.04lmdbFix pendingUBUNTU-CVE-2026-22185
Ubuntu 18.04lmdbFix pendingUBUNTU-CVE-2026-22185
Ubuntu 16.04lmdbFix pendingUBUNTU-CVE-2026-22185
Debian 14lmdbFixed0.9.35-1DEBIAN-CVE-2026-22185
Debian 14openldapWill not fix
Debian rates this unimportant for its packages (a minor issue, or one that doesn't affect Debian's build), so no security update is planned.
DEBIAN-CVE-2026-22185
Debian 13lmdbFix pendingDEBIAN-CVE-2026-22185
Debian 13openldapWill not fix
Debian rates this unimportant for its packages (a minor issue, or one that doesn't affect Debian's build), so no security update is planned.
DEBIAN-CVE-2026-22185
Debian 12lmdbFix pendingDEBIAN-CVE-2026-22185
Debian 12openldapWill not fix
Debian rates this unimportant for its packages (a minor issue, or one that doesn't affect Debian's build), so no security update is planned.
DEBIAN-CVE-2026-22185
Red Hat Enterprise Linux 10openldapFix pending
Fix deferred
Red Hat Enterprise Linux 10openldap-clientsFix pending
Fix deferred
Red Hat Enterprise Linux 10openldap-compatFix pending
Fix deferred
Red Hat Enterprise Linux 10openldap-develFix pending
Fix deferred
Red Hat Enterprise Linux 9openldapFix pending
Fix deferred
Red Hat Enterprise Linux 9openldap-clientsFix pending
Fix deferred
Red Hat Enterprise Linux 9openldap-compatFix pending
Fix deferred
Red Hat Enterprise Linux 9openldap-develFix pending
Fix deferred
Red Hat Enterprise Linux 8openldapFix pending
Fix deferred
Red Hat Enterprise Linux 8openldap-clientsFix pending
Fix deferred
Red Hat Enterprise Linux 8openldap-develFix pending
Fix deferred
Red Hat Enterprise Linux 8openldap-serversFix pending
Fix deferred
Red Hat Enterprise Linux 7compat-openldapFix pending
Fix deferred
Red Hat Enterprise Linux 7openldapFix pending
Fix deferred
Red Hat Enterprise Linux 7openldap-clientsFix pending
Fix deferred
Red Hat Enterprise Linux 7openldap-develFix pending
Fix deferred
Red Hat Enterprise Linux 7openldap-serversFix pending
Fix deferred
Red Hat Enterprise Linux 7openldap-servers-sqlFix pending
Fix deferred
Red Hat Enterprise Linux 6compat-openldapFix pending
Fix deferred
Red Hat Enterprise Linux 6openldapFix pending
Fix deferred
Red Hat Enterprise Linux 6openldap-clientsFix pending
Fix deferred
Red Hat Enterprise Linux 6openldap-develFix pending
Fix deferred
Red Hat Enterprise Linux 6openldap-serversFix pending
Fix deferred
Red Hat Enterprise Linux 6openldap-servers-sqlFix pending
Fix deferred

What the vendor says

As published in the CVE record by VulnCheck, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.