CVE-2025-61912

CVE-2025-61912 is a medium-severity vulnerability in Python-ldap with a CVSS 3.x base score of 5.3. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-116.

Key facts

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.

Frequently asked questions

What is 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.
How severe is CVE-2025-61912?
CVE-2025-61912 has a CVSS 3.x base score of 5.3, rated medium severity. It is exploitable over network with low attack complexity, requires no privileges and no user interaction. Impact on confidentiality is none, integrity none, and availability low.
Is CVE-2025-61912 being actively exploited?
It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 0% (34th percentile), an estimate of the probability of exploitation in the next 30 days.
What products are affected by CVE-2025-61912?
CVE-2025-61912 affects Python-ldap. See the affected-products list for the exact vulnerable versions.
How do I fix CVE-2025-61912?
Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
Does CVE-2025-61912 have an EU (EUVD) identifier?
Yes. CVE-2025-61912 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2025-33796.
When was CVE-2025-61912 published?
CVE-2025-61912 was published on 2025-10-10 and last updated on 2026-06-17.

References

Affected products (1)

More vulnerabilities in Python-ldap

All CVEs affecting Python-ldap →

Other CWE-116 vulnerabilities

Browse all CWE-116 vulnerabilities →