Skip to content
CriticalVulnerability

CVE-2025-1945: picklescan flaw lets malicious pickles hide in PyTorch model ZIP archives

Identifier
CVE-2025-1945
Published
Record updated
View JSON
Affected
  • picklescan < 0.0.23
Fixed in
0.0.23
  • released March 9, 2025, 1 day before disclosure
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
0.6%

Summary

picklescan before 0.0.23 fails to detect malicious pickle files embedded in PyTorch model archives when specific ZIP header flag bits are flipped. Such a file still loads through torch.load(), which can lead to arbitrary code execution when a compromised model is loaded. The source gives a Sonatype CVSS 4.0 score of 5.3 (MEDIUM) and CWE-345, while NIST's assessment is not yet provided.

Mitigation

The source links a fix commit (github.com/mmaitre314/picklescan/commit/e58e45e0d9e091159c1554f9b04828bbb40b9781) and advisory GHSA-w8jq-xcqf-f792, and the title indicates the issue is fixed in picklescan 0.0.23 or later.