Skip to content
OpenAdvisories
Medium · 5.3 CVE-2025-1944 EUVD-2025-7156GHSA-7q5r-7gvp-wc82PYSEC-2025-20

picklescan ZIP archive manipulation attack leads to crash

Published Mar 10, 2025 · Updated Dec 29, 2025 · Assigned by Sonatype

Description

picklescan before 0.0.23 is vulnerable to a ZIP archive manipulation attack that causes it to crash when attempting to extract and scan PyTorch model archives. By modifying the filename in the ZIP header while keeping the original filename in the directory listing, an attacker can make PickleScan raise a BadZipFile error. However, PyTorch's more forgiving ZIP implementation still allows the model to be loaded, enabling malicious payloads to bypass detection.

Affected products

VendorProductAffectedFixed
mmaitre314 picklescan 0.0.1 – < 0.0.23 0.0.23

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI picklescan < 0.0.23 0.0.23 GHSA-7q5r-7gvp-wc82

References