CVE-2025-61912 - CVE House
Back to Database
Status published Medium CVE-2025-61912

python-ldap Vulnerable to Improper Encoding or Escaping of Output and Improper Null Termination

Vulnerability Description

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.

Impact Analysis

Refer to official advisory for detailed impact metrics.

Remediation

Ensure systems are updated to the latest vendor-supplied patch levels.

THREAT MONITOR

Am I Vulnerable?

Launch our assessment wizard to check if your infrastructure is exposed to • CVE-2025-61912

Credits & Attribution

No credits recorded in the NVD database.

Affected Vendor

python-ldap

View all reports →

Affected Software

python-ldap
Vulnerable Versions:
< 3.4.5

Timeline

Official Publish: October 10th, 2025
Last Modified: October 14th, 2025
Added to House: July 22nd, 2026

CVSS Vectors

Weaknesses (CWE)