Vulnerability
CVE-2025-61912
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.
25 advisories report this vulnerability, across 11 ecosystems.
Advisories
-
ALAS2-2025-3058
Amazon Linux 2 2017.12 - ALAS2-2025-3058: medium priority package update for python-ldap
-
ALPINE-CVE-2025-61912
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…
- ALPINE-EDGE-CVE-2025-61912
-
AZL-68433
CVE-2025-61912 affecting package python-ldap 3.4.4-1
-
AZL-68454
CVE-2025-61912 affecting package python-ldap 3.4.0-1
- CGA-c5x3-vm54-6f4c
- CGA-x45r-rv8x-rc58
-
DEBIAN-CVE-2025-61912
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…
-
GHSA-p34h-wq7j-h5v6
python-ldap is Vulnerable to Improper Encoding or Escaping of Output and Improper Null Termination
-
OESA-2025-2681
python-ldap security update
-
OESA-2025-2682
python-ldap security update
-
OESA-2025-2684
python-ldap security update
-
OESA-2025-2685
python-ldap security update
-
OESA-2025-2686
python-ldap security update
-
OESA-2026-1248
python-ldap security update
-
PYSEC-2026-1846
python-ldap is Vulnerable to Improper Encoding or Escaping of Output and Improper Null Termination
-
RHVEX-CVE-2025-61912
python-ldap: python-ldap Vulnerable to Improper Encoding or Escaping of Output and Improper Null Termination
-
SUSE-SU-2025:3695-1
Security update for python-ldap
-
SUSE-SU-2025:3714-1
Security update for python-ldap
-
SUSE-SU-2026:20933-1
Security update for python-ldap
-
SUSEVEX-CVE-2025-61912
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…
-
UBUNTU-CVE-2025-61912
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…
-
USN-7828-1
python-ldap vulnerabilities
-
openSUSE-SU-2025:15637-1
python311-ldap-3.4.5-1.1 on GA media
-
openSUSE-SU-2026:20421-1
Security update for python-ldap