{"cve":"CVE-2025-61912","nvd":{"published":"2025-10-10T22:15:37.637","modified":"2026-10-19T16:10:00.260","status":"Analyzed","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.","cvss_v4":{"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P","score":5.5},"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","score":5.3},"cwes":["CWE-116","CWE-170"],"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"],"products":["python-ldap:python-ldap"],"source":"nvd","synced_at":"2026-10-19T22:11:26.888974865+00:00"},"epss":{"cve":"CVE-2025-61912","score":0.00458,"percentile":0.39447,"date":"2026-10-25"},"kev":null,"osv":[{"id":"GHSA-p34h-wq7j-h5v6","url":"https://osv.dev/vulnerability/GHSA-p34h-wq7j-h5v6","summary":"python-ldap is Vulnerable to Improper Encoding or Escaping of Output and Improper Null Termination","modified":"2026-09-10T03:50:30.209082635Z","packages":[{"ecosystem":"PyPI","name":"python-ldap","purl":"pkg:pypi/python-ldap","ranges":["<3.4.5"],"fixed":["3.4.5"]}]},{"id":"PYSEC-2026-1846","url":"https://osv.dev/vulnerability/PYSEC-2026-1846","summary":"python-ldap is Vulnerable to Improper Encoding or Escaping of Output and Improper Null Termination","modified":"2026-07-07T17:47:51.792721896Z","packages":[{"ecosystem":"PyPI","name":"python-ldap","purl":"pkg:pypi/python-ldap","ranges":["<3.4.5"],"fixed":["3.4.5"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}