CVE-2025-61912

MEDIUM CVSS 4.0: 5.5 EPSS 0.46%
Updated Oct 19, 2026
Python-Ldap
Parameter Value
CVSS 5.5 (MEDIUM)
Affected Versions before 3.4.5
Fixed In 3.4.5
Type CWE-116 (Improper Encoding or Escaping of Output), CWE-170
Vendor Python-Ldap
Public PoC No

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.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Attack Requirements
None
No additional conditions
Privileges Required
None
No privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
None
No data leak
Integrity
None
No data modification
Availability
Low
Partial disruption

CVSS Vector v4.0

Vulnerable Products 1

Configuration From (including) Up to (excluding)
Python-Ldap Python-Ldap
cpe:2.3:a:python-ldap:python-ldap:*:*:*:*:*:*:*:*
— 3.4.5

Related Vulnerabilities