LiveActive security incident?Get immediate response
CVE Record

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

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.

MediumCVSS 4.6Not KEV-listedUpdated
Glexia's TakeAutomated analysismoderate

Security readout for executives and security teams

Plain-English summary

This issue affects the LMDB mdb_load utility shipped with OpenLDAP/LMDB. A malformed database dump containing an embedded NUL byte can crash the tool. Business impact appears limited to denial of service during database loading or maintenance workflows, not remote compromise.

Executive priority

Treat as a routine but real maintenance risk. Prioritize environments that import directory database dumps or accept externally supplied backups. The issue is crash-oriented and local/user-assisted, so it is less urgent than remotely exploitable LDAP service vulnerabilities.

Technical view

LMDB through 0.9.14, before commit 8e1fda8, has a heap buffer underflow in mdb_load readline(). Malformed input can trigger an unsigned offset underflow and a one-byte out-of-bounds read before a heap buffer, causing a crash. CVSS 4.0 is 4.6 with local attack vector and user interaction.

Likely exposure

Exposure is most likely where administrators, scripts, or automation run mdb_load against database dump files from untrusted or weakly controlled sources. Systems only running LDAP services without using mdb_load on attacker-influenced input appear less exposed based on the provided sources.

Exploitation context

The CVE is not listed as KEV, and the provided bundle does not show active exploitation. Public technical references are listed, including exploit-tagged Full Disclosure posts, so defenders should assume malformed test inputs may be publicly described without treating this as confirmed in-the-wild activity.

Researcher notes

The source bundle has some naming ambiguity: the title references OpenLDAP <= 2.6.10, while the description identifies LMDB through 0.9.14 before commit 8e1fda8. Validate against upstream bug 10421 and package backports before declaring systems fixed or vulnerable.

Mitigation direction

  • Update LMDB/OpenLDAP packages when they include commit 8e1fda8 or a vendor backport.
  • Do not process untrusted LMDB dump files with mdb_load.
  • Restrict mdb_load access to trusted administrators and controlled automation.
  • Monitor OpenLDAP bug 10421 and distribution advisories for packaged fixes.

Validation and detection

  • Inventory systems with OpenLDAP LMDB mdb_load installed.
  • Identify LMDB versions up to and including 0.9.14.
  • Check package changelogs or vendor notes for commit 8e1fda8.
  • Review automation that imports LMDB dumps from external or user-controlled sources.
  • Confirm operational controls prevent untrusted dump files from reaching mdb_load.
Prepared
Confidence
medium
Sources
7

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · low confidence lookup

CWE-125: Exact CWE lookup

Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
cwe · low confidence lookup

CWE-191: Exact CWE lookup

Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
description · low confidence lookup

Database behavior lookup

The CVE wording references database injection or access, so collection and exfiltration review may help. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2026-22185 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Medium
CVSS
4.6 (4.0)
Known Exploited
No
Published

Vector: 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

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

1CVSS vectors
0Timeline events
0ADP providers
6Source links

CVSS vector scores

1 official score

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
4.6CVSS 4.0MediumCVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N——Primary CVE score

Vulnerability scoring details

Base CVSS 4.0 score

4.6Medium
CVSS 4.0 vector shape for CVE-2026-22185Attack VectorAttack ComplexityAttack RequirementsPrivileges RequiredUser InteractionVS ConfidentialityVS IntegrityVS AvailabilitySS ConfidentialitySS IntegritySS Availability

Vector: 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

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Attack Requirements
NonePresent
Privileges Required
NoneLowHigh
User Interaction
NonePassiveActive
VS Confidentiality
HighLowNone
VS Integrity
HighLowNone
VS Availability
HighLowNone
SS Confidentiality
HighLowNone
SS Integrity
HighLowNone
SS Availability
HighLowNone

Source materials

Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
OpenLDAP FoundationOpenLDAP0.9.14unaffected
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.

CWE-125 · source CWE mapping

Out-of-bounds Read

Out-of-bounds Read represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.

CWE-191 · source CWE mapping

Integer Underflow (Wrap or Wraparound)

Integer Underflow (Wrap or Wraparound) represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.