Out-of-bounds Read Affecting libldap-2_5-0 package, versions <2.5.20+11-150500.11.38.1


Severity

Recommended
medium

Based on SUSE Linux Enterprise Server security rating.

Threat Intelligence

EPSS
0.15% (4th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-SLES157-LIBLDAP250-15077170
  • published24 Jan 2026
  • disclosed22 Jan 2026

Introduced: 22 Jan 2026

CVE-2026-22185  (opens in a new tab)
CWE-125  (opens in a new tab)
CWE-191  (opens in a new tab)

How to fix?

Upgrade SLES:15.7 libldap-2_5-0 to version 2.5.20+11-150500.11.38.1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream libldap-2_5-0 package and not the libldap-2_5-0 package as distributed by SLES. See How to fix? for SLES:15.7 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1