What’s Vulnerable › Vulnerabilities

CVE-2025-71352: picklescan - Remote Code Execution via Undetected trace.Trace.runctx in Pickle Files

Description

picklescan before 0.0.29 fails to detect the built-in Python trace.Trace.runctx function when used in pickle file reduce methods, allowing attackers to execute arbitrary code. Remote attackers can craft malicious pickle files with trace.Trace.runctx payloads that bypass picklescan detection and execute code upon pickle.load() invocation.

Affected products

How to fix

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

References

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