CVE-2025-71342 Details
Description
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.
A remote code execution vulnerability exists in Picklescan versions prior to 0.0.30. The issue arises because the tool fails to detect harmful code embedded in pickle files, specifically when the 'idlelib.run.Executive.runcode' function is used in the 'reduce' method. This undetected code execution occurs during the unpickling process with 'pickle.load', allowing attackers to execute arbitrary code in PyTorch environments. Additionally, this vulnerability poses a supply chain risk, as infected pickle files could be distributed across machine learning models, APIs, or saved Python objects.
Users can upgrade to Picklescan version 0.0.30 or later, where this vulnerability has been addressed.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Jul 4, 2026CISA-ADP
Assessed Jul 6, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/mmaitre314/picklescan/security/advisories/GHSA-m869-42cg-3xwr | CISA-ADP | AdvisoryExploitRemedyVendor |
| https://github.com/mmaitre314/picklescan/security/advisories/GHSA-m869-42cg-3xwr | [email protected] | AdvisoryExploitRemedyVendor |
| https://www.vulncheck.com/advisories/picklescan-undetected-remote-code-execution-via-idlelib-run-executive-runcode | [email protected] | Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-502 | Deserialization of Untrusted Data | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| mmaitre314 picklescan | <= 0.0.26 (semver) |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 12, 2026 | CVE Translated | [email protected] |
| Oct 5, 2026 | CVE Translated | [email protected] |
| Sep 30, 2026 | CVE Translated | [email protected] |
| Jul 6, 2026 | CVE Modified | CISA-ADP |
| Jul 4, 2026 | New CVE Received | [email protected] |
Volerion