Paper/Archive/CVE-2025-1945

CVE-2025-1945

mmaitre314 picklescan — picklescan - Zip Flag Bit Exploit Crashes Picklescan But Not PyTorch

Description · from the CVE record

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.

Affected

ProductAffectedFixed inSource
picklescan0.0.1 – < 0.0.230.0.23CNA

Scores by source

NVD9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Sonatype (CNA)5.3CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:L/SC:N/SI:L/SA:L
CISA ADPSSVCExploitation: poc · Automatable: yes · Technical impact: partial

References

writeupsonatype.com/security-advisories/cve-2025-1945advisorygithub.com/mmaitre314/picklescan/security/advisories/GHSA-w8jq-xcqf-f792patchgithub.com/mmaitre314/picklescan/commit/e58e45e0d9e091159c1554f9b04828bbb40b9781