What’s Vulnerable › Vulnerabilities

CVE-2025-71343: picklescan - Arbitrary Code Execution via lib2to3.pgen2.pgen.ParserGenerator.make_label Detection Bypass

Description

picklescan before 0.0.30 fails to detect malicious pickle files that exploit lib2to3.pgen2.pgen.ParserGenerator.make_label function in the reduce method. Attackers can craft malicious pickle files with embedded code that evades detection but executes arbitrary commands when pickle.load() is called.

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