CVE Explorer
CVE-2025-61911
python-ldap is a lightweight directory access protocol (LDAP) client API for Python. In versions prior to 3.4.5, the sanitization method `ldap.filter.escape_filter_chars` can be tricked to skip escaping of special characters when a crafted `list` or `dict` is supplied as the `assertion_value` parameter, and the non-default `escape_mode=1` is configured. The method `ldap.filter.escape_filter_chars` supports 3 different escaping modes. `escape_mode=0` (default) and `escape_mode=2` happen to raise
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-843","description":"CWE-843: Access of Resource Using Incompatible Type ('Type Confusion')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:1095dd9036a5fa5f4abbed2e8d9a40e9954258e055b04c94c8eeeeb39b58af14 · sha256:049d4dbb8a258fa7… · /containers/cna/problemTypes/1/descriptions/0
{"cweId":"CWE-75","description":"CWE-75: Failure to Sanitize Special Elements into a Different Plane (Special Element Injection)","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:1095dd9036a5fa5f4abbed2e8d9a40e9954258e055b04c94c8eeeeb39b58af14 · sha256:049d4dbb8a258fa7… · /containers/cna/problemTypes/0/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:1095dd9036a5fa5f4abbed2e8d9a40e9954258e055b04c94c8eeeeb39b58af14 · sha256:049d4dbb8a258fa7… · /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:L/VI:L/VA:N/SC:N/SI:N/SA:N/E:P","version":"4.0","vulnAvailabilityImpact":"NONE","vulnConfidentialityImpact":"LOW","vulnIntegrityImpact":"LOW"},"metric_type":"cvssV4_0"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:1095dd9036a5fa5f4abbed2e8d9a40e9954258e055b04c94c8eeeeb39b58af14 · sha256:049d4dbb8a258fa7… · /containers/cna/metrics/0/cvssV4_0
CWE assertions
2 source assertions{"cweId":"CWE-843","description":"CWE-843: Access of Resource Using Incompatible Type ('Type Confusion')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:1095dd9036a5fa5f4abbed2e8d9a40e9954258e055b04c94c8eeeeb39b58af14 · sha256:049d4dbb8a258fa7… · /containers/cna/problemTypes/1/descriptions/0
{"cweId":"CWE-75","description":"CWE-75: Failure to Sanitize Special Elements into a Different Plane (Special Element Injection)","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:1095dd9036a5fa5f4abbed2e8d9a40e9954258e055b04c94c8eeeeb39b58af14 · sha256:049d4dbb8a258fa7… · /containers/cna/problemTypes/0/descriptions/0
Source references
3 source assertions{"name":"https://github.com/python-ldap/python-ldap/commit/3957526fb1852e84b90f423d9fef34c7af25b85a","tags":["x_refsource_MISC"],"url":"https://github.com/python-ldap/python-ldap/commit/3957526fb1852e84b90f423d9fef34c7af25b85a"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:1095dd9036a5fa5f4abbed2e8d9a40e9954258e055b04c94c8eeeeb39b58af14 · sha256:049d4dbb8a258fa7… · /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:1095dd9036a5fa5f4abbed2e8d9a40e9954258e055b04c94c8eeeeb39b58af14 · sha256:049d4dbb8a258fa7… · /containers/cna/references/2
{"name":"https://github.com/python-ldap/python-ldap/security/advisories/GHSA-r7r6-cc7p-4v5m","tags":["x_refsource_CONFIRM"],"url":"https://github.com/python-ldap/python-ldap/security/advisories/GHSA-r7r6-cc7p-4v5m"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:1095dd9036a5fa5f4abbed2e8d9a40e9954258e055b04c94c8eeeeb39b58af14 · sha256:049d4dbb8a258fa7… · /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.