# CVE-2025-61912: python3-ldap: python-ldap is a lightweight directory access protocol (LDAP) client APIfor Python

CVE-2025-61912 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.

- Web page: https://patchblox.com/security/cve/CVE-2025-61912
- Priority: Routine
- CVSS: 5.3 (Medium)
- EPSS: 0.0046
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Oct 10, 2025

## Description

python-ldap is a lightweight directory access protocol (LDAP) client APIfor Python. In versions prior to 3.4.5, ldap.dn.escape_dn_chars() escapes\x00 incorrectly by emitting a backslash followed by a literal NUL byteinstead of the RFC-4514 hex form \00. Any application that uses this helperto construct DNs from untrusted input can be made to consistently failbefore a request is sent to the LDAP server (e.g., AD), resulting in aclient-side denial of service. Version 3.4.5 contains a patch for theissue.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | python-ldap Debian 12.15 (bookworm) | 3.4.3-2+deb12u1 | [DEBIAN-CVE-2025-61912](https://patchblox.com/security/data/fix/linux/debian-cve-2025-61912.md) | Oct 10, 2025 |
| Linux | python-ldap Debian 13.5 (trixie) | 3.4.4-1+deb13u1 | [DEBIAN-CVE-2025-61912](https://patchblox.com/security/data/fix/linux/debian-cve-2025-61912.md) | Oct 10, 2025 |
| Linux | python-ldap Debian 14 | 3.4.5-1 | [DEBIAN-CVE-2025-61912](https://patchblox.com/security/data/fix/linux/debian-cve-2025-61912.md) | Oct 10, 2025 |
| Linux | python-ldap Ubuntu 18.04.6 LTS (bionic) | 3.0.0-1ubuntu0.2+esm1 | [python-ldap 3.0.0-1ubuntu0.2+esm1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-python-ldap-3.0.0-1ubuntu0.2-esm1.md) | Oct 10, 2025 |
| Linux | python-ldap opensuse-leap 15.6 | 3.4.0-150400.3.3.1 | [SUSE-SU-2025:3714-1](https://patchblox.com/security/data/fix/linux/suse-su-2025-3714-1.md) | Oct 22, 2025 |
| Linux | python-ldap opensuse-leap 16.0 | 3.4.4-160000.3.1 | [OPENSUSE-SU-2026:20421-1](https://patchblox.com/security/data/fix/linux/opensuse-su-2026-20421-1.md) | Mar 25, 2026 |
| Linux | python-ldap sles 15.6 | 3.4.0-150400.3.3.1 | [SUSE-SU-2025:3714-1](https://patchblox.com/security/data/fix/linux/suse-su-2025-3714-1.md) | Oct 22, 2025 |
| Linux | python-ldap sles 16.0 | 3.4.4-160000.3.1 | [SUSE-SU-2026:20933-1](https://patchblox.com/security/data/fix/linux/suse-su-2026-20933-1.md) | Mar 25, 2026 |
| Linux | python-pyldap Ubuntu 18.04.6 LTS (bionic) | 3.0.0-1ubuntu0.2+esm1 | [python-pyldap 3.0.0-1ubuntu0.2+esm1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-python-pyldap-3.0.0-1ubuntu0.2-esm1.md) | Oct 10, 2025 |
| Linux | python3-ldap Ubuntu 18.04.6 LTS (bionic) | 3.0.0-1ubuntu0.2+esm1 | [python3-ldap 3.0.0-1ubuntu0.2+esm1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-python3-ldap-3.0.0-1ubuntu0.2-esm1.md) | Oct 10, 2025 |
| Linux | python3-ldap Ubuntu 20.04 LTS (focal) | 3.2.0-4ubuntu2.1+esm1 | [python3-ldap 3.2.0-4ubuntu2.1+esm1](https://patchblox.com/security/data/fix/linux/ubuntu-focal-python3-ldap-3.2.0-4ubuntu2.1-esm1.md) | Oct 10, 2025 |
| Linux | python3-ldap Ubuntu 22.04.1 LTS (jammy) | 3.2.0-4ubuntu7.2 | [python3-ldap 3.2.0-4ubuntu7.2](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-python3-ldap-3.2.0-4ubuntu7.2.md) | Oct 10, 2025 |
| Linux | python3-ldap Ubuntu 24.04.5 LTS (noble) | 3.4.4-1ubuntu0.24.04.1 | [python3-ldap 3.4.4-1ubuntu0.24.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-noble-python3-ldap-3.4.4-1ubuntu0.24.04.1.md) | Oct 10, 2025 |
| Linux | python3-ldap Ubuntu 25.04 (plucky) | 3.4.4-1ubuntu0.25.04.1 | [python3-ldap 3.4.4-1ubuntu0.25.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-plucky-python3-ldap-3.4.4-1ubuntu0.25.04.1.md) | Jan 16, 2026 |
| Linux | python3-ldap Ubuntu 25.10 (questing) | 3.4.4-1ubuntu0.25.10.1 | [python3-ldap 3.4.4-1ubuntu0.25.10.1](https://patchblox.com/security/data/fix/linux/ubuntu-questing-python3-ldap-3.4.4-1ubuntu0.25.10.1.md) | Oct 10, 2025 |
| Linux | python3-pyldap Ubuntu 18.04.6 LTS (bionic) | 3.0.0-1ubuntu0.2+esm1 | [python3-pyldap 3.0.0-1ubuntu0.2+esm1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-python3-pyldap-3.0.0-1ubuntu0.2-esm1.md) | Oct 10, 2025 |
| Linux | python3-pyldap Ubuntu 20.04 LTS (focal) | 3.2.0-4ubuntu2.1+esm1 | [python3-pyldap 3.2.0-4ubuntu2.1+esm1](https://patchblox.com/security/data/fix/linux/ubuntu-focal-python3-pyldap-3.2.0-4ubuntu2.1-esm1.md) | Oct 10, 2025 |
| Linux | python3-pyldap Ubuntu 22.04.1 LTS (jammy) | 3.2.0-4ubuntu7.2 | [python3-pyldap 3.2.0-4ubuntu7.2](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-python3-pyldap-3.2.0-4ubuntu7.2.md) | Oct 10, 2025 |
| Linux | python3-pyldap Ubuntu 24.04.5 LTS (noble) | 3.4.4-1ubuntu0.24.04.1 | [python3-pyldap 3.4.4-1ubuntu0.24.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-noble-python3-pyldap-3.4.4-1ubuntu0.24.04.1.md) | Oct 10, 2025 |
| Linux | python3-pyldap Ubuntu 25.04 (plucky) | 3.4.4-1ubuntu0.25.04.1 | [python3-pyldap 3.4.4-1ubuntu0.25.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-plucky-python3-pyldap-3.4.4-1ubuntu0.25.04.1.md) | Jan 16, 2026 |
| Linux | python3-pyldap Ubuntu 25.10 (questing) | 3.4.4-1ubuntu0.25.10.1 | [python3-pyldap 3.4.4-1ubuntu0.25.10.1](https://patchblox.com/security/data/fix/linux/ubuntu-questing-python3-pyldap-3.4.4-1ubuntu0.25.10.1.md) | Oct 10, 2025 |

---

Data as of 2026-11-10T01:44:33Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

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.
