picklescan - Zip Flag Bit Exploit Crashes Picklescan But Not PyTorch
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Passive
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Security bypass
- Confidentiality · integrity · availability
- None · Low · Low
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub. Impact type from CWE-345.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| picklescan | picklescan | 0.0.1 to before 0.0.23 | 0.0.23 | Patch available | CNA |
| — | picklescan (PyPI) | before 0.0.23 | 0.0.23 | Patch available | GHSA-w8jq-xcqf-f792 |
- picklescan Vendorpicklescan Affected 0.0.1 to before 0.0.23 Fixed in 0.0.23 Patch available CNA
- picklescan (PyPI) Vendor— Affected before 0.0.23 Fixed in 0.0.23 Patch available GHSA-w8jq-xcqf-f792
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:mmaitre314:picklescan:*:*:*:*:*:*:*:* | before 0.0.23 | Vulnerable | picklescan |
- cpe:2.3:a:mmaitre314:picklescan:*:*:*:*:*:*:*:* Versions before 0.0.23 Vulnerable ·picklescan
Remediation
- Fix · CNA picklescan (mmaitre314) Fixed in 0.0.23
- Fix · GHSA-w8jq-xcqf-f792 picklescan (PyPI) Fixed in 0.0.23 Advisory →
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Release ·
mmaitre314 picklescan 0.0.23
2 records Highest priority Priority MEDIUM 2 MEDIUM
Other records, highest priority first
- TI-2025-01689 picklescan ZIP archive manipulation attack leads to crashPriority MEDIUM 63
Timeline
- 2026-10-02 Threatist record created from CVE-2025-1945
- 2026-10-03 Alias added: GHSA-w8jq-xcqf-f792
References
Advisory 2
More Picklescan vulnerabilities
- TI-2025-09324 PickleScan Bypasses Unsafe Globals Check Using Submodule Imports CVSS 4.0CRITICAL 9.3
- TI-2025-09323 PickleScan Security Bypass via Bad CRC in ZIP Archive CVSS 4.0CRITICAL 9.3
- TI-2025-09322 PickleScan Security Bypass Using Misleading File Extension CVSS 4.0CRITICAL 9.3
- TI-2026-40669 picklescan - Arbitrary File Creation via logging.FileHandler Deserialization CVSS 4.0MEDIUM 6.9
- TI-2025-43498 picklescan - Remote Code Execution via Undetected cProfile.runctx in Pickle Files CVSS 4.0HIGH 7.6
- TI-2025-43477 picklescan - Arbitrary Code Execution via Undetected idlelib.pyshell.ModifiedInterpreter.runcommand CVSS 4.0HIGH 7.6
Sources
- CVE-2025-1945 · CVE Program
- CVE-2025-1945 · NVD
- FIRST EPSS
- GHSA-w8jq-xcqf-f792 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences