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
- Severity: Medium (CVSS 3.x base score 5.3)
- CVSS v4: 5.5
- EPSS exploit prediction: 0% (34th percentile)
- Actively exploited: Not listed in CISA KEV
- EU (EUVD) id: EUVD-2025-33796
- Weakness: CWE-116
- Affected product: Python-ldap
- Published:
- Last modified:
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
- https://github.com/python-ldap/python-ldap/commit/6ea80326a34ee6093219628d7690bced50c49a3f
- https://github.com/python-ldap/python-ldap/releases/tag/python-ldap-3.4.5
- https://github.com/python-ldap/python-ldap/security/advisories/GHSA-p34h-wq7j-h5v6
Affected products (1)
- cpe:2.3:a:python-ldap:python-ldap:*:*:*:*:*:*:*:*
More vulnerabilities in Python-ldap
- CVE-2025-61911 — Medium (CVSS 6.5): python-ldap is a lightweight directory access protocol (LDAP) client API for Python. In versions prior to 3.4.5, the…
- CVE-2021-46823 — Medium (CVSS 6.5): python-ldap before 3.4.0 is vulnerable to a denial of service when ldap.schema is used for untrusted schema…
All CVEs affecting Python-ldap →
Other CWE-116 vulnerabilities
- CVE-2025-55730 — Critical (CVSS 10.0): XWiki Remote Macros provides XWiki rendering macros that are useful when migrating content from Confluence. Starting in…
- CVE-2025-55729 — Critical (CVSS 10.0): XWiki Remote Macros provides XWiki rendering macros that are useful when migrating content from Confluence. Starting in…
- CVE-2023-47143 — Critical (CVSS 10.0): IBM Tivoli Application Dependency Discovery Manager 7.3.0.0 through 7.3.0.10 is vulnerable to HTTP header injection,…
- CVE-2023-26472 — Critical (CVSS 9.9): XWiki Platform is a generic wiki platform. Starting in version 6.2-milestone-1, one can execute any wiki content with…
- CVE-2022-41934 — Critical (CVSS 9.9): XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. Any user with…
- CVE-2022-36100 — Critical (CVSS 9.9): XWiki Platform Applications Tag and XWiki Platform Tag UI are tag applications for XWiki, a generic wiki platform.…