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 CRITICAL 9.8 REMOTE WATCHLIST UPGRADE MITIGATE MITIGATE
CVE-2022-29155 is a critical-severity flaw (CVSS 9.8) affecting openldap, debian linux, h300s firmware. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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.
Why this priority Critical severity EPSS top 1%: very likely to be exploited Public exploit reference Remotely exploitable, no login, no user action On your watchlist A fixed release or distro patch exists.
Risk facts CVSS score 9.8 (Critical) Attack vector Network (remote) Attack complexity Low Privileges needed None User interaction None EPSS exploit chance 64.5% (top 1%) CISA exploited list No Weakness CWE-89 Published 2022-05-04 Last modified 2026-10-14
Share: LinkedIn · X · Reddit
Last updated 2026-10-14 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Timeline 2022-05-04 20:15 UTC Published CVE record published2026-10-14 17:17 UTC Updated Record last modifiedopenldap openldap UPGRADE
Affected: >= 2.0 and < 2.5.12 · >= 2.6.0 and < 2.6.2
Fixed in: 2.5.12, 2.6.2
Safe to downgrade to: a release before 2.0
1. Check installed version
Copy apt-cache policy openldap || rpm -q openldap || openldap --version
2. UPGRADE to 2.5.12 (Debian / Ubuntu)
Copy sudo apt update && sudo apt install --only-upgrade openldap
2. UPGRADE (RHEL / Amazon Linux / Fedora)
Copy sudo dnf upgrade openldap
Note
Copy Distros often backport fixes without changing the version number. Confirm with the distro advisory or changelog.
3. If no update is available yet, DOWNGRADE to a release before 2.0 (Debian / Ubuntu)
Copy apt-cache madison openldap
sudo apt install openldap=<VERSION_BEFORE_2.0>
sudo apt-mark hold openldap
3. If no update is available yet, DOWNGRADE (RHEL / Amazon Linux / Fedora)
Copy dnf --showduplicates list openldap
sudo dnf downgrade openldap-<VERSION_BEFORE_2.0>
sudo dnf versionlock add openldap
Downgrade risk
Copy Downgrading can break dependent software and may reopen older bugs. Read the distro advisory first and test on a non-production host.
After downgrade
Copy Restart the service, and keep the package held until a fixed release ships.
debian debian linux MITIGATE
Affected: 9.0 · 10.0 · 11.0
Fixed in: no fixed release known
Safe to downgrade to: a release before 9.0
Check your OS release
Copy cat /etc/os-release; uname -r
Debian / Ubuntu
Copy sudo apt update && sudo apt full-upgrade
RHEL / Amazon Linux / Fedora
Copy sudo dnf upgrade --refresh
Windows
Copy Install the latest cumulative update from Windows Update
If no patch exists yet
Copy OS downgrades are not safe. Apply the vendor mitigation from the advisory and restrict exposure.
netapp h300s firmware MITIGATE
Affected: all versions
Fixed in: no fixed release known
Safe to downgrade to: no unaffected older release
Check your OS release
Copy cat /etc/os-release; uname -r
Debian / Ubuntu
Copy sudo apt update && sudo apt full-upgrade
RHEL / Amazon Linux / Fedora
Copy sudo dnf upgrade --refresh
Windows
Copy Install the latest cumulative update from Windows Update
If no patch exists yet
Copy OS downgrades are not safe. Apply the vendor mitigation from the advisory and restrict exposure.
netapp h500s firmware MITIGATE
Affected: all versions
Fixed in: no fixed release known
Safe to downgrade to: no unaffected older release
Check your OS release
Copy cat /etc/os-release; uname -r
Debian / Ubuntu
Copy sudo apt update && sudo apt full-upgrade
RHEL / Amazon Linux / Fedora
Copy sudo dnf upgrade --refresh
Windows
Copy Install the latest cumulative update from Windows Update
If no patch exists yet
Copy OS downgrades are not safe. Apply the vendor mitigation from the advisory and restrict exposure.
netapp h700s firmware MITIGATE
Affected: all versions
Fixed in: no fixed release known
Safe to downgrade to: no unaffected older release
Check your OS release
Copy cat /etc/os-release; uname -r
Debian / Ubuntu
Copy sudo apt update && sudo apt full-upgrade
RHEL / Amazon Linux / Fedora
Copy sudo dnf upgrade --refresh
Windows
Copy Install the latest cumulative update from Windows Update
If no patch exists yet
Copy OS downgrades are not safe. Apply the vendor mitigation from the advisory and restrict exposure.
netapp h700e firmware MITIGATE
Affected: all versions
Fixed in: no fixed release known
Safe to downgrade to: no unaffected older release
Check your OS release
Copy cat /etc/os-release; uname -r
Debian / Ubuntu
Copy sudo apt update && sudo apt full-upgrade
RHEL / Amazon Linux / Fedora
Copy sudo dnf upgrade --refresh
Windows
Copy Install the latest cumulative update from Windows Update
If no patch exists yet
Copy OS downgrades are not safe. Apply the vendor mitigation from the advisory and restrict exposure.
Exact fixes by distribution Show all
A distro patch exists: prefer upgrading over downgrading.
Fedora 46 · iodine ·
FIXED · 0.9.0-2.fc46 · FEDORA-2026-4448545972 ·
source Copy sudo dnf upgrade --advisory=FEDORA-2026-4448545972
Fedora ELN · python-idna ·
FIXED · 3.20-1.eln159 · FEDORA-2026-4421e6642f ·
source Copy sudo dnf upgrade --advisory=FEDORA-2026-4421e6642f
Ubuntu 20.04 · openldap · FIXED · 2.4.49+dfsg-2ubuntu1.9
Copy sudo apt update && sudo apt install --only-upgrade openldap
dpkg --compare-versions "$(dpkg-query -W -f='${Version}' openldap)" ge "2.4.49+dfsg-2ubuntu1.9" && echo PATCHED || echo STILL-VULNERABLE
Ubuntu 22.04 · openldap · FIXED · 2.5.11+dfsg-1~exp1ubuntu3.1
Copy sudo apt update && sudo apt install --only-upgrade openldap
dpkg --compare-versions "$(dpkg-query -W -f='${Version}' openldap)" ge "2.5.11+dfsg-1~exp1ubuntu3.1" && echo PATCHED || echo STILL-VULNERABLE
Debian 12 · openldap · FIXED · 2.5.12+dfsg-1
Copy sudo apt update && sudo apt install --only-upgrade openldap
dpkg --compare-versions "$(dpkg-query -W -f='${Version}' openldap)" ge "2.5.12+dfsg-1" && echo PATCHED || echo STILL-VULNERABLE
Debian 13 · openldap · FIXED · 2.5.12+dfsg-1
Copy sudo apt update && sudo apt install --only-upgrade openldap
dpkg --compare-versions "$(dpkg-query -W -f='${Version}' openldap)" ge "2.5.12+dfsg-1" && echo PATCHED || echo STILL-VULNERABLE
RHEL 6 · compat-openldap · DEFERRED
RHEL 6 · openldap · DEFERRED
RHEL 7 · compat-openldap · DEFERRED
RHEL 7 · openldap · DEFERRED
RHEL 8 · openldap · NOT AFFECTED
Alpine 3.20 · openldap · FIXED · openldap-2.6.2-r0
Copy apk add --upgrade openldap
apk info -v openldap
Alpine 3.21 · openldap · FIXED · openldap-2.6.2-r0
Copy apk add --upgrade openldap
apk info -v openldap
Alpine 3.22 · openldap · FIXED · openldap-2.6.2-r0
Copy apk add --upgrade openldap
apk info -v openldap
Alpine 3.23 · openldap · FIXED · openldap-2.6.2-r0
Copy apk add --upgrade openldap
apk info -v openldap
Copy sudo yum update --advisory=ALAS2-2022-1796
Copy sudo yum update --advisory=ALAS-2022-1586
Verify at the official source NVD ·
CVE Program ·
Report a problem with this page Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems. Quick answers How do I fix CVE-2022-29155? openldap: upgrade to 2.5.12, 2.6.2; debian linux: mitigate or apply the listed mitigation; h300s firmware: mitigate or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2022-29155 being exploited? CVE-2022-29155 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2022-29155 affect? CVE-2022-29155 affects openldap, debian linux, h300s firmware. Severity is critical (CVSS 9.8). 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 sear
How urgent is CVE-2022-29155? Priority 74/100. Critical severity; EPSS top 1%: very likely to be exploited; Public exploit reference; Remotely exploitable, no login, no user action; On your watchlist
Software pages Debian vulnerabilities · OpenLDAP vulnerabilities
Related CVEs CVE-2023-2953 HIGH 7.5 DOWNGRADE MITIGATE A vulnerability was found in openldapCVE-2021-27212 HIGH 7.5 UPGRADE MITIGATE In OpenLDAP through 2.4.57 and 2.5.x through 2.5.1alpha, an assertion failure in slapd can occur in the issuerCVE-2020-36230 HIGH 7.5 UPGRADE MITIGATE A flaw was discovered in OpenLDAP before 2.4.57 leading in an assertion failure in slapd in the X.509 DN parsiCVE-2020-36229 HIGH 7.5 UPGRADE MITIGATE A flaw was discovered in ldap_X509dn2bv in OpenLDAP before 2.4.57 leading to a slapd crash in the X.509 DN parCVE-2020-36228 HIGH 7.5 UPGRADE MITIGATE An integer underflow was discovered in OpenLDAP before 2.4.57 leading to a slapd crash in the Certificate ListReferences ← Back to latest CVEs