Free and open · new CVEs checked every 20 minutesStatusRSSOpen dataContact

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

74
This week
CRITICAL 9.8REMOTEWATCHLISTUPGRADEMITIGATEMITIGATE

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 score9.8 (Critical)
Attack vectorNetwork (remote)
Attack complexityLow
Privileges neededNone
User interactionNone
EPSS exploit chance64.5% (top 1%)
CISA exploited listNo
WeaknessCWE-89
Published2022-05-04
Last modified2026-10-14
Publisher (CNA): MITRE · Vendor: debian · netapp · openldap

Share: LinkedIn · X · Reddit

Last updated 2026-10-14 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score

Am I affected?

Timeline

openldap 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
apt-cache policy openldap || rpm -q openldap || openldap --version
2. UPGRADE to 2.5.12 (Debian / Ubuntu)
sudo apt update && sudo apt install --only-upgrade openldap
2. UPGRADE (RHEL / Amazon Linux / Fedora)
sudo dnf upgrade openldap
Note
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)
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)
dnf --showduplicates list openldap sudo dnf downgrade openldap-<VERSION_BEFORE_2.0> sudo dnf versionlock add openldap
Downgrade risk
Downgrading can break dependent software and may reopen older bugs. Read the distro advisory first and test on a non-production host.
After downgrade
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
cat /etc/os-release; uname -r
Debian / Ubuntu
sudo apt update && sudo apt full-upgrade
RHEL / Amazon Linux / Fedora
sudo dnf upgrade --refresh
Windows
Install the latest cumulative update from Windows Update
If no patch exists yet
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
cat /etc/os-release; uname -r
Debian / Ubuntu
sudo apt update && sudo apt full-upgrade
RHEL / Amazon Linux / Fedora
sudo dnf upgrade --refresh
Windows
Install the latest cumulative update from Windows Update
If no patch exists yet
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
cat /etc/os-release; uname -r
Debian / Ubuntu
sudo apt update && sudo apt full-upgrade
RHEL / Amazon Linux / Fedora
sudo dnf upgrade --refresh
Windows
Install the latest cumulative update from Windows Update
If no patch exists yet
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
cat /etc/os-release; uname -r
Debian / Ubuntu
sudo apt update && sudo apt full-upgrade
RHEL / Amazon Linux / Fedora
sudo dnf upgrade --refresh
Windows
Install the latest cumulative update from Windows Update
If no patch exists yet
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
cat /etc/os-release; uname -r
Debian / Ubuntu
sudo apt update && sudo apt full-upgrade
RHEL / Amazon Linux / Fedora
sudo dnf upgrade --refresh
Windows
Install the latest cumulative update from Windows Update
If no patch exists yet
OS downgrades are not safe. Apply the vendor mitigation from the advisory and restrict exposure.

Exact fixes by distribution

A distro patch exists: prefer upgrading over downgrading.
Fedora 46 · iodine · FIXED · 0.9.0-2.fc46 · FEDORA-2026-4448545972 · source
sudo dnf upgrade --advisory=FEDORA-2026-4448545972
Fedora ELN · python-idna · FIXED · 3.20-1.eln159 · FEDORA-2026-4421e6642f · source
sudo dnf upgrade --advisory=FEDORA-2026-4421e6642f
Ubuntu 20.04 · openldap · FIXED · 2.4.49+dfsg-2ubuntu1.9
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
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
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
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
apk add --upgrade openldap apk info -v openldap
Alpine 3.21 · openldap · FIXED · openldap-2.6.2-r0
apk add --upgrade openldap apk info -v openldap
Alpine 3.22 · openldap · FIXED · openldap-2.6.2-r0
apk add --upgrade openldap apk info -v openldap
Alpine 3.23 · openldap · FIXED · openldap-2.6.2-r0
apk add --upgrade openldap apk info -v openldap
Amazon Linux 2 · see advisory · FIXED · ALAS2-2022-1796 · source
sudo yum update --advisory=ALAS2-2022-1796
Amazon Linux 1 · see advisory · FIXED · ALAS-2022-1586 · source
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

References

← Back to latest CVEs

Get the weekly exploited-CVE digest by emailThe CVEs being attacked this week and how to fix them. No spam, unsubscribe any time.