Skip to main content

Picklescan EUVDEUVD-2025-210423

| CVE-2025-71372 HIGH
Deserialization of Untrusted Data (CWE-502)
2026-07-04 VulnCheck GHSA-gf62-q6c8-6vxg
7.6
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Craft malicious pickle with getlincoef __reduce__ gadget
  2. Delivery
    Publish/share as trusted model file
  3. Exploit
    Victim's Picklescan (<0.0.33) clears it as safe
  4. Execution
    Victim deserializes the pickle
  5. Persist
    Gadget executes arbitrary Python in victim context
  6. Impact
    Supply-chain compromise of ML host

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A08:2025 - Software or Data Integrity Failures
ASVS 5.0
V1 - Encoding and Sanitization Safe deserialization, type allowlists
MITRE ATT&CK

2 techniques across 2 tactics: Execution, Initial Access

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires that the victim (1) uses an affected Picklescan version (< 0.0.33) as a trust gate, and (2) subsequently deserializes/loads the attacker-supplied pickle file - the RCE fires on load, not on scan. The specific technical prerequisite is a malicious pickle whose __reduce__ method invokes the numpy.f2py.crackfortran.getlincoef gadget, which pre-0.0.33 Picklescan does not flag; numpy (which provides the f2py gadget) must be importable in the loading environment. Limiting factors: the CVSS vector's UI:P and AT:P reflect that a human/pipeline must actively load the 'cleared' file and must rely on Picklescan in the first place, so there is no automatic or remote-trigger path - an organization that never runs Picklescan, or that loads models in isolation regardless of verdict, is not exposed via this specific bypass. No authentication is required of the attacker (PR:N), but the attack is not against a default running service; it is a scanner-evasion technique.

Impact

The supplied CVSS 4.0 vector (AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:N, score 7.6) describes a network-delivered, low-complexity, unauthenticated attack that is gated by two real constraints: AT:P (an attack requirement - the target must actually rely on Picklescan and then unpickle the 'cleared' file) and UI:P (a victim must load the malicious model). No EPSS score, KEV entry, POC, or SSVC decision data was provided in the input, so exploitation probability cannot be quantified from these sources. This is a genuine but conditional risk: the impact (arbitrary code execution) is severe, yet it is not a directly-triggerable service vulnerability - it is a scanner-evasion technique whose payoff depends entirely on the victim's workflow (scan, trust the verdict, then deserialize). It should be treated as a meaningful supply-chain priority for any organization that uses Picklescan as a gate for third-party model files, but it is not a mass-exploitable internet-facing flaw. The absence of EPSS/KEV data means real-world exploitation frequency is unknown rather than confirmed-low.

Exploit ScenarioDerived

An attacker publishes a poisoned ML model to a public hub or shares it with a target team; the pickle contains a __reduce__ payload built on the numpy.f2py.crackfortran.getlincoef gadget. The victim runs Picklescan (pre-0.0.33), which reports the file as safe, and then loads it - at which point the gadget executes arbitrary Python in the victim's context. No public POC is identified at time of analysis, but the gadget and bypass technique are described in the VulnCheck and GHSA advisories.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jul 04, 2026

Security-scanner bypass in Picklescan before 0.0.33 lets attackers smuggle arbitrary-code-execution payloads past its safety checks by abusing the numpy.f2py.crackfortran.getlincoef gadget inside a pickle __reduce__ method, which the scanner fails to flag as dangerous. Because Picklescan is used to vet shared machine-learning model files, a malicious pickle passes as 'clean' and then executes attacker-controlled Python when the trusting downstream consumer deserializes it. No public exploit is identified at time of analysis, and it is not listed in CISA KEV; the CVSS 4.0 score is 7.6 and the attack depends on a victim actually loading the file.

RemediationAI

Vendor-released patch: upgrade Picklescan to version 0.0.33 or later, which adds detection for the numpy.f2py.crackfortran.getlincoef gadget; see advisory GHSA-rrxm-2pvv-m66x (https://github.com/mmaitre314/picklescan/security/advisories/GHSA-rrxm-2pvv-m66x). Because Picklescan is a denylist-based control that has now demonstrably missed at least one gadget, do not treat a passing scan as sufficient assurance for untrusted files: prefer loading models in non-executable serialization formats such as safetensors instead of pickle, which eliminates the __reduce__ execution primitive entirely (trade-off: requires converting or re-exporting existing pickle-format checkpoints). Where pickle must be used, restrict deserialization of externally-sourced model files to sandboxed or network-isolated environments with least-privilege service accounts so that code execution is contained (trade-off: added infrastructure and workflow friction), and only accept model files from trusted, integrity-verified sources.

Affected VersionsENISA

picklescan 0 <0.0.33

Affected Packages

pypi picklescan fix: 0.0.33

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in pypi

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Picklescan is a Python tool that statically inspects pickle files for known dangerous opcodes and callable references before they are trusted and unpickled, and it is widely relied upon in the ML supply chain (including Hugging Face model scanning) to catch malicious serialized artifacts. The vulnerability is a CWE-502 (Deserialization of Untrusted Data) issue rooted not in a parser bug but in an incomplete denylist: Picklescan did not recognize numpy.f2py.crackfortran.getlincoef as a code-execution gadget reachable through a pickle __reduce__ method. Python's pickle format allows objects to specify a callable and arguments invoked at load time via __reduce__, and any importable function that ultimately evaluates or executes attacker-supplied data becomes an execution primitive; getlincoef in numpy's f2py crackfortran module is one such gadget that the scanner's allow/deny logic missed. The single affected component is cpe:2.3:a:picklescan:picklescan (all versions prior to 0.0.33).

Know when Picklescan gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulnCheck) PRIMARY 7.6 HIGH
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
vuln.today AI 8.8 HIGH

File is delivered over the network (AV:N) but a victim must load the scanner-cleared pickle (UI:R); no attacker auth (PR:N), and arbitrary Python code execution yields full C/I/A impact.

3.1 AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
Passive
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

1
Patch available
Jul 04, 2026 - 03:01 EUVD

DescriptionCVE.org

Picklescan before 0.0.33 fails to detect the numpy.f2py.crackfortran.getlincoef gadget in pickle __reduce__ methods, allowing arbitrary code execution. Attackers can craft malicious pickle files that execute arbitrary Python code when loaded, bypassing Picklescan's safety checks and enabling supply-chain poisoning of shared model files.

Executive ViewAI

Why It Matters

Picklescan, a widely-used security scanner for machine-learning model files, is vulnerable to bypass attacks that allow malicious code to pass safety checks undetected; no public exploit identified at time of analysis. This exposes organizations using Picklescan to validate models with remote code execution risk, potentially compromising research systems, training pipelines, and downstream applications.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: (1) Require mandatory code review and static analysis of model files before production deployment; (2) Execute model loading in restricted/sandboxed environments with minimal privilege escalation surface; (3) Layer additional file-integrity and behavioral-monitoring controls around pickle deserialization; (4) Limit pickle file ingestion to trusted sources and implement file-provenance tracking.

Threat Intelligence Overview

EPSS Score
0.4%
Top 70% exploitable
Prevalence
Medium
widely used pickle scanner in ML supply-chain and Hugging Face workflows
Social Media
2
Sightings
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment CIRCL GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.4%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

38
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +38
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Insecure deserialization occurs when an application converts serialized data (a stream of bytes representing an object's state) back into a living object without proper validation.

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

CVE-2026-3490 CRITICAL POC
10.0 Jun 17

Remote code execution against users of picklescan versions prior to 1.0.4 is achievable by smuggling any blocked functio

CVE-2025-10156 CRITICAL POC
9.3 Sep 17

An Improper Handling of Exceptional Conditions vulnerability in the ZIP archive scanning component of mmaitre314 pickles

CVE-2025-10157 CRITICAL POC
9.3 Sep 17

A Protection Mechanism Failure vulnerability in mmaitre314 picklescan versions up to and including 0.0.30 allows a remot

CVE-2025-10155 CRITICAL POC
9.3 Sep 17

An Improper Input Validation vulnerability in the scanning logic of mmaitre314 picklescan versions up to and including 0

CVE-2025-71341 HIGH POC
7.6 Jun 23

Detection bypass in picklescan prior to 0.0.29 allows attackers to smuggle remote code execution payloads through pickle

CVE-2025-71351 HIGH POC
7.6 Jun 21

Detection bypass in picklescan versions before 0.0.25 allows attackers to embed remote code execution payloads in pickle

CVE-2025-71370 HIGH POC
7.6 Jun 23

Detection bypass in picklescan before 0.0.28 allows attackers to embed malicious torch.jit.unsupported_tensor_ops.execWr

CVE-2025-71348 HIGH POC
7.6 Jun 21

Detection bypass in picklescan before 0.0.28 allows attackers to smuggle arbitrary code through pickle files by abusing

CVE-2025-71361 HIGH POC
7.6 Jun 24

Detection bypass in picklescan before 0.0.29 allows malicious pickle files to evade scanning by abusing the undetected i

CVE-2025-71378 HIGH POC
7.6 Jun 21

Detection bypass in picklescan versions before 0.0.30 allows malicious pickle files to evade security scanning by using

CVE-2025-71376 HIGH POC
7.6 Jun 23

Detection bypass in picklescan versions prior to 0.0.29 allows attackers to smuggle arbitrary code execution payloads th

CVE-2025-71365 HIGH POC
7.6 Jun 23

Detection bypass in picklescan before 0.0.33 allows attackers to smuggle arbitrary code through malicious pickle files b

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy