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

Published Jan 7, 2026
·
Updated

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 mdbload. 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 mdbload to crash, leading to a limited denial-of-service condition.

Affected Software

1 affected component
openldap LMDB<=0.9.14

Event History

Jan 7, 2026
CVE Published
via MITRE·08:26 PM
Data Sourced
via MITRE·08:26 PM
DescriptionWeakness
Data Sourced
via NVD·09:16 PM
DescriptionSeverityWeakness
Aug 28, 58046
Event
via FIRST·09:19 PM
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-22185?

CVE-2026-22185 is classified as a medium severity vulnerability due to its potential impact on systems using the affected OpenLDAP version.

2

How do I fix CVE-2026-22185?

To mitigate CVE-2026-22185, upgrade OpenLDAP to version 2.6.11 or later where the vulnerability has been addressed.

3

What specific function is affected in CVE-2026-22185?

The vulnerability in CVE-2026-22185 specifically affects the readline() function in the LMDB component of OpenLDAP.

4

What types of attacks can exploit CVE-2026-22185?

CVE-2026-22185 can be exploited through the processing of malformed input that triggers the heap buffer underflow.

5

Which versions of OpenLDAP are affected by CVE-2026-22185?

OpenLDAP versions up to and including 2.6.10 are affected by CVE-2026-22185.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203