CVE-2022-29155: In OpenLDAP 2.x before 2.5.12 and 2.6.x before 2.6.2, a SQL injection vulnerability exists in the experimental back-sql backend to slapd,…

CVE-2022-29155 affects 81 listed versions of OpenLDAP in the Dawnsentry catalogue.

9.8CVSS critical
None knownexploitation
64%EPSS (next 30 days)
4 May 2022published

Affected products and versions

The versions in the Dawnsentry catalogue this CVE affects, judged from the vendor's own advisory where there is one, otherwise from the CVE record and NVD, as each version's own page says.

OpenLDAP

81 of 134 listed versions are affected. Fixed in 2.5.12. The newest release, 2.7.2, is not affected.

2.5.11 2.5.10 2.5.9 2.5.8 2.5.7 2.5.6 2.4.59 2.4.58 2.4.57 2.4.56 2.4.55 2.4.54 2.4.53 2.4.52 2.4.51 2.4.50 2.4.49 2.4.48 2.4.47 2.4.46-10.el8 2.4.46 2.3.43 2.3.42 2.3.41 2.3.40 2.3.39 2.3.38 2.3.37 2.3.36 2.3.35 2.3.34 2.3.33 2.3.32 2.3.31 2.3.30 2.3.29 2.2.29_rev_1.134 2.2.28_r2 2.2.27 2.2.26 2.2.25 2.2.24 2.2.23 2.2.22 2.2.21 2.2.20 2.2.19 2.2.18 2.2.17 2.2.16 2.2.15 2.1.30 2.1.29 2.1.28 2.1.27 2.1.26 2.1.25 2.1.24 2.1.23 2.1.22 and 21 more

What it is

In OpenLDAP 2.x before 2.5.12 and 2.6.x before 2.6.2, a SQL injection vulnerability exists in the experimental back-sql backend to slapd, via a SQL statement within an LDAP query. This can occur during an LDAP search operation when the search filter is processed, due to a lack of proper escaping.

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H (NVD)

Published by MITRE on 4 May 2022. Last changed 14 October 2026.

Sources

Check one version you run: look CVE-2022-29155 up, or pick a product and version in the quick lookup.

Updated 2 December 2026.