Skip to main content

picklescan CVE-2025-71347

| EUVDEUVD-2025-210413 HIGH
Deserialization of Untrusted Data (CWE-502)
2026-07-04 VulnCheck GHSA-pqxv-q4c6-wh8q
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 pickle with numpy.f2py.crackfortran.param_eval reduce gadget
  2. Delivery
    Deliver as ML model/artifact to victim
  3. Exploit
    picklescan fails to flag file as malicious
  4. Execution
    Victim application deserializes trusted-looking pickle
  5. Impact
    Arbitrary code execution in loader process

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 target uses picklescan (before 0.0.33) to vet pickle files AND subsequently deserializes an attacker-supplied pickle, with NumPy available in that environment so numpy.f2py.crackfortran.param_eval can be reached; the malicious payload must be crafted to route its reduce method through that specific function to evade the deny-list. Limiting factors: the victim must both scan and then load the file (UI:P - passive user action of loading), the environment must import NumPy, and the attack only adds value where picklescan is trusted as a control - it does not grant execution on systems that never load the file. This is not remote-unauthenticated exploitation of a running service; it is a scanner-evasion precondition to code execution at unpickle time.

Impact

The supplied CVSS 4.0 base score is 7.6 (AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:N), reflecting network-delivered files, no privileges, but a required attack condition (AT:P) and passive user interaction (UI:P) - the victim must actually run picklescan and then unpickle the file. This is a scanner-bypass rather than a direct remote service exploit, so real-world risk is conditional: it only matters to organizations that use picklescan as a gate and then load the 'cleared' file. No EPSS score was provided, KEV status is negative, and no POC is referenced, so there is no evidence of widespread or automated exploitation; the threat is targeted supply-chain poisoning of ML artifacts rather than mass scanning. The signals are internally consistent - high technical impact (RCE) but meaningful preconditions - making this a genuine priority for ML/AI security teams using picklescan, and largely irrelevant to those who do not.

Exploit ScenarioDerived

An attacker publishes a malicious ML model as a pickle file to a public model hub, embedding a reduce method that calls numpy.f2py.crackfortran.param_eval to execute code. A victim organization runs picklescan (pre-0.0.33) as its safety gate, the scan reports the file as clean, and when an engineer or automated pipeline loads the model, the payload executes with the application's privileges. No public POC is referenced, and the AT:P/UI:P metrics mean the attacker relies on the victim's scan-then-load workflow rather than a direct network trigger.

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 evasion in picklescan before 0.0.33 lets attackers smuggle malicious pickle files past its detection engine by abusing the numpy.f2py.crackfortran.param_eval function inside a pickle reduce method, so a payload the scanner declares safe still triggers arbitrary code execution when the application deserializes it. This defeats the exact protection picklescan exists to provide, endangering ML pipelines that rely on it to vet untrusted model/pickle files (e.g., Hugging Face-style workflows). No public exploit is identified at time of analysis and it is not in CISA KEV, though VulnCheck published an advisory.

RemediationAI

Vendor-released patch: upgrade picklescan to 0.0.33 or later (e.g., pip install --upgrade 'picklescan>=0.0.33'), which adds detection for the numpy.f2py.crackfortran.param_eval gadget; consult GHSA-cffc-mxrf-mhh4 and the VulnCheck advisory for details. Because this is a detection-bypass, do not treat a passing picklescan result on older versions as trustworthy - until upgraded, avoid unpickling any file solely on picklescan's approval. As compensating controls, prefer safe serialization formats (safetensors) over pickle for untrusted model artifacts, load untrusted pickles only in a sandboxed/least-privilege environment (containerized, no network, restricted filesystem) to contain any execution, and restrict pickle intake to trusted/signed sources; the trade-off is added workflow friction and possible incompatibility with pickle-only model files.

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 security tool that statically inspects pickle files for dangerous opcodes and known code-execution gadgets before an application unpickles them. Python's pickle format is inherently unsafe (CWE-502, Deserialization of Untrusted Data) because the REDUCE opcode invokes arbitrary callables during load; scanners like picklescan work by allow/deny-listing the callables referenced in reduce methods. This flaw is a gap in that deny-list: numpy.f2py.crackfortran.param_eval is a legitimate NumPy internal that evaluates expressions, and because picklescan did not recognize it as dangerous, a reduce tuple pointing at param_eval passes inspection while still executing attacker-controlled code at deserialization. The affected component is picklescan itself (cpe:2.3:a:picklescan:picklescan:*), and exploitation additionally depends on NumPy being importable in the victim environment.

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 6.8 MEDIUM

Network-delivered file but AC:H and UI:R because the victim must both scan with picklescan and then unpickle with NumPy present; RCE gives C:H/I:H, no direct availability impact.

3.1 AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N
4.0 AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:N/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 malicious pickle files using numpy.f2py.crackfortran.param_eval function in reduce methods, allowing attackers to bypass security checks. Remote attackers can embed undetected code in pickle files that executes during deserialization, enabling arbitrary code execution in applications loading untrusted pickle data.

Executive ViewAI

Why It Matters

picklescan, which organizations use to prevent malicious machine learning models from executing during model loading, can be bypassed in all current versions. An attacker can craft a pickle file that passes picklescan validation but executes arbitrary code when deserialized, exposing ML pipeline infrastructure and model supply chains to code injection attacks.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: restrict pickle file ingestion to explicitly curated and verified sources, disable pickle deserialization in non-critical workflows, isolate ML pipeline infrastructure with network controls to limit blast radius, implement runtime monitoring for unexpected code execution, evaluate alternative serialization formats (e.g., safetensors) for model distribution workflows.

Threat Intelligence Overview

EPSS Score
0.4%
Top 64% exploitable
Prevalence
Low
niche Python ML-security scanning library, not broadly deployed in production
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