
CVE catalog
CVE-2025-61912
Python LDAP vulnerabilities
- Severity
- Medium · CVSS 5.5
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.46% · Oct 25, 2026
python-ldap is a lightweight directory access protocol (LDAP) client API for 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 byte instead of the RFC-4514 hex form \00. Any application that uses this helper to construct DNs from untrusted input can be made to consistently fail before a request is sent to the LDAP server (e.g., AD), resulting in a client-side denial of service. Version 3.4.5 contains a patch for the issue.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | python-ldap | sid | 3.4.8-1 | fixed |
| Debian | python-ldap | forky | 3.4.8-1 | fixed |
| Debian | python-ldap | trixie | 3.4.4-1+deb13u1 | fixed |
| Debian | python-ldap | bookworm | 3.4.3-2+deb12u1 | fixed |
| Ubuntu | python-ldap | noble | Not reported | vulnerable |
| Ubuntu | python-ldap | noble | 3.4.4-1ubuntu0.24.04.1 | fixed |
| Ubuntu | python-ldap-doc | noble | 3.4.4-1ubuntu0.24.04.1 | fixed |
| Ubuntu | python3-ldap | noble | 3.4.4-1ubuntu0.24.04.1 | fixed |
| Ubuntu | python3-pyldap | noble | 3.4.4-1ubuntu0.24.04.1 | fixed |
| Cpe | python-ldap | Not reported | 3.4.5 | fixed |
| Ubuntu | python-ldap | pro | 3.1.0-2build1 | vulnerable |
| Ubuntu | python-ldap | pro | 3.1.0-2build2 | vulnerable |
| Ubuntu | python-ldap | pro | 3.2.0-3 | vulnerable |
| Ubuntu | python-ldap | pro | 3.2.0-3ubuntu1 | vulnerable |
| Ubuntu | python-ldap | pro | 3.2.0-3ubuntu2 | vulnerable |
| Ubuntu | python-ldap | pro | 3.2.0-3ubuntu3 | vulnerable |
| Ubuntu | python-ldap | pro | 3.2.0-4ubuntu2 | vulnerable |
| Ubuntu | python-ldap | pro | 3.2.0-4ubuntu2.1 | vulnerable |
| Ubuntu | python-ldap | pro | 3.2.0-4ubuntu2.1+esm1 | fixed |
| Ubuntu | python-ldap | 22.04 | 3.2.0-4ubuntu5 | vulnerable |
| Ubuntu | python-ldap | 22.04 | 3.2.0-4ubuntu6 | vulnerable |
| Ubuntu | python-ldap | 22.04 | 3.2.0-4ubuntu7 | vulnerable |
| Ubuntu | python-ldap | 22.04 | 3.2.0-4ubuntu7.1 | vulnerable |
| Ubuntu | python-ldap | 22.04 | 3.2.0-4ubuntu7.2 | fixed |
| Ubuntu | python-ldap | 24.04 | 3.4.3-2build2 | vulnerable |
| Ubuntu | python-ldap | 24.04 | 3.4.3-2build3 | vulnerable |
| Ubuntu | python-ldap | 24.04 | 3.4.3-2ubuntu1 | vulnerable |
| Ubuntu | python-ldap | 24.04 | 3.4.4-1 | vulnerable |
| Ubuntu | python-ldap | 24.04 | 3.4.4-1build1 | vulnerable |
| Ubuntu | python-ldap | 24.04 | 3.4.4-1ubuntu0.24.04.1 | fixed |
| Ubuntu | python-ldap | 25.10 | 3.4.4-1build3 | vulnerable |
| Ubuntu | python-ldap | 25.10 | 3.4.4-1ubuntu0.25.10.1 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | python-ldap | source | sid | 3.4.5-1 | not yet assigned | Not reported | [1117859] |
| Debian | python-ldap | source | forky | 3.4.5-1 | not yet assigned | Not reported | [1117859] |
| Debian | python-ldap | source | trixie | 3.4.4-1+deb13u1 | not yet assigned | Not reported | [1117859] |
| Debian | python-ldap | source | bookworm | 3.4.3-2+deb12u1 | not yet assigned | Not reported | [1117859] |
| Ubuntu | python-ldap | deb | noble | 3.4.4-1ubuntu0.24.04.1 | Not reported | Not reported | Not reported |
| Ubuntu | python-ldap-doc | deb | noble | 3.4.4-1ubuntu0.24.04.1 | Not reported | Not reported | Not reported |
| Ubuntu | python3-ldap | deb | noble | 3.4.4-1ubuntu0.24.04.1 | Not reported | Not reported | Not reported |
| Ubuntu | python3-pyldap | deb | noble | 3.4.4-1ubuntu0.24.04.1 | Not reported | Not reported | Not reported |
| Cpe | python-ldap | cpe | Not reported | 3.4.5 | Not reported | NVD-CVE-2025-61912 | Not reported |
| Ubuntu | python-ldap | deb | pro | 3.2.0-4ubuntu2.1+esm1 | Not reported | UBUNTU-CVE-2025-61912 | Not reported |
| Ubuntu | python-ldap | deb | 22.04 | 3.2.0-4ubuntu7.2 | Not reported | UBUNTU-CVE-2025-61912 | Not reported |
| Ubuntu | python-ldap | deb | 24.04 | 3.4.4-1ubuntu0.24.04.1 | Not reported | UBUNTU-CVE-2025-61912 | Not reported |
| Ubuntu | python-ldap | deb | 25.10 | 3.4.4-1ubuntu0.25.10.1 | Not reported | UBUNTU-CVE-2025-61912 | Not reported |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [python3-ldap]Fixed
Source package: [python-ldap]
Details (2)
3.4.3-2+deb12u1· amd64 · bookwormFixed · Fixed:
3.4.3-2+deb12u1usn · python-ldap · debian · bookworm; usn · python-ldap · debian · 12
3.4.3-2+deb12u1· arm64 · bookwormFixed · Fixed:
3.4.3-2+deb12u1usn · python-ldap · debian · bookworm; usn · python-ldap · debian · 12
- [python3-pyldap]Fixed
Source package: [python-ldap]
Details (2)
3.4.3-2+deb12u1· amd64 · bookwormFixed · Fixed:
3.4.3-2+deb12u1usn · python-ldap · debian · bookworm; usn · python-ldap · debian · 12
3.4.3-2+deb12u1· arm64 · bookwormFixed · Fixed:
3.4.3-2+deb12u1usn · python-ldap · debian · bookworm; usn · python-ldap · debian · 12
- [python-ldap-doc]Fixed
Source package: [python-ldap]
Details (2)
3.4.3-2+deb12u1· all · bookwormFixed · Fixed:
3.4.3-2+deb12u1usn · python-ldap · debian · bookworm; usn · python-ldap · debian · 12
3.4.3-2+deb12u1· all · bookwormFixed · Fixed:
3.4.3-2+deb12u1usn · python-ldap · debian · bookworm; usn · python-ldap · debian · 12
[Debian 13 (Trixie)]
- [python3-ldap]Fixed
Source package: [python-ldap]
Details (2)
3.4.4-1+deb13u1· amd64 · trixieFixed · Fixed:
3.4.4-1+deb13u1usn · python-ldap · debian · 13
3.4.4-1+deb13u1· arm64 · trixieFixed · Fixed:
3.4.4-1+deb13u1usn · python-ldap · debian · 13
- [python3-pyldap]Fixed
Source package: [python-ldap]
Details (2)
3.4.4-1+deb13u1· amd64 · trixieFixed · Fixed:
3.4.4-1+deb13u1usn · python-ldap · debian · 13
3.4.4-1+deb13u1· arm64 · trixieFixed · Fixed:
3.4.4-1+deb13u1usn · python-ldap · debian · 13
- [python-ldap-doc]Fixed
Source package: [python-ldap]
Details (2)
3.4.4-1+deb13u1· all · trixieFixed · Fixed:
3.4.4-1+deb13u1usn · python-ldap · debian · 13
3.4.4-1+deb13u1· all · trixieFixed · Fixed:
3.4.4-1+deb13u1usn · python-ldap · debian · 13
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/opensuse-su-2025_15637-1.json]
- [https://nvd.nist.gov/vuln/detail/CVE-2025-61912]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2025-61912]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2025-61912]
- [https://security-tracker.debian.org/tracker/CVE-2025-61912]
- [https://security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-61912.json]
- [https://ubuntu.com/security/notices/USN-7828-1]
- [https://wid.cert-bund.de/.well-known/csaf/white/2026/wid-sec-w-2026-1730.json]
[CERT-Bund public advisories] · [Debian Security Tracker] · [FIRST EPSS] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX] · [Ubuntu Security Notices (USN)]