---
id: CVE-2025-71372
title: >-
  Picklescan before 0.0.33 fails to detect the
  numpy.f2py.crackfortran.getlincoef gadget in pickle __reduce__ methods,
  allowing arbitrary code execution
summary: >-
  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 lo…
severity: high
cvss: 8.1
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N'
cwe:
  - CWE-502
published: '2026-07-04'
updated: '2026-07-04'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2025-71372'
references:
  - url: >-
      https://github.com/mmaitre314/picklescan/security/advisories/GHSA-rrxm-2pvv-m66x
    label: disclosure@vulncheck.com
  - url: >-
      https://www.vulncheck.com/advisories/picklescan-arbitrary-code-execution-via-numpy-f2py-crackfortran-getlincoef-gadget
    label: disclosure@vulncheck.com
tags:
  - nvd
epss: 0.00544
epssPercentile: 0.43308
ingestedAt: '2026-07-04T21:57:46.853Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
