CVE-2025-71340

GHSA-3gf5-cxq9-w223 · published 26 Aug 2025 · updated 3 Nov 2026

picklescan - Remote Code Execution via idlelib.pyshell.ModifiedInterpreter.runcode

8.1HighCVSS 8.1EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in picklescan 0.0.30.

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 in pickle files that executes arbitrary commands when the file is loaded via pickle.load(), enabling supply chain attacks on PyTorch models and saved Python objects. This is fixed in version 0.0.30.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
picklescan<=0.0.26
pypi: picklescan<0.0.300.0.30

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2025-71340 severity on Zeptric[![CVE-2025-71340](https://zeptric.io/badge/cve/CVE-2025-71340.svg)](https://zeptric.io/cve/CVE-2025-71340)