Vulnerability Description
picklescan before 0.0.23 fails to detect malicious pickle files inside PyTorch model archives when certain ZIP file flag bits are modified. By flipping specific bits in the ZIP file headers, an attacker can embed malicious pickle files that remain undetected by PickleScan while still being successfully loaded by PyTorch's torch.load(). This can lead to arbitrary code execution when loading a compromised model.
CVSS Score
CRITICAL
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Mmaitre314 | Picklescan | < 0.0.23 |
Related Weaknesses (CWE)
References
- https://github.com/mmaitre314/picklescan/commit/e58e45e0d9e091159c1554f9b04828bbPatch
- https://github.com/mmaitre314/picklescan/security/advisories/GHSA-w8jq-xcqf-f792ExploitVendor Advisory
- https://www.sonatype.com/security-advisories/cve-2025-1945
FAQ
What is CVE-2025-1945?
CVE-2025-1945 is a vulnerability with a CVSS score of 9.8 (CRITICAL). picklescan before 0.0.23 fails to detect malicious pickle files inside PyTorch model archives when certain ZIP file flag bits are modified. By flipping specific bits in the ZIP file headers, an attack...
How severe is CVE-2025-1945?
CVE-2025-1945 has been rated CRITICAL with a CVSS base score of 9.8/10. This is considered a critical vulnerability requiring immediate attention.
Is there a patch for CVE-2025-1945?
Check the references section above for vendor advisories and patch information. Affected products include: Mmaitre314 Picklescan.