Vulnerability in Mmaitre314 Picklescan
CVE-2025-1945
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.006, 46.8th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Mmaitre314 Picklescan — versions 0.0.1
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 1 other repository (fkie-cad/nvd-json-data-feeds). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- www.sonatype.com/security-advisories/cve-2025-1945 (third-party-advisory)
- github.com/mmaitre314/picklescan/security/advisories/GHSA-w8jq-xcqf-f792 (Exploit, vendor-advisory, Vendor Advisory)
- github.com/mmaitre314/picklescan/commit/e58e45e0d9e091159c1554f9b04828bbb40b9781 (Patch, patch)