Ubuntu Security Notice
USN-7828-1
python-ldap vulnerabilities
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)
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Ubuntu:Pro:16.04:LTS | python-ldap | All versions before 2.4.22-0.1ubuntu0.1~esm1 (fixed in 2.4.22-0.1ubuntu0.1~esm1) |
| Ubuntu:Pro:18.04:LTS | python-ldap | All versions before 3.0.0-1ubuntu0.2+esm1 (fixed in 3.0.0-1ubuntu0.2+esm1) |
| Ubuntu:Pro:20.04:LTS | python-ldap | All versions before 3.2.0-4ubuntu2.1+esm1 (fixed in 3.2.0-4ubuntu2.1+esm1) |
| Ubuntu:22.04:LTS | python-ldap | All versions before 3.2.0-4ubuntu7.2 (fixed in 3.2.0-4ubuntu7.2) |
| Ubuntu:24.04:LTS | python-ldap | All versions before 3.4.4-1ubuntu0.24.04.1 (fixed in 3.4.4-1ubuntu0.24.04.1) |
| Ubuntu:25.10 | python-ldap | All versions before 3.4.4-1ubuntu0.25.10.1 (fixed in 3.4.4-1ubuntu0.25.10.1) |