CVE-2025-61912python-ldap is a lightweight directory access protocol (LDAP) client API for Python.
Updated under an hour ago ()
Does this affect you?
It affects python-ldap. Add what you run to find out whether that includes you.
No exploitation reported and no EPSS estimate yet.
Do this next
Free account, 1 product
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
- 5.3 MEDIUM (v3.1, NVD)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
- Weakness (CWE)
- CWE-116, CWE-170
- Known exploited
- Not in CISA's KEV catalog
- EPSS (exploitation in the next 30 days)
- Not loaded for this CVE
- Assigned by
- Not given
- NVD analysis
- Analyzed
- Record last updated
- Jun 17, 2026
- First seen by InfoSec Signals
- Oct 9, 2026
Affected products
python-ldap python-ldap python-ldap:python-ldap | before 3.4.5 | NVD |
References
- https://github.com/python-ldap/python-ldap/commit/6ea80326a34ee6093219628d7690bced50c49a3fpatch
- https://github.com/python-ldap/python-ldap/releases/tag/python-ldap-3.4.5release-notes
- https://github.com/python-ldap/python-ldap/security/advisories/GHSA-p34h-wq7j-h5v6exploit, third-party-advisory
The CVE record on cve.org NVD's entry
The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.