CVE-2026-22185

Publication date 7 January 2026

Last updated 16 January 2026


Ubuntu priority

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.

Read the notes from the security team

Status

Package Ubuntu Release Status
openldap 25.10 questing
Not affected
25.04 plucky
Not affected
24.04 LTS noble
Not affected
22.04 LTS jammy
Not affected
20.04 LTS focal
Not affected
18.04 LTS bionic
Not affected
16.04 LTS xenial
Not affected
14.04 LTS trusty
Not affected
lmdb 25.10 questing
Vulnerable, fix deferred
25.04 plucky Ignored end of life, was needed
24.04 LTS noble
Vulnerable, fix deferred
22.04 LTS jammy
Vulnerable, fix deferred
20.04 LTS focal
Vulnerable, fix deferred
18.04 LTS bionic
Vulnerable, fix deferred
16.04 LTS xenial
Vulnerable, fix deferred
14.04 LTS trusty
Not affected

Notes


mdeslaur

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 OpenLDAP developers, deferring for now. See: https://bugs.openldap.org/show_bug.cgi?id=10421#c3

Patch details

For informational purposes only. We recommend not to cherry-pick updates. How can I get the fixes?

Package Patch details
lmdb