Duplicate Advisory: Zip Flag Bit Exploit Crashes Picklescan But Not PyTorch
Moderate severity
GitHub Reviewed
Published
Mar 10, 2025
to the GitHub Advisory Database
•
Updated Mar 10, 2025
Withdrawn
This advisory was withdrawn on Mar 10, 2025
Description
Published by the National Vulnerability Database
Mar 10, 2025
Published to the GitHub Advisory Database
Mar 10, 2025
Reviewed
Mar 10, 2025
Withdrawn
Mar 10, 2025
Last updated
Mar 10, 2025
Duplicate Advisory
This advisory has been withdrawn because it is a duplicate of GHSA-w8jq-xcqf-f792. This link is maintained to preserve external references.
Original 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.
References