What’s Vulnerable › Vulnerabilities

CVE-2025-71368: picklescan - Arbitrary Code Execution via Undetected doctest.debug_script

Description

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.

Affected products

How to fix

Upgrade to a fixed version: picklescan 0.0.30. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2025-71368 or the next vulnerability affects your stack