Vulnerability · Published Jun 17, 2026 · Assigned by VulnCheck
CVE-2025-71325picklescan - Detection Bypass via STACK_GLOBAL Opcode Parsing Logic Flaw
Critical 9.8
In plain English
A critical-severity security flaw in picklescan from picklescan. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.6% (higher than 49% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| PyPI | picklescan | 0.0.27 | GHSA-9gvj-pp9x-gcfr |
| PyPI | picklescan | 0.0.27 | PYSEC-2026-1788 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| picklescan | picklescan | 0 – before 0.0.27 |
Weakness: CWE-391 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H