Skip to main content

picklescan CVE-2025-71362

| EUVDEUVD-2025-210418 HIGH
Deserialization of Untrusted Data (CWE-502)
2026-07-04 VulnCheck GHSA-r9x2-mw85-9c4x
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 invoking numpy.f2py.crackfortran eval gadget
  2. Delivery
    Publish as trojanized model on untrusted hub
  3. Exploit
    Victim scans with picklescan <0.0.33, gets clean verdict
  4. Execution
    Victim unpickles the file
  5. Persist
    eval executes arbitrary Python
  6. Impact
    Attacker gains code execution on 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 relies on picklescan 0.0.32 or earlier to screen a pickle obtained from an untrusted source, that numpy is installed and importable where the pickle is deserialized (numpy.f2py.crackfortran is the specific eval sink abused), and that the victim actually loads/unpickles the file (the passive UI:P interaction). Limiting factors: the flaw only helps an attacker whose target uses this specific scanner as its safety gate, the payload must be delivered as a file the victim chooses to open, and environments without numpy or those that never rely on picklescan's verdict are not exposed; the attacker needs no authentication (PR:N).

Impact

The supplied CVSS 4.0 vector (AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:N) reflects a network-delivered file that requires passive user interaction (loading/scanning an untrusted pickle) plus an attack requirement (AT:P) - namely numpy present and the victim relying on picklescan for vetting. Confidentiality and integrity impact are High (arbitrary code execution) while availability is rated None. No EPSS score was provided and the CVE is not in CISA KEV, so there is no evidence of active exploitation, and no POC was included, so this is best treated as no public exploit identified at time of analysis. Practical risk is bounded: harm only materializes for users who run picklescan < 0.0.33 as their safety gate AND then load the attacker's file - this is a scanner-evasion/defense-in-depth failure rather than a directly wormable RCE, making it a real but targeted supply-chain risk, not a mass-exploitation emergency. The signals are internally consistent; the main gaps are the absent EPSS score and any exploitation telemetry.

Exploit ScenarioDerived

An attacker publishes a trojanized model or artifact (e.g. on a public model hub) containing a pickle that reduces onto a numpy.f2py.crackfortran function with a malicious string argument. A victim runs picklescan < 0.0.33 to vet the download, receives a clean verdict, and then loads the file - at which point crackfortran's internal eval() executes the attacker's Python. No POC was provided in the intelligence, so this scenario is derived from the described mechanism and the AV:N/UI:P/AT:P CVSS metrics.

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

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

Alert me

AnalysisAIv1 – Jul 04, 2026

Malicious-pickle detection bypass in picklescan before 0.0.33 lets attackers smuggle arbitrary code past the scanner by abusing numpy.f2py.crackfortran functions that call eval() on attacker-controlled strings. Because picklescan is itself the security tool meant to vet untrusted pickle/model files, this evasion causes a weaponized pickle to be marked safe, so the embedded code executes when the file is later deserialized. Reported by VulnCheck with a CVSS 4.0 score of 7.6; no public exploit identified at time of analysis and it is not in CISA KEV.

RemediationAI

Upgrade picklescan to the fixed release - Vendor-released patch: 0.0.33 - via pip (pip install --upgrade 'picklescan>=0.0.33') and rebuild any container images or CI pipelines that pin an older version, per GHSA-r8g5-cgf2-4m4m. Until upgraded, do not treat a picklescan pass as proof of safety for untrusted pickles: prefer safer serialization such as safetensors for model weights, and load untrusted pickles only in a sandboxed, network-isolated, least-privilege environment so the eval payload cannot cause real damage, at the cost of added operational overhead. As an additional compensating control, explicitly add numpy.f2py.crackfortran (and the broader numpy.f2py namespace) to any custom deserialization deny logic to block this specific gadget, accepting that such a hand-maintained list may still miss other eval sinks.

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 utility that statically inspects pickle opcode streams for dangerous global imports/callables before an object or model is unpickled, and is widely used to guard ML supply chains (e.g. models pulled from public hubs). The root cause is CWE-502 (Deserialization of Untrusted Data) manifesting as an incomplete detection blocklist: picklescan did not classify numpy.f2py.crackfortran helper functions as dangerous, yet several of those functions internally call eval() on string arguments. An attacker can craft a pickle whose GLOBAL/REDUCE opcodes invoke a crackfortran function with a malicious expression, which the scanner deems benign but which evaluates arbitrary Python at load time. The affected component per CPE is cpe:2.3:a:picklescan:picklescan up to 0.0.32, fixed in 0.0.33; 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 7.5 HIGH

Untrusted file delivered over the network (AV:N) but success needs a specific crackfortran gadget plus numpy present (AC:H) and the victim must load the file (UI:R); arbitrary code execution yields full C/I/A impact.

3.1 AV:N/AC:H/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 unsafe deserialization when numpy.f2py.crackfortran functions call eval on arbitrary strings. Attackers can embed malicious code in pickle files that executes when loaded from untrusted sources.

Executive ViewAI

Why It Matters

Picklescan, the primary security tool for validating untrusted Python serialized objects, contains a detection bypass allowing attackers to smuggle arbitrary code past the scanner and into files marked as safe. Organizations using picklescan to protect machine learning pipelines, data processing, and external model handling face direct risk of code execution during deserialization. This directly undermines security defenses for systems processing untrusted pickle files.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: restrict pickle deserialization to trusted sources only; implement OS-level sandboxing (containers, VMs) for pickle processing; apply network segmentation to isolate pickle processing systems; implement strict input validation and file source verification; monitor picklescan GitHub repository for patch release.

Threat Intelligence Overview

EPSS Score
0.3%
Top 78% exploitable
Prevalence
Medium
widely used pickle malware scanner in ML model supply-chain security
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.3%
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.

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