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

Critical 9.3 Published Updated

Attackers can bypass picklescan detection by crafting malicious pickle files with specific STACK_GLOBAL opcodes, evading security scanning.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2025-71325?

CVE-2025-71325 is a critical vulnerability in picklescan, published on 17 Jun 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

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.

Weakness: CWE-391

Which versions are affected by CVE-2025-71325?

3 open source packages ship an affected version, including picklescan.

PackageAffectedFixed in
picklescan PyPIAll versions0.0.27
picklescan PyPIAll versions0.0.27
picklescan PyPIAll versions0.0.27

How do I fix CVE-2025-71325?

Upgrade picklescan to 0.0.27 or later.

Is CVE-2025-71325 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-71325 exists.

Sources

Also known as GHSA-9gvj-pp9x-gcfr, PYSEC-2026-1788.

Is CVE-2025-71325 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free