CVE-2025-71339: Picklescan - Arbitrary Code Execution via numpy.f2py.crackfortran._eval_length Gadget
Picklescan before 0.0.33 fails to detect the numpy.f2py.crackfortran._eval_length gadget in pickle __reduce__ methods, allowing arbitrary code execution. Attackers can craft malicious pickle files that execute arbitrary Python code when loaded by victims who trust Picklescan's safety validation.
Security readout for executives and security teams
Plain-English summary
Picklescan is meant to help decide whether Python pickle files are safe. In vulnerable versions before 0.0.33, it can miss a known dangerous NumPy gadget, so a malicious pickle may be incorrectly trusted and later execute Python code when loaded.
Executive priority
Prioritize remediation where Picklescan gates external ML models, datasets, or customer-supplied artifacts. The issue can turn a safety-checking workflow into a false assurance path for code execution.
Technical view
CVE-2025-71339 is a CWE-502 unsafe deserialization detection bypass in Picklescan. The scanner fails to flag numpy.f2py.crackfortran._eval_length in pickle __reduce__ methods. The CVSS 3.1 score is 8.1, requiring user interaction but no privileges, with high confidentiality and integrity impact.
Likely exposure
Exposure is most likely in ML, data science, CI, or model-ingestion workflows that use Picklescan before 0.0.33 to validate untrusted pickle artifacts before loading them.
Exploitation context
The provided sources do not show KEV listing or active exploitation. Abuse depends on a victim trusting Picklescan’s result and loading a crafted pickle in an environment where the gadget is available.
Researcher notes
This is a scanner detection bypass, not a new general pickle execution primitive. Focus analysis on trust boundaries, downstream loading behavior, NumPy availability, and whether Picklescan results are used as an allow decision.
Mitigation direction
Upgrade Picklescan to 0.0.33 or later, per vendor guidance.
Do not load untrusted pickle files solely because Picklescan passed them.
Restrict pickle ingestion to trusted sources and controlled environments.
Review vendor advisories for any additional recommended safeguards.
Validation and detection
Inventory Picklescan versions in developer, CI, and model-ingestion environments.
Identify workflows that scan pickle files and then automatically load them.
Check dependency locks and build images for Picklescan before 0.0.33.
Review recent accepted pickle artifacts from untrusted or external sources.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cwe · medium confidence lookup
CWE-502: Code execution behavior lookup
Code execution and unsafe deserialization weaknesses often justify reviewing execution behavior and process telemetry. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
The CVE wording references code or command execution, so execution technique review may help defensive triage. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
2CVSS vectors
3Timeline events
1ADP providers
3Source links
SSVC decision data
CISA-ADPCISA Coordinator
Timestamp
Version
2.0.3
Exploitation: pocAutomatable: noTechnical Impact: total
CVSS vector scores
2 official scores
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
CWE-502 · source CWE mapping
Deserialization of Untrusted Data
Deserialization of Untrusted Data represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.