CVE Explorer
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 f
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
1
Preserved source conflicts
No provider value was silently selected as the winner.
cwe · 2 assertions
{"cweId":"CWE-116","description":"CWE-116: Improper Encoding or Escaping of Output","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:d1bb46ea4bf55272d9b383a6c0fc9c9eb73190243e6dbdcc64db20c9f134285a · sha256:6926e73835be0670… · /containers/cna/problemTypes/0/descriptions/0
{"cweId":"CWE-170","description":"CWE-170: Improper Null Termination","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:d1bb46ea4bf55272d9b383a6c0fc9c9eb73190243e6dbdcc64db20c9f134285a · sha256:6926e73835be0670… · /containers/cna/problemTypes/1/descriptions/0
Affected products and versions
1 source assertion{"product":"python-ldap","vendor":"python-ldap","versions":[{"status":"affected","version":"< 3.4.5"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:d1bb46ea4bf55272d9b383a6c0fc9c9eb73190243e6dbdcc64db20c9f134285a · sha256:6926e73835be0670… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackRequirements":"NONE","attackVector":"NETWORK","baseScore":5.5,"baseSeverity":"MEDIUM","privilegesRequired":"NONE","subAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","userInteraction":"NONE","vectorString":"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","version":"4.0","vulnAvailabilityImpact":"LOW","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"NONE"},"metric_type":"cvssV4_0"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:d1bb46ea4bf55272d9b383a6c0fc9c9eb73190243e6dbdcc64db20c9f134285a · sha256:6926e73835be0670… · /containers/cna/metrics/0/cvssV4_0
CWE assertions
2 source assertions{"cweId":"CWE-116","description":"CWE-116: Improper Encoding or Escaping of Output","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:d1bb46ea4bf55272d9b383a6c0fc9c9eb73190243e6dbdcc64db20c9f134285a · sha256:6926e73835be0670… · /containers/cna/problemTypes/0/descriptions/0
{"cweId":"CWE-170","description":"CWE-170: Improper Null Termination","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:d1bb46ea4bf55272d9b383a6c0fc9c9eb73190243e6dbdcc64db20c9f134285a · sha256:6926e73835be0670… · /containers/cna/problemTypes/1/descriptions/0
Source references
3 source assertions{"name":"https://github.com/python-ldap/python-ldap/commit/6ea80326a34ee6093219628d7690bced50c49a3f","tags":["x_refsource_MISC"],"url":"https://github.com/python-ldap/python-ldap/commit/6ea80326a34ee6093219628d7690bced50c49a3f"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:d1bb46ea4bf55272d9b383a6c0fc9c9eb73190243e6dbdcc64db20c9f134285a · sha256:6926e73835be0670… · /containers/cna/references/1
{"name":"https://github.com/python-ldap/python-ldap/releases/tag/python-ldap-3.4.5","tags":["x_refsource_MISC"],"url":"https://github.com/python-ldap/python-ldap/releases/tag/python-ldap-3.4.5"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:d1bb46ea4bf55272d9b383a6c0fc9c9eb73190243e6dbdcc64db20c9f134285a · sha256:6926e73835be0670… · /containers/cna/references/2
{"name":"https://github.com/python-ldap/python-ldap/security/advisories/GHSA-p34h-wq7j-h5v6","tags":["x_refsource_CONFIRM"],"url":"https://github.com/python-ldap/python-ldap/security/advisories/GHSA-p34h-wq7j-h5v6"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:d1bb46ea4bf55272d9b383a6c0fc9c9eb73190243e6dbdcc64db20c9f134285a · sha256:6926e73835be0670… · /containers/cna/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.