CVE-2025-1945 picklescan - Zip Flag Bit Exploit Crashes Picklescan But Not PyTorch
MediumCVSS 5.3
EPSS 0.67%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: yes · technical impact: partial
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.
Upgrade path
2 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| mmaitre314 picklescan | < 0.0.23; >= 0.0.1, < 0.0.23 | 0.0.23 | Fixed |
| pypi picklescan(PyPI) | < 0.0.23; = 0.0.1; = 0.0.2; = 0.0.3 +19 more | 0.0.23 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi picklescan(PyPI) | < 0.0.23 | 0.0.23 |
| pypi picklescan(PyPI) | = 0.0.1 | No fix listed |
| pypi picklescan(PyPI) | = 0.0.10 | No fix listed |
| pypi picklescan(PyPI) | = 0.0.11 | No fix listed |
| pypi picklescan(PyPI) | = 0.0.12 | No fix listed |
| pypi picklescan(PyPI) | = 0.0.13 | No fix listed |
| pypi picklescan(PyPI) | = 0.0.14 | No fix listed |
| pypi picklescan(PyPI) | = 0.0.15 | No fix listed |
| pypi picklescan(PyPI) | = 0.0.16 | No fix listed |
| pypi picklescan(PyPI) | = 0.0.17 | No fix listed |
| pypi picklescan(PyPI) | = 0.0.18 | No fix listed |
| pypi picklescan(PyPI) | = 0.0.19 | No fix listed |
| pypi picklescan(PyPI) | = 0.0.2 | No fix listed |
| pypi picklescan(PyPI) | = 0.0.20 | No fix listed |
| pypi picklescan(PyPI) | = 0.0.21 | No fix listed |
| pypi picklescan(PyPI) | = 0.0.22 | No fix listed |
| pypi picklescan(PyPI) | = 0.0.3 | No fix listed |
| pypi picklescan(PyPI) | = 0.0.4 | No fix listed |
| pypi picklescan(PyPI) | = 0.0.5 | No fix listed |
| pypi picklescan(PyPI) | = 0.0.6 | No fix listed |
| pypi picklescan(PyPI) | = 0.0.7 | No fix listed |
| pypi picklescan(PyPI) | = 0.0.8 | No fix listed |
| pypi picklescan(PyPI) | = 0.0.9 | No fix listed |
| mmaitre314 picklescan | >= 0.0.1, < 0.0.23 | 0.0.23 |
| mmaitre314 picklescan | < 0.0.23 | 0.0.23 |
References
- github.com exploit vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com patch
- github.com product
- github.com
- sites.google.com
- github.com
- www.sonatype.com third-party-advisory