Moderate severityNVD Advisory· Published Mar 10, 2025· Updated Dec 29, 2025
picklescan - Zip Flag Bit Exploit Crashes Picklescan But Not PyTorch
CVE-2025-1945
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
picklescanPyPI | < 0.0.23 | 0.0.23 |
Affected products
2- Range: 0.0.1
Patches
Vulnerability mechanics
References
7- github.com/mmaitre314/picklescan/commit/e58e45e0d9e091159c1554f9b04828bbb40b9781ghsapatchWEB
- github.com/advisories/GHSA-w8jq-xcqf-f792ghsaADVISORY
- github.com/mmaitre314/picklescan/security/advisories/GHSA-w8jq-xcqf-f792ghsavendor-advisoryWEB
- nvd.nist.gov/vuln/detail/CVE-2025-1945ghsaADVISORY
- www.sonatype.com/security-advisories/cve-2025-1945mitrethird-party-advisory
- github.com/pypa/advisory-database/tree/main/vulns/picklescan/PYSEC-2025-21.yamlghsaWEB
- sites.google.com/sonatype.com/vulnerabilities/cve-2025-1945ghsaWEB
News mentions
0No linked articles in our index yet.