Deserialization in Picklescan
CVE-2025-71368
picklescan before 0.0.30 fails to detect the doctest.debug_script function when analyzing pickle files, allowing attackers to execute arbitrary code. Remote attackers can craft malicious pickle files embedding doctest.debug_script calls that bypass picklescan detection and execute arbitrary commands upon pickle.load invocation.
Vulnerability class: Insecure Deserialization
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.1 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N.
EPSS exploit prediction
EPSS 0.008, 58.4th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Picklescan — versions 0, 0.0.30
Weakness classification (CWE)
References
- GitHub Security Advisory (GHSA-fqq6-7vqf-w3fg) (vendor-advisory)
- VulnCheck Advisory: picklescan - Arbitrary Code Execution via Undetected doctest.debug_script (third-party-advisory)