CVE-2025-1944
MEDIUM 5.3CVSS 4.0Zip Exploit Crashes Picklescan But Not PyTorch
picklescan before 0.0.23 is vulnerable to a ZIP archive manipulation attack that causes it to crash when attempting to extract and scan PyTorch model archives. By modifying the filename in the ZIP header while keeping the original filename in the directory listing, an attacker can make PickleScan raise a BadZipFile error. However, PyTorch's more forgiving ZIP implementation still allows the model to be loaded, enabling malicious payloads to bypass detection.
- Published
- 10 Mar 2025
- Last modified
- 17 Jun 2026
- Assigned by
- 103e4ec9-0a87-450b-af77-479448ddef11
- NVD status
- Modified
- Weakness
- CWE-345
- Also known as
- GHSA-7q5r-7gvp-wc82PYSEC-2025-20
- Sources
- NVDJSONOSV GHSA-7q5r-7gvp-wc82JSONOSV PYSEC-2025-20JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | 103e4ec9-0a87-450b-af77-479448ddef11 (Secondary) | CVSS 4.0 | MEDIUM 5.3 | 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 |
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L |
| OSV | PyPA | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | mmaitre314 | picklescancpe:2.3:a:mmaitre314:picklescan:*:*:*:*:*:*:*:* |
< 0.0.23 | 0.0.23 |
| OSV | PyPI | picklescan | < 0.0.23 | 0.0.23 |
References
- https://github.com/mmaitre314/picklescan/commit/e58e45e0d9e091159c1554f9b04828bbb40b9781 · Patch, WEB, FIX
- https://github.com/mmaitre314/picklescan/security/advisories/GHSA-7q5r-7gvp-wc82 · Exploit, Vendor Advisory, WEB, EVIDENCE
- https://www.sonatype.com/security-advisories/cve-2025-1944
- https://nvd.nist.gov/vuln/detail/CVE-2025-1944 · ADVISORY
- https://github.com/mmaitre314/picklescan · PACKAGE
- https://github.com/pypa/advisory-database/tree/main/vulns/picklescan/PYSEC-2025-20.yaml · WEB
- https://sites.google.com/sonatype.com/vulnerabilities/cve-2025-1944 · WEB
History
- 25 Nov 2026 20:57 UTC · NVD: first stored (published 10 Mar 2025)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 10 Mar 2025)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 10 Mar 2025)