We use cookies to improve your experience on our site.
AVID-2026-R0038
Description
picklescan - Zip Flag Bit Exploit Crashes Picklescan But Not PyTorch (CVE-2025-1945)
Details
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.
References
- NVD entry
- https://www.sonatype.com/security-advisories/cve-2025-1945
- https://github.com/mmaitre314/picklescan/security/advisories/GHSA-w8jq-xcqf-f792
- https://github.com/mmaitre314/picklescan/commit/e58e45e0d9e091159c1554f9b04828bbb40b9781
Affected or Relevant Artifacts
- Developer: mmaitre314
- Deployer: mmaitre314
- Artifact Details:
| Type | Name |
|---|---|
| System | picklescan |
Impact
AVID Taxonomy Categorization
- Risk domains: Security
- SEP subcategories: S0100: Software Vulnerability
- Lifecycle stages: L06: Deployment
CWE
| ID | Description |
|---|---|
| CWE-345 | CWE-345 Insufficient Verification of Data Authenticity |
Other information
- Report Type: Advisory
- Credits:
- Date Reported: 2025-03-10
- Version: 0.3.1
- AVID Entry