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.
CVE-2022-29155
Score 9.8 from GitHub Security Advisory (severity: CRITICAL) published 2022-05-05. NVD baseline CVSS 9.8; sources differ by 0.0.
- High exploitation likelihood — EPSS 64%
A fix is available — apply it.
- CVSS v3
- 9.8
- EG Score
- 9.8(medium)
- EG Risk
- 74(Track*)EG Risk 74/100SSVC: Track*
EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).
How it’s computedSeverity98% × 45%Exploitation64% × 40%Automatability30% × 15%Action: Watch closely — could escalate to Attend. - EPSS PROB
- 64%
- EPSS %ILE
- 99%
- KEV
- Not listed
Published
May 4, 2022
Last Modified
November 21, 2024
Advisory Details (4)
Auto-updated Sep 18, 2026[SECURITY] [DSA 5140-1] openldap security update
https://www.debian.org/security/2022/dsa-5140[SECURITY] [DLA 3017-1] openldap security update
https://lists.debian.org/debian-lts-announce/2022/05/msg00032.html9815 – Serious SQL injection vulnerability in back-sql
https://bugs.openldap.org/show_bug.cgi?id=9815Patch Availability(2)
| Vendor / Ecosystem | Fixed in / Patch | Released | Source |
|---|---|---|---|
| ubuntu | slapd (2.5.11+dfsg-1~exp1ubuntu3.1) @ jammy | 2026-05-25 | ubuntu |
| ubuntu | slapd (2.4.42+dfsg-2ubuntu3.13+esm1) @ xenial | 2026-05-25 | ubuntu |
Patches are aggregated from vendor advisories (Red Hat, Microsoft, Cisco, GitHub) and package ecosystems (OSV, GHSA). Multiple rows for the same upstream release have been deduplicated.
Affected Packages
(16 across 16 ecosystems)
Alpine:v3.15(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| openldap | — | 2.6.2-r0 | — |
Alpine:v3.16(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| openldap | — | 2.6.2-r0 | — |
Alpine:v3.17(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| openldap | — | 2.6.2-r0 | — |
Alpine:v3.18(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| openldap | — | 2.6.2-r0 | — |
Alpine:v3.19(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| openldap | — | 2.6.2-r0 | — |
Alpine:v3.20(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| openldap | — | 2.6.2-r0 | — |
Alpine:v3.21(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| openldap | — | 2.6.2-r0 | — |
Alpine:v3.22(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| openldap | — | 2.6.2-r0 | — |
Alpine:v3.23(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| openldap | — | 2.6.2-r0 | — |
Alpine:v3.24(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| openldap | — | 2.6.2-r0 | — |
Debian:10(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| openldap | 2.4.47+dfsg-3 ... 2.4.47+dfsg-3+deb10u6 (9 versions) | 2.4.47+dfsg-3+deb10u7 | — |
Debian:11(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| openldap | 2.4.57+dfsg-3, 2.4.57+dfsg-3+deb11u1~bpo10+1 | 2.4.57+dfsg-3+deb11u1 | — |
Debian:12(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| openldap | — | 2.5.12+dfsg-1 | — |
Debian:13(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| openldap | — | 2.5.12+dfsg-1 | — |
Debian:14(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| openldap | — | 2.5.12+dfsg-1 | — |
Debian:9(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| openldap | 2.4.44+dfsg-5 ... 2.4.44+dfsg-5+deb9u8 (10 versions) | 2.4.44+dfsg-5+deb9u9 | — |
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
All Vendor Advisories
(3)
Every vendor that published an advisory referencing this CVE — pulled from our cve_vendor_advisories aggregation. Click any row for the vendor's original advisory page.
- Microsoft MSRCCVE-2022-291552022-05-13
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.
- UbuntuUSN-5424-1MEDIUM
OpenLDAP vulnerability
- UbuntuUSN-5424-2MEDIUM
OpenLDAP vulnerability
Data Freshness Timeline
(refreshed 6× in last 7d / 23× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
Showing the most recent 100 of 128 total refreshes for this CVE.
- 2026-09-24 23:43 UTCOSV refresh
- 2026-09-24 14:00 UTCEPSS rescore
- 2026-09-23 13:45 UTCEPSS rescore
- 2026-09-22 14:44 UTCEPSS rescore
- 2026-09-20 20:13 UTCEPSS rescore
- 2026-09-18 19:24 UTCEPSS rescore
- 2026-09-16 14:05 UTCEPSS rescore
- 2026-09-15 03:06 UTCEPSS rescore
- 2026-09-13 16:44 UTCEPSS rescore
- 2026-09-12 14:57 UTCEPSS rescore
- 2026-09-11 14:49 UTCEPSS rescore
- 2026-09-11 09:33 UTCEPSS rescore
- 2026-09-06 13:45 UTCEPSS rescore
- 2026-09-05 15:25 UTCEPSS rescore
- 2026-09-05 15:21 UTCOSV refresh
- 2026-09-04 13:57 UTCEPSS rescore
- 2026-09-04 13:57 UTCEPSS rescore
- 2026-09-02 14:09 UTCEPSS rescore
- 2026-09-01 13:51 UTCEPSS rescore
- 2026-08-30 19:14 UTCEPSS rescore
- 2026-08-30 01:19 UTCEPSS rescore
- 2026-08-28 21:38 UTCEPSS rescore
- 2026-08-26 14:43 UTCEPSS rescore
- 2026-08-24 14:13 UTCEPSS rescore
- 2026-08-21 23:46 UTCEPSS rescore
Show 75 moreShow fewer
- 2026-08-20 22:52 UTCEPSS rescore
- 2026-08-19 17:01 UTCEPSS rescore
- 2026-08-19 01:59 UTCOSV refresh
- 2026-08-16 02:11 UTCEPSS rescore
- 2026-08-15 01:27 UTCEPSS rescore
- 2026-08-13 21:57 UTCEPSS rescore
- 2026-08-12 13:48 UTCEPSS rescore
- 2026-08-11 13:38 UTCEPSS rescore
- 2026-08-07 16:24 UTCEPSS rescore
- 2026-08-05 19:15 UTCEPSS rescore
- 2026-08-03 21:27 UTCOSV refresh
- 2026-07-30 16:25 UTCEPSS rescore
- 2026-07-30 01:28 UTCEPSS rescore
- 2026-07-28 15:33 UTCEPSS rescore
- 2026-07-26 14:52 UTCEPSS rescore
- 2026-07-25 14:15 UTCEPSS rescore
- 2026-07-24 14:15 UTCEPSS rescore
- 2026-07-24 14:15 UTCEPSS rescore
- 2026-07-23 02:10 UTCEG score recompute
- 2026-07-22 22:57 UTCEG score recompute
- 2026-07-22 14:06 UTCEPSS rescore
- 2026-07-22 14:06 UTCEPSS rescore
- 2026-07-21 15:22 UTCEPSS rescore
- 2026-07-21 15:22 UTCEPSS rescore
- 2026-07-20 17:05 UTCEPSS rescore
- 2026-07-17 13:29 UTCOSV refresh
- 2026-07-15 16:56 UTCEPSS rescore
- 2026-07-15 16:56 UTCEPSS rescore
- 2026-07-15 01:58 UTCEPSS rescore
- 2026-07-15 01:58 UTCEPSS rescore
- 2026-07-12 05:44 UTCEPSS rescore
- 2026-07-12 05:44 UTCEPSS rescore
- 2026-07-11 08:25 UTCEPSS rescore
- 2026-07-11 08:25 UTCEPSS rescore
- 2026-07-09 19:07 UTCEPSS rescore
- 2026-07-08 15:12 UTCEPSS rescore
- 2026-07-07 13:44 UTCEPSS rescore
- 2026-07-04 06:29 UTCEPSS rescore
- 2026-07-04 06:29 UTCEPSS rescore
- 2026-07-01 15:04 UTCEPSS rescore
- 2026-06-29 14:04 UTCEPSS rescore
- 2026-06-29 12:02 UTCOSV refresh
- 2026-06-27 03:07 UTCEPSS rescore
- 2026-06-25 13:48 UTCEPSS rescore
- 2026-06-25 13:48 UTCEPSS rescore
- 2026-06-24 14:03 UTCEPSS rescore
- 2026-06-24 14:03 UTCEPSS rescore
- 2026-06-23 21:31 UTCEPSS rescore
- 2026-06-23 21:31 UTCEPSS rescore
- 2026-06-21 01:58 UTCEPSS rescore
- 2026-06-21 01:58 UTCEPSS rescore
- 2026-06-18 17:51 UTCEPSS rescore
- 2026-06-18 17:51 UTCEPSS rescore
- 2026-06-17 17:51 UTCEPSS rescore
- 2026-06-17 17:51 UTCEPSS rescore
- 2026-06-16 17:51 UTCEPSS rescore
- 2026-06-16 17:51 UTCEPSS rescore
- 2026-06-15 17:46 UTCEPSS rescore
- 2026-06-14 23:15 UTCEPSS rescore
- 2026-06-13 22:58 UTCEPSS rescore
- 2026-06-12 23:10 UTCEPSS rescore
- 2026-06-12 23:10 UTCEPSS rescore
- 2026-06-12 02:57 UTCOSV refresh
- 2026-06-11 13:58 UTCEPSS rescore
- 2026-06-11 13:58 UTCEPSS rescore
- 2026-06-10 22:16 UTCEPSS rescore
- 2026-06-10 13:20 UTCEPSS rescore
- 2026-06-07 15:23 UTCEPSS rescore
- 2026-06-07 15:23 UTCEPSS rescore
- 2026-06-07 15:23 UTCEPSS rescore
- 2026-06-06 13:46 UTCEPSS rescore
- 2026-06-06 13:46 UTCEPSS rescore
- 2026-06-05 22:45 UTCEPSS rescore
- 2026-06-05 22:45 UTCEPSS rescore
- 2026-06-05 06:09 UTCEPSS rescore
Related CVEs(same product + same CWE)
Same product
10 shownDebian:10:openldap
- CVE-2020-36228NVD 7.5EG 9.0EPSS p100CRITICAL
- CVE-2020-36221NVD 7.5EG 9.0EPSS p100CRITICAL
- CVE-2020-36227NVD 7.5EG 8.8EPSS p100HIGH
- CVE-2020-36222NVD 7.5EG 8.8EPSS p100HIGH
- CVE-2021-27212NVD 7.5EG 8.4EPSS p99HIGH
- CVE-2020-25710EG 7.5HIGH
- CVE-2020-25709EG 7.5HIGH
- CVE-2020-36230EG 7.5EPSS p96HIGH
- CVE-2020-36229EG 7.5EPSS p91HIGH
- CVE-2020-36226EG 7.5EPSS p91HIGH
Frequently asked(5)
What is CVE-2022-29155?
When was CVE-2022-29155 disclosed?
Is CVE-2022-29155 actively exploited?
What is the CVSS score of CVE-2022-29155?
How do I remediate CVE-2022-29155?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2022-29155
Is Your Infrastructure Affected by CVE-2022-29155?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.