picklescan - Zip Flag Bit Exploit Crashes Picklescan But Not PyTorch
Vulnerability Description
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.
Impact Analysis
Refer to official advisory for detailed impact metrics.
Remediation
Ensure systems are updated to the latest vendor-supplied patch levels.
Am I Vulnerable?
Launch our assessment wizard to check if your infrastructure is exposed to • CVE-2025-1945
Credits & Attribution
The following person or organization is credited with identifying this vulnerability, as recorded in the NVD database:
- Trevor Madge (@madgetr) of Sonatype
References
More from mmaitre314
View All →Affected Vendor
mmaitre314
View all reports →