cve.bz

CVE-2026-22185 openldap foundation openldap: Out-of-bounds Read

4.6 mediumEPSS 0.2%

Medium (4.6) in openldap foundation openldap. EPSS 0.2% estimated probability of exploitation activity in the next 30 days.

On this page
OpenLDAP Lightning Memory-Mapped Database (LMDB) versions 0.9.14 before 0.9.34, 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.

Severity

CVSS 4.0

4.6 medium
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
EPSS
0.2% (unchanged from 0.2% a week ago; 0.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 8th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: no · Technical impact: partial, assessed 2026-01-07. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-125 Out-of-bounds Read
CWE-191 Integer Underflow (Wrap or Wraparound)
Published
Modified
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-22185 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-22185?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-22185?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-22185 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
OpenLDAP Foundation OpenLDAPfrom 0.9.14 before 0.9.34

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13lmdb, openldapno fix listedDEBIAN-CVE-2026-22185
Debian14lmdb0.9.35-1DEBIAN-CVE-2026-22185
Debian14openldapno fix listedDEBIAN-CVE-2026-22185
Ubuntu16.04:LTS, 18.04:LTS, 20.04:LTS and 5 morelmdbno fix listedUBUNTU-CVE-2026-22185
SUSELinux Enterprise Module for Basesystem 15 SP7, Linux Enterprise Module for Server Applications 15 SP7openldap2_52.5.20+11-150500.11.38.1SUSE-SU-2026:0256-1
openSUSELeap 15.6openldap2_52.5.20+11-150500.11.38.1SUSE-SU-2026:0256-1
Alpaquita23lmdb0.9.29-r3BELL-CVE-2026-22185
Alpaquita23openldap2.6.3-r8BELL-CVE-2026-22185
Alpaquita25openldap2.6.8-r2BELL-CVE-2026-22185
Alpaquita25, streamlmdb0.9.33-r1BELL-CVE-2026-22185
Alpaquitastreamopenldap2.6.10-r1BELL-CVE-2026-22185

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE · Alpaquita.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

This vulnerability is classified as Moderate rather than Important because its impact and exploitability are limited in scope and consequence. The flaw results in a one-byte heap out-of-bounds read caused by an integer underflow in mdb_load, which is a local, administrative utility rather than a long-running network-exposed service. Exploitation requires local execution and the ability to supply a malformed LMDB input file, significantly reducing the attack surface. While the issue can reliably trigger a process crash and may disclose minimal adjacent heap data, it does not allow memory corruption, privilege escalation, or arbitrary code execution. The confidentiality impact is low and bounded, and the availability impact is confined to the mdb_load invocation itself, not to the OpenLDAP daemon or directory service at runtime.

Red Hat's mitigation

To reduce the risk from this vulnerability, administrators should avoid processing untrusted or externally supplied LMDB database files with mdb_load and restrict its use to trusted, local users only.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 10openldapFix deferred
Red Hat Enterprise Linux 6compat-openldapFix deferred
Red Hat Enterprise Linux 6openldapFix deferred
Red Hat Enterprise Linux 7compat-openldapFix deferred
Red Hat Enterprise Linux 7openldapFix deferred
Red Hat Enterprise Linux 8openldapFix deferred
Red Hat Enterprise Linux 9openldapFix deferred
Red Hat OpenShift Container Platform 4openshift/ose-rhel-coreos-8Fix deferred
Red Hat OpenShift Container Platform 4openshift/ose-rhel-coreos-9Fix deferred

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-22185.

Attack patterns (CAPEC)

  • CAPEC-540 Overread Buffers Likelihood: Low · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON