What’s Vulnerable › Vulnerabilities

CVE-2025-71366: picklescan - Arbitrary Code Execution via torch.utils.bottleneck.__main__.run_cprofile

Description

picklescan before 0.0.28 fails to detect malicious torch.utils.bottleneck.__main__.run_cprofile function calls in pickle files, allowing attackers to bypass safety checks. Remote attackers can embed undetected code in pickle files to achieve arbitrary code execution when victims load the files.

Affected products

How to fix

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

References

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