# 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, v…

- Severity: Critical 9.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 64.5%, higher than 99% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2022-05-04T19:06:09.000Z
- Modified: 2026-10-14T17:17:38.260Z
- Also known as: BIT-OPENLDAP-2022-29155
- Weaknesses: CWE-89
- Assigned by: mitre

## Description

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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- openldap openldap: from 2.0 before 2.5.12; from 2.6.0 before 2.6.2
- debian debian_linux: 9.0; 10.0; 11.0
- netapp h300s_firmware: no versions given
- netapp h500s_firmware: no versions given
- netapp h700s_firmware: no versions given
- netapp h700e_firmware: no versions given
- netapp h410s_firmware: no versions given
- netapp h410c_firmware: no versions given
- openldap (Bitnami): from 2.0.0 before 2.5.12; from 2.6.0 before 2.6.2

## Every score

- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 7.5 High `AV:N/AC:L/Au:N/C:P/I:P/A:P`
- Bitnami Vulnerability Database: rating Critical

## References

- <https://bugs.openldap.org/show_bug.cgi?id=9815> (exploit, advisory, issue-tracking, vendor-advisory)
- <https://www.debian.org/security/2022/dsa-5140> (advisory, third-party-advisory, vendor-advisory)
- <https://lists.debian.org/debian-lts-announce/2022/05/msg00032.html> (advisory, mailing-list, third-party-advisory)
- <https://security.netapp.com/advisory/ntap-20220609-0007/> (advisory, third-party-advisory)
- <https://cert-portal.siemens.com/productcert/html/ssa-398330.html>
- <https://nvd.nist.gov/vuln/detail/CVE-2022-29155> (web)

## Sources

- CVE List: [CVE-2022-29155](https://www.cve.org/CVERecord?id=CVE-2022-29155), CVE Terms of Use, modified 2026-10-14
- NVD: [CVE-2022-29155](https://nvd.nist.gov/vuln/detail/CVE-2022-29155), Public domain, modified 2026-10-14
- Bitnami Vulnerability Database: [BIT-OPENLDAP-2022-29155](https://osv.dev/vulnerability/BIT-OPENLDAP-2022-29155), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2022-29155 · Whole record: https://cve.day/CVE-2022-29155.json · Rebuilt by cve.day 2026-11-25T22:58:11.418Z
