Skip to main content
EPSS 0.1%top 96%

CVE-2026-22185: CWE-125 Out-of-bounds Read in OpenLDAP Foundation OpenLDAP

0
Medium
VulnerabilityCVE-2026-22185cvecve-2026-22185cwe-125cwe-191
Published: 01/07/2026 (01/07/2026, 20:26:30 UTC)
Source: CVE Database V5
Vendor/Project: OpenLDAP Foundation
Product: OpenLDAP

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.

CVSS v4.0

Score 4.6medium

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Active
Vuln. Confidentiality
None
Vuln. Integrity
None
Vuln. Availability
Low
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N

Affected software

GitHub Actionsmore threats →ai
openldap/openldap
pkg:github/openldap/openldap
Affected versions
=0.9.14

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 05/26/2026, 07:41:24 UTC

Technical Analysis

OpenLDAP LMDB versions up to 0.9.14 have a heap buffer underflow vulnerability in the readline() function used by mdb_load. When malformed input with an embedded NUL byte is processed, an unsigned offset underflows, causing an out-of-bounds read one byte before the allocated buffer. This can cause mdb_load to crash, leading to denial-of-service. The vulnerability is tracked as CVE-2026-22185 with a CVSS 4.6 (medium) score. No patch or official fix information is currently provided.

Potential Impact

The vulnerability can cause mdb_load to crash due to an out-of-bounds read triggered by specially crafted malformed input. This results in a limited denial-of-service condition affecting systems using vulnerable LMDB versions. There is no indication of code execution or data corruption beyond the crash. No known exploits have been reported in the wild.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, avoid processing untrusted or malformed input with mdb_load to reduce risk of denial-of-service.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
VulnCheck
Date Reserved
2026-01-06T16:47:17.182Z
Cvss Version
4.0
State
PUBLISHED

Threat ID: 695ec6692efadb62cf81402d

Added to database: 01/07/2026, 20:47:37 UTC

Last enriched: 05/26/2026, 07:41:24 UTC

Last updated: 09/10/2026, 19:36:52 UTC

Views: 414

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses