CVE-2025-71372: Picklescan - Arbitrary Code Execution via numpy.f2py.crackfortran.getlincoef Gadget
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.
Security readout for executives and security teams
Plain-English summary
Picklescan is meant to help detect unsafe Python pickle files. Versions before 0.0.33 missed a known gadget path, so a malicious pickle could pass safety checks and still run attacker-controlled Python code when loaded.
Executive priority
Prioritize remediation where Picklescan protects model or artifact intake. The risk is supply-chain code execution after user-assisted file handling, not a remotely exploitable network service by itself.
Technical view
CVE-2025-71372 is a CWE-502 deserialization issue in Picklescan before 0.0.33. Detection missed the numpy.f2py.crackfortran.getlincoef gadget in pickle __reduce__ methods, enabling crafted pickle files to bypass checks and execute arbitrary Python code when later loaded.
Likely exposure
Exposure is most likely in AI, ML, or data workflows that use Picklescan before 0.0.33 to screen shared pickle or model files before loading them.
Exploitation context
The source bundle does not show CISA KEV listing or confirmed active exploitation. Practical abuse would require a user or pipeline to scan and then load a malicious pickle file.
Researcher notes
Evidence supports a detection bypass involving a specific numpy.f2py gadget and pickle __reduce__ behavior. The bundle does not include exploit-in-the-wild evidence, detailed PoC status, or broader affected product claims.
Mitigation direction
Upgrade Picklescan from versions before 0.0.33 where applicable.
Check the GitHub advisory for exact vendor remediation guidance.
Avoid loading pickle files from untrusted or unauthenticated sources.
Treat shared model files as executable-risk artifacts until validated.
Add provenance and integrity checks for model-file intake workflows.
Validation and detection
Inventory Picklescan versions in build, ML, and data-processing environments.
Identify pipelines that scan pickle files and then load them automatically.
Review whether external model files can enter trusted workflows.
Confirm no process relies solely on Picklescan for pickle safety.
Track vendor advisory updates for additional affected-version detail.
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.