python3-ldap: python-ldap is a lightweight directory access protocol (LDAP) client APIfor Python
CVE-2025-61911 is fixed in 4 products on 1 platform, first by python-ldap 3.0.0-1ubuntu0.2+esm1, released October 10, 2025. It is not reported as exploited. Patch Radar priority: Routine.
python-ldap is a lightweight directory access protocol (LDAP) client APIfor Python. In versions prior to 3.4.5, the sanitization method`ldap.filter.escape_filter_chars` can be tricked to skip escaping ofspecial characters when a crafted `list` or `dict` is supplied as the`assertion_value` parameter, and the non-default `escape_mode=1` isconfigured. The method `ldap.filter.escape_filter_chars` supports 3different escaping modes. `escape_mode=0` (default) and `escape_mode=2`happen to raise exceptions when a `list` or `dict` object is supplied asthe `assertion_value` parameter. However, `escape_mode=1` computes withoutperforming adequate logic to ensure a fully escaped return value. If anapplication relies on the vulnerable method in the `python-ldap` library toescape untrusted user input, an attacker might be able to abuse thevulnerability to launch ldap injection attacks which could potentiallydisclose or manipulate ldap data meant to be inaccessible to them. Version3.4.5 fixes the issue by adding a type check at the start of the`ldap.filter.escape_filter_chars` method to raise an exception when thesupplied `assertion_value` parameter is not of type `str`.
Where it's fixed
| Product | Fixed in | Fix | Released |
|---|---|---|---|
| Linux | |||
| python-ldap · Debian 12.15 (bookworm) | 3.4.3-2+deb12u1 | DEBIAN-CVE-2025-61911 | Oct 10, 2025 |
| python-ldap · Debian 13.5 (trixie) | 3.4.4-1+deb13u1 | DEBIAN-CVE-2025-61911 | Oct 10, 2025 |
| python-ldap · Debian 14 | 3.4.5-1 | DEBIAN-CVE-2025-61911 | Oct 10, 2025 |
| python-ldap · Ubuntu 18.04.6 LTS (bionic) | 3.0.0-1ubuntu0.2+esm1 | python-ldap 3.0.0-1ubuntu0.2+esm1 | Oct 10, 2025 |
| python-ldap · opensuse-leap 15.6 | 3.4.0-150400.3.3.1 | SUSE-SU-2025:3714-1 | Oct 22, 2025 |
| python-ldap · opensuse-leap 16.0 | 3.4.4-160000.3.1 | OPENSUSE-SU-2026:20421-1 | Mar 25, 2026 |
| python-ldap · sles 15.6 | 3.4.0-150400.3.3.1 | SUSE-SU-2025:3714-1 | Oct 22, 2025 |
| python-ldap · sles 16.0 | 3.4.4-160000.3.1 | SUSE-SU-2026:20933-1 | Mar 25, 2026 |
| python-pyldap · Ubuntu 18.04.6 LTS (bionic) | 3.0.0-1ubuntu0.2+esm1 | python-pyldap 3.0.0-1ubuntu0.2+esm1 | Oct 10, 2025 |
| python3-ldap · Ubuntu 18.04.6 LTS (bionic) | 3.0.0-1ubuntu0.2+esm1 | python3-ldap 3.0.0-1ubuntu0.2+esm1 | Oct 10, 2025 |
| python3-ldap · Ubuntu 20.04 LTS (focal) | 3.2.0-4ubuntu2.1+esm1 | python3-ldap 3.2.0-4ubuntu2.1+esm1 | Oct 10, 2025 |
| python3-ldap · Ubuntu 22.04.1 LTS (jammy) | 3.2.0-4ubuntu7.2 | python3-ldap 3.2.0-4ubuntu7.2 | Oct 10, 2025 |
| python3-ldap · Ubuntu 24.04.5 LTS (noble) | 3.4.4-1ubuntu0.24.04.1 | python3-ldap 3.4.4-1ubuntu0.24.04.1 | Oct 10, 2025 |
| python3-ldap · Ubuntu 25.04 (plucky) | 3.4.4-1ubuntu0.25.04.1 | python3-ldap 3.4.4-1ubuntu0.25.04.1 | Jan 16, 2026 |
| python3-ldap · Ubuntu 25.10 (questing) | 3.4.4-1ubuntu0.25.10.1 | python3-ldap 3.4.4-1ubuntu0.25.10.1 | Oct 10, 2025 |
| python3-pyldap · Ubuntu 18.04.6 LTS (bionic) | 3.0.0-1ubuntu0.2+esm1 | python3-pyldap 3.0.0-1ubuntu0.2+esm1 | Oct 10, 2025 |
| python3-pyldap · Ubuntu 20.04 LTS (focal) | 3.2.0-4ubuntu2.1+esm1 | python3-pyldap 3.2.0-4ubuntu2.1+esm1 | Oct 10, 2025 |
| python3-pyldap · Ubuntu 22.04.1 LTS (jammy) | 3.2.0-4ubuntu7.2 | python3-pyldap 3.2.0-4ubuntu7.2 | Oct 10, 2025 |
| python3-pyldap · Ubuntu 24.04.5 LTS (noble) | 3.4.4-1ubuntu0.24.04.1 | python3-pyldap 3.4.4-1ubuntu0.24.04.1 | Oct 10, 2025 |
| python3-pyldap · Ubuntu 25.04 (plucky) | 3.4.4-1ubuntu0.25.04.1 | python3-pyldap 3.4.4-1ubuntu0.25.04.1 | Jan 16, 2026 |
| python3-pyldap · Ubuntu 25.10 (questing) | 3.4.4-1ubuntu0.25.10.1 | python3-pyldap 3.4.4-1ubuntu0.25.10.1 | Oct 10, 2025 |
Patch Radar data is free to use with attribution. Terms and how to credit it.
Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.