CVE-2025-1945
PickleScan before Python/PyTorch ZIP File Corruption Code Execution 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.
INFO
Published Date :
March 10, 2025, 12:15 p.m.
Last Modified :
March 19, 2025, 4:14 p.m.
Source :
103e4ec9-0a87-450b-af77-479448ddef11
Remotely Exploitable :
Yes !
Impact Score :
5.9
Exploitability Score :
3.9
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2025-1945
.
URL | Resource |
---|---|
https://github.com/mmaitre314/picklescan/commit/e58e45e0d9e091159c1554f9b04828bbb40b9781 | Patch |
https://github.com/mmaitre314/picklescan/security/advisories/GHSA-w8jq-xcqf-f792 | Exploit Vendor Advisory |
https://sites.google.com/sonatype.com/vulnerabilities/cve-2025-1945 | Exploit Third Party Advisory |
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2025-1945
vulnerability anywhere in the article.

-
The Hacker News
⚡ Weekly Recap: Chrome 0-Day, IngressNightmare, Solar Bugs, DNS Tactics, and More
Threat Intelligence / Cybersecurity Every week, someone somewhere slips up—and threat actors slip in. A misconfigured setting, an overlooked vulnerability, or a too-convenient cloud tool becomes the p ... Read more
The following table lists the changes that have been made to the
CVE-2025-1945
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
Initial Analysis by [email protected]
Mar. 19, 2025
Action Type Old Value New Value Added CVSS V3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H Added CWE NVD-CWE-noinfo Added CPE Configuration OR *cpe:2.3:a:mmaitre314:picklescan:*:*:*:*:*:*:*:* versions up to (excluding) 0.0.23 Added Reference Type Sonatype: https://github.com/mmaitre314/picklescan/commit/e58e45e0d9e091159c1554f9b04828bbb40b9781 Types: Patch Added Reference Type Sonatype: https://github.com/mmaitre314/picklescan/security/advisories/GHSA-w8jq-xcqf-f792 Types: Exploit, Vendor Advisory Added Reference Type Sonatype: https://sites.google.com/sonatype.com/vulnerabilities/cve-2025-1945 Types: Exploit, Third Party Advisory -
New CVE Received by 103e4ec9-0a87-450b-af77-479448ddef11
Mar. 10, 2025
Action Type Old Value New Value 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. Added CVSS V4.0 AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:L/SC:N/SI:L/SA:L/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X Added CWE CWE-345 Added Reference https://github.com/mmaitre314/picklescan/commit/e58e45e0d9e091159c1554f9b04828bbb40b9781 Added Reference https://github.com/mmaitre314/picklescan/security/advisories/GHSA-w8jq-xcqf-f792 Added Reference https://sites.google.com/sonatype.com/vulnerabilities/cve-2025-1945
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2025-1945
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2025-1945
weaknesses.