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.
Advisories
Source ID Title
EUVD EUVD EUVD-2025-7445 Zip Flag Bit Exploit Crashes Picklescan But Not PyTorch
Github GHSA Github GHSA GHSA-w8jq-xcqf-f792 Zip Flag Bit Exploit Crashes Picklescan But Not PyTorch
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

Tue, 30 Dec 2025 00:30:00 +0900

Type Values Removed Values Added
References

Mon, 29 Dec 2025 23:30:00 +0900

Type Values Removed Values Added
References

Thu, 20 Mar 2025 01:30:00 +0900

Type Values Removed Values Added
First Time appeared Mmaitre314
Mmaitre314 picklescan
Weaknesses NVD-CWE-noinfo
CPEs cpe:2.3:a:mmaitre314:picklescan:*:*:*:*:*:*:*:*
Vendors & Products Mmaitre314
Mmaitre314 picklescan
Metrics cvssV3_1

{'score': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}


Mon, 10 Mar 2025 23:15:00 +0900

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Mon, 10 Mar 2025 21:00:00 +0900

Type Values Removed Values Added
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.
Title picklescan - Zip Flag Bit Exploit Crashes Picklescan But Not PyTorch
Weaknesses CWE-345
References
Metrics cvssV4_0

{'score': 5.3, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:L/SC:N/SI:L/SA:L'}


Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: Sonatype

Published:

Updated: 2025-12-29T14:17:42.215Z

Reserved: 2025-03-04T12:59:35.306Z

Link: CVE-2025-1945

cve-icon Vulnrichment

Updated: 2025-03-10T12:04:55.756Z

cve-icon NVD

Status : Modified

Published: 2025-03-10T12:15:12.450

Modified: 2025-12-29T15:16:01.277

Link: CVE-2025-1945

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.

Weaknesses