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

CVE-2025-71370: picklescan may let malicious pickle files run code

CVE-2025-71370 · published 3 months ago
Summary

The picklescan tool up to version 0.0.27 does not recognize dangerous calls hidden in pickle files that use torch.jit.unsupported_tensor_ops.execWrapper. As a result, a crafted pickle file could execute any code when it is loaded with pickle.load(). Upgrade picklescan to a version that includes the fix or avoid loading untrusted pickle files.

What to do
  • Update matthieu maitre picklescan to version 0.0.28.
  • Update picklescan to version 0.0.28.
Affected software
Ecosystem VendorProductAffected versions
pip matthieu maitre picklescan <= 0.0.27
Fix: upgrade to 0.0.28
pip – picklescan <= 0.0.27
Fix: upgrade to 0.0.28
PyPI – picklescan < 0.0.28
Fix: upgrade to 0.0.28
Original advisory text
picklescan - Remote Code Execution via torch.jit.unsupported_tensor_ops.execWrapper
picklescan before 0.0.28 fails to detect malicious torch.jit.unsupported_tensor_ops.execWrapper function calls embedded in pickle files. Attackers can craft malicious pickle files that bypass picklescan detection and execute arbitrary code when loaded via pickle.load().
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-345Insufficient Verification of Data Authenticity
CWE-502Deserialization of Untrusted Data
Timeline
Published23 Jun 2026
Updated11 Oct 2026
First seen6 Mar 2026
Track software like this
Free during beta