What’s Vulnerable › Vulnerabilities

CVE-2025-71355: Picklescan - Arbitrary Code Execution via Unsafe Numpy Function Detection Bypass

Description

Picklescan before 0.0.25 fails to detect unsafe global functions in the Numpy library, allowing attackers to bypass static analysis and execute arbitrary code during deserialization. Attackers can craft malicious pickle files using numpy.testing._private.utils.runstring within the reduce method to import dangerous libraries like os and execute arbitrary OS commands when the pickle file is loaded.

Affected products

How to fix

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

References

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