Track vulnerabilities like this one. Sign up free to get alerted when software you use is affected.
7.6

CVE-2025-71342: PyTorch Models and picklescan Vulnerability: Remote Code Execution

CVE-2025-71342 · published 4 months ago
Summary

A security flaw in picklescan before version 0.0.30 allows attackers to embed malicious code in pickle files that can execute when loaded. This could lead to unauthorized access or supply chain attacks on PyTorch models. Update to the latest version of picklescan to fix this issue.

What to do
  • Update picklescan picklescan to version 0.0.30 or later.
Affected software
VendorProductAffected versions
picklescan picklescan < 0.0.30
Original advisory text
picklescan before 0.0.30 fails to detect malicious pickle files using idlelib.run.Executive.runcode in reduce methods. Attackers can embed undetected code in pickle files that executes during pickl...
picklescan before 0.0.30 fails to detect malicious pickle files using idlelib.run.Executive.runcode in reduce methods. Attackers can embed undetected code in pickle files that executes during pickle.load, enabling remote code execution in PyTorch models and supply chain attacks.
Fix within
Internet-facing 14 days
Internal At next upgrade
  • Not known to be exploited
  • Needs hands-on effort to exploit
  • Gives an attacker full control
Severity
7.6 High
Exploitation
<1% chance of attack within 30 days
Type
CWE-502Deserialization of Untrusted Data
Timeline
Published4 Jul 2026
Updated4 Nov 2026
First seen4 Jul 2026
Sources
CVE-2025-71342 · MITRE
Track software like this
Free during beta