What’s Vulnerable › Vulnerabilities

CVE-2025-71325: picklescan - Detection Bypass via STACK_GLOBAL Opcode Parsing Logic Flaw

Description

picklescan before 0.0.27 contains a parsing logic error in the _list_globals function when handling STACK_GLOBAL opcodes, failing to track arguments in the correct range and allowing malicious pickle files to bypass detection. Attackers can craft pickle files with arguments at position zero to trigger unexpected exceptions and evade security scanning.

Affected products

How to fix

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

References

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