# CVE-2025-1944: picklescan ZIP archive manipulation attack leads to crash

- Severity: Medium 5.3 (CVSS:4.0, scored by Sonatype) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.33%, higher than 28% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-03-10T11:30:32.896Z
- Modified: 2026-06-17T08:40:23.900Z
- Also known as: GHSA-7q5r-7gvp-wc82, PYSEC-2025-20
- Weaknesses: CWE-345
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: Sonatype

## Description

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.

(As written by CVE List.)

## Affected

- mmaitre314 picklescan: from 0.0.1 before 0.0.23; before 0.0.23
- picklescan (PyPI): before 0.0.23; before e58e45e0d9e091159c1554f9b04828bbb40b9781

## Every score

- Sonatype: CVSS:4.0 5.3 Medium `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`
- GitHub: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L`
- GitHub: CVSS:4.0 Medium `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: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L`
- PyPA Advisory Database: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L`

## References

- <https://github.com/mmaitre314/picklescan/security/advisories/GHSA-7q5r-7gvp-wc82> (exploit, evidence, vendor-advisory, web)
- <https://www.sonatype.com/security-advisories/cve-2025-1944> (third-party-advisory)
- <https://github.com/mmaitre314/picklescan/commit/e58e45e0d9e091159c1554f9b04828bbb40b9781> (fix, patch, web)
- <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)

## Sources

- CVE List: [CVE-2025-1944](https://www.cve.org/CVERecord?id=CVE-2025-1944), CVE Terms of Use, modified 2025-12-29
- GitHub Advisory Database: [GHSA-7q5r-7gvp-wc82](https://github.com/advisories/GHSA-7q5r-7gvp-wc82), CC-BY-4.0, modified 2025-04-09
- NVD: [CVE-2025-1944](https://nvd.nist.gov/vuln/detail/CVE-2025-1944), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2025-20](https://osv.dev/vulnerability/PYSEC-2025-20), CC-BY-4.0, modified 2025-04-09

---

Page: https://cve.day/CVE-2025-1944 · Whole record: https://cve.day/CVE-2025-1944.json · Rebuilt by cve.day 2026-11-25T22:58:55.079Z
