Improper Encoding or Escaping of Output in python-ldap - CVE-2025-61912

 

Improper Encoding or Escaping of Output in python-ldap - CVE-2025-61912

Published: October 13, 2025


Vulnerability identifier: #VU116910
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:P/U:Green
CVE-ID: CVE-2025-61912
CWE-ID: CWE-116
Exploitation vector: Remote access
Exploit availability: Public exploit is available
Vendor: python-ldap
Affected software:
python-ldap

Detailed vulnerability description

The vulnerability allows a remote attacker to compromise the target system.

The vulnerability exists due to improper encoding or escaping of output in the "ldap.dn.escape_dn_chars()" function. A remote attacker can perform a denial of service (DoS) attack.


How to mitigate CVE-2025-61912

Install updates from vendor's website.

Sources