Skip to content
MediumVulnerability

CVE-2025-1944: picklescan ZIP archive manipulation crashes scan of PyTorch model archives

Identifier
CVE-2025-1944
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.3%

Summary

picklescan before 0.0.23 can be made to crash when it extracts and scans PyTorch model archives. An attacker modifies the filename in the ZIP header while keeping the original name in the directory listing, causing PickleScan to raise a BadZipFile error. PyTorch's more forgiving ZIP implementation still loads the model, so malicious payloads can bypass detection.

Mitigation

Fixed in commit e58e45e0d9e091159c1554f9b04828bbb40b9781 (GitHub commit linked as a Sonatype patch).