CVE-2025-1945
published medium CVSS 4.0 · 5.3picklescan - Zip Flag Bit Exploit Crashes Picklescan But Not PyTorch
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| mmaitre314 | — | picklescan0.0.1 to < 0.0.23 · Other versions: unaffected | Affected | Not stated | Sonatype |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 5.3 / 10
- Severity
- medium
- Provider
- Sonatype · cna
- Vector string
- 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
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| mmaitre314 | picklescan | 0.0.1 to < 0.0.23 (affected · python)Default: unaffected | Sonatype · cna |
Weaknesses
1- CWE-345 CWE-345 Insufficient Verification of Data Authenticity
References
3Provider assertions
2Sonatype · cna
picklescan - Zip Flag Bit Exploit Crashes Picklescan But Not PyTorch
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- b965e483acd8ece582502cb92de17e7f45f2da9dd23e5be54a00146913cbb84f
- Ingested
- 23 Sep 2026, 08:38:52 UTC
- Source record
- Official CVE record