#1126287 lmdb: CVE-2026-22185

Package:
src:lmdb
Source:
src:lmdb
Submitter:
Salvatore Bonaccorso
Date:
2026-11-08 22:51:02 UTC
Severity:
normal
Tags:
#1126287#5
Date:
2026-01-23 16:55:49 UTC
From:
To:
Hi,

The following vulnerability was published for lmdb.

CVE-2026-22185[0]:
| 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.


If you fix the vulnerability please also make sure to include the
CVE (Common Vulnerabilities & Exposures) id in your changelog entry.

For further information see:

[0] https://security-tracker.debian.org/tracker/CVE-2026-22185
https://www.cve.org/CVERecord?id=CVE-2026-22185
[1] https://seclists.org/fulldisclosure/2026/Jan/5
[2] https://bugs.openldap.org/show_bug.cgi?id=10421
[3] https://git.openldap.org/openldap/openldap/-/commit/8e1fda85532a3c74276df38a42d234dcdfa1e40d
[4] https://github.com/LMDB/lmdb/commit/8e1fda85532a3c74276df38a42d234dcdfa1e40d

Please adjust the affected versions in the BTS as needed.

Regards,
Salvatore

#1126287#10
Date:
2026-03-23 21:22:27 UTC
From:
To:
Control: tags -1 fixed-upstream

This commit is part of upstream 0.9.34, cf. e.g.
<https://github.com/LMDB/lmdb/compare/LMDB_0.9.33...LMDB_0.9.34#diff-72cdef2535f1b41a241c174fee63c6b5a5bc625fb04b89de7d9e869e50374de0R211>,
so tagging this bug here accordingly.

Packaging the new version would also fix #1093416.

HTH,
Flo

#1126287#17
Date:
2026-11-08 22:48:17 UTC
From:
To:
Am Mon, Mar 23, 2026 at 10:22:27PM +0100 schrieb Florian Ernst:

Marking as fixed in 0.9.35-1.

Cheers,
        Moritz