What’s Vulnerable › Vulnerabilities

CVE-2025-71359: picklescan - Unsafe Deserialization via lib2to3.pgen2.grammar.Grammar.loads

Description

picklescan before 0.0.29 fails to detect malicious pickle payloads that utilize lib2to3.pgen2.grammar.Grammar.loads in the reduce method, allowing remote code execution. Attackers can craft pickle files embedding dangerous code that evades picklescan detection and executes during pickle.load() deserialization.

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-71359 or the next vulnerability affects your stack