UNKNOWN PyPI
Duplicate Advisory: Zip Flag Bit Exploit Crashes Picklescan But Not PyTorch
GHSA-2fh4-gpch-vqv4
Published ยท Modified
Description
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
- WEB https://github.com/mmaitre314/picklescan/security/advisories/GHSA-w8jq-xcqf-f792
- ADVISORY https://nvd.nist.gov/vuln/detail/CVE-2025-1945
- WEB https://github.com/mmaitre314/picklescan/commit/e58e45e0d9e091159c1554f9b04828bbb40b9781
- WEB https://sites.google.com/sonatype.com/vulnerabilities/cve-2025-1945
Ready to move
Start Securing
Free, no credit card | First findings in minutes