PatchSiren cyber security CVE debrief
CVE-2025-71340 picklescan CVE debrief
CVE-2025-71340 is a high-severity vulnerability in picklescan through version 0.0.26 that allows attackers to embed undetected code in pickle files. This code executes arbitrary commands when the file is loaded via pickle.load(), enabling supply chain attacks on PyTorch models and saved Python objects. The vulnerability is fixed in version 0.0.30. Affected product deployments should be reviewed for exposure, and owners should prioritize upgrading picklescan to version 0.0.30 or later to prevent potential execution of arbitrary commands.
- Vendor
- picklescan
- Product
- Unknown
- CVSS
- HIGH 7.6
- CISA KEV
- Not listed in stored evidence
- Original CVE published
- 2025-08-26
- Original CVE updated
- 2026-11-03
- Advisory published
- 2025-08-26
- Advisory updated
- 2026-11-03
Who should care
Defenders responsible for PyTorch models and saved Python objects, as well as those managing dependencies and libraries, should assess exposure and prioritize upgrading picklescan to version 0.0.30 or later.
Why it matters
CVE-2025-71340 is a high-severity vulnerability in picklescan that allows for supply chain attacks via malicious pickle files. Defenders should prioritize upgrading to version 0.0.30 or later to prevent potential execution of arbitrary commands.
- Possible execution of arbitrary commands when loading malicious pickle files
- Potential supply chain attacks on PyTorch models and saved Python objects
- Need for verification of affected systems and inventory checks
- Priority on upgrading picklescan to version 0.0.30 or later
Technical summary
The picklescan library through version 0.0.26 fails to detect malicious pickle files that invoke idlelib.pyshell.ModifiedInterpreter.runcode in __reduce__ methods. This allows attackers to embed undetected code in pickle files that executes arbitrary commands when the file is loaded via pickle.load(). The vulnerability is fixed in version 0.0.30, and defenders should prioritize upgrading to this version to prevent supply chain attacks on PyTorch models and saved Python objects. The technical impact is significant, as it enables attackers to execute arbitrary commands, potentially leading to a compromise of affected systems.
Defensive priority
Defenders should prioritize upgrading picklescan to version 0.0.30 or later to prevent supply chain attacks on PyTorch models and saved Python objects.
Recommended defensive actions
- Upgrade picklescan to version 0.0.30 or later
- Review and update PyTorch models and saved Python objects to ensure they are not vulnerable
- Monitor systems for suspicious activity related to pickle file loading
- Confirm whether affected product deployments exist in managed environments and assign an owner for follow-up
- Review the supplied official advisory or CVE record to validate affected scope, severity, and vendor guidance
- Plan vendor-supported updates or mitigations through normal change control where exposure is confirmed
- Check relevant monitoring, detection, and logs for exposed assets that need extra review
Evidence notes
The CVE record and NVD entry provide details on the vulnerability, its impact, and the fixed version. However, the scope of affected systems and the extent of exploitation remain unknown. Defenders should verify affected systems, review inventory, and monitor for suspicious activity related to pickle file loading. The lack of information on exploitation and affected scope requires a cautious approach to ensure thorough mitigation.
Sources and references
Verified primary and authoritative sources
-
CVE-2025-71340 CVE Program record
Publisher, destination, and source semantics verified
URL: https://www.cve.org/CVERecord?id=CVE-2025-71340
CVE Program - Official CVE Program record with source-provided CVE metadata.
-
CVE-2025-71340 NVD vulnerability detail
Publisher, destination, and source semantics verified
URL: https://nvd.nist.gov/vuln/detail/CVE-2025-71340
NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.
Supplemental references
-
Source reference
Unverified legacy reference
URL: https://github.com/mmaitre314/picklescan/security/advisories/GHSA-3gf5-cxq9-w223
-
Source reference
Unverified legacy reference
URL: https://www.vulncheck.com/advisories/picklescan-remote-code-execution-via-idlelib-pyshell-modifiedinterpreter-runcode
Methodology and review provenance
AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.