CVE-2025-71372

Picklescan - Arbitrary Code Execution via numpy.f2py.crackfortran.getlincoef Gadget

Published Jul 4, 2026 CVSS 4.0 · 7.6 High EPSS < 1% KEV · Not listed
Description
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.

Analysis

AI-generated

Technical impact

Picklescan prior to version 0.0.33 does not detect the numpy.f2py.crackfortran.getlincoef __reduce__ method in pickle objects, enabling attackers to embed and execute arbitrary Python code during deserialization. The vulnerability is a classic instance of data deserialization without validation (CWE-502) and permits code execution when a malicious pickle file is processed, compromising confidentiality, integrity, and availability. Based on the description, it is inferred that an attacker must supply a malicious pickle file containing the gadget for the exploit to succeed.

Affected Systems

The affected product is Picklescan, developed by mmaitre314. All releases before 0.0.33 contain the flaw and are vulnerable. Users employing these versions are at risk if untrusted pickle files are loaded, particularly in shared model scenarios.

Risk and Exploitability

The CVSS score of 7.6 classifies this vulnerability as high severity. Exploitation requires a victim to ingest a malicious pickle file, which can occur through file ingestion or network delivery of an untrusted model artifact. Based on the description, the likely attack vector is delivering and loading a malicious pickle file that contains the vulnerable gadget. The EPSS score of < 1% indicates a very low but non-zero probability of exploitation, and the vulnerability is not listed in CISA KEV. Despite the low exploitation likelihood, the high severity and potential for supply‑chain compromise make it a significant risk.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Picklescan to version 0.0.33 or later.
  • If an upgrade cannot be applied immediately, configure the environment to block or disable the numpy.f2py.crackfortran.getlincoef gadget during pickle deserialization.
  • Validate and sign any shared model files before loading into Picklescan to ensure provenance and integrity.

Generated by OpenCVE AI on August 3, 2026 at 05:23 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Picklescan
Picklescan picklescan
Vendors & Products Picklescan
Picklescan picklescan
Type Values Removed Values Added
Description 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.
Title Picklescan - Arbitrary Code Execution via numpy.f2py.crackfortran.getlincoef Gadget
First Time appeared Mmaitre314
Mmaitre314 picklescan
Weaknesses CWE-502
CPEs cpe:2.3:a:mmaitre314:picklescan:*:*:*:*:*:*:*:*
Vendors & Products Mmaitre314
Mmaitre314 picklescan
References
Metrics cvssV3_1

{'score': 8.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N'}

cvssV4_0

{'score': 7.6, 'vector': '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'}

Weaknesses
  • CWE-502

    Deserialization of Untrusted Data

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Jul 7, 2026, 2:27 AM
Reserved
Jun 20, 2026, 1:11 PM
Status
Deferred
Published
Jul 4, 2026, 2:16 AM
Modified
Oct 12, 2026, 7:10 PM