Skip to content
HighVulnerability

CVE-2025-71340: picklescan fails to detect malicious pickle files invoking runcode in __reduce__

Identifier
CVE-2025-71340
Published
Record updated
View JSON
Affected
  • picklescan < 0.0.30
Fixed in
0.0.30
  • released August 26, 2025, 303 days before disclosure
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
0.4%

Summary

picklescan through 0.0.26 fails to detect malicious pickle files that invoke idlelib.pyshell.ModifiedInterpreter.runcode in __reduce__ methods. Attackers can embed undetected code that runs arbitrary commands when the file is loaded via pickle.load(), enabling supply chain attacks on PyTorch models and saved Python objects.

Mitigation

This is fixed in version 0.0.30.