CVE-2025-1945Mmaitre314 Picklescan
Medium 5.3 No auth needed
Follow: this CVE · Mmaitre314 · Mmaitre314 Picklescan We alert you by email or Slack (account required).
- Priority
- 47
- CVSS 4.0
- 5.3
- EPSS
- 0.7% probability of exploitation in 30 days · percentile 47
- Auth required
- No
- Published
- Mar 10, 2025
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-345
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: yes · Technical impact: partial
- Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:L/SC:N/SI:L/SA:L/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
What happens
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.
What to do
- Apply the vendor's security update for Picklescan.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | picklescan |
< 0.0.23 |
0.0.23 |
pip install "picklescan>=0.0.23" |
| PyPI | picklescan |
< 0.0.23 |
0.0.23 |
pip install "picklescan>=0.0.23" |
Per OSV / GitHub Advisories (GHSA-w8jq-xcqf-f792, PYSEC-2025-21). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| mmaitre314 | picklescan | < 0.0.23 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch
- github.com Exploit Vendor Advisory
- www.sonatype.com