CVE-2025-1944
Mmaitre314 Picklescan vulnerability
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.
Affected products
Picklescan. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Mmaitre314 Picklescan runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/mmaitre314/picklescan/security/advisories/GHSA-7q5r-7gvp-wc82
- nvd.nist.gov/vuln/detail/CVE-2025-1944
- github.com/mmaitre314/picklescan/commit/e58e45e0d9e091159c1554f9b04828bbb40b9781
- sites.google.com/sonatype.com/vulnerabilities/cve-2025-1944
- github.com/pypa/advisory-database/tree/main/vulns/picklescan/PYSEC-2025-20.yaml
- github.com/advisories/GHSA-7q5r-7gvp-wc82
- www.sonatype.com/security-advisories/cve-2025-1944
- nvd.nist.gov/vuln/detail/CVE-2025-1944
- cve.org/CVERecord?id=CVE-2025-1944
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.