Packages
- python-ldap - LDAP interface module for Python
Details
It was discovered that Python LDAP incorrectly handled special characters
in the special character filtering function. A remote attacker could
possibly use this issue to perform LDAP injection attacks.
(CVE-2025-61911)
Arad Inbar discovered that Python LDAP incorrectly escaped NUL character
bytes. An attacker could possibly use this issue to cause a denial of
service. (CVE-2025-61912)
It was discovered that Python LDAP incorrectly handled special characters
in the special character filtering function. A remote attacker could
possibly use this issue to perform LDAP injection attacks.
(CVE-2025-61911)
Arad Inbar discovered that Python LDAP incorrectly escaped NUL character
bytes. An attacker could possibly use this issue to cause a denial of
service. (CVE-2025-61912)
Update instructions
In general, a standard system update will make all the necessary changes.
Learn more about how to get the fixes.The problem can be corrected by updating your system to the following package versions:
| Ubuntu Release | Package Version | ||
|---|---|---|---|
| 25.10 questing | python3-ldap – 3.4.4-1ubuntu0.25.10.1 | ||
| 25.04 plucky | python3-ldap – 3.4.4-1ubuntu0.25.04.1 | ||
| 24.04 LTS noble | python3-ldap – 3.4.4-1ubuntu0.24.04.1 | ||
| 22.04 LTS jammy | python3-ldap – 3.2.0-4ubuntu7.2 | ||
| 20.04 LTS focal | python3-ldap – 3.2.0-4ubuntu2.1+esm1 | ||
| 18.04 LTS bionic | python-ldap – 3.0.0-1ubuntu0.2+esm1 | ||
| python3-ldap – 3.0.0-1ubuntu0.2+esm1 | |||
| 16.04 LTS xenial | python-ldap – 2.4.22-0.1ubuntu0.1~esm1 | ||
Reduce your security exposure
Ubuntu Pro provides ten-year security coverage to 25,000+ packages in Main and Universe repositories, and it is free for up to five machines.