CVE-2025-1945 Details
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.
A vulnerability exists in PickleScan versions prior to 0.0.23, where the tool fails to detect malicious pickle files embedded in PyTorch model archives. This issue arises when certain ZIP file flag bits are altered, allowing attackers to insert harmful pickle files that evade PickleScan's scrutiny but are still executed by PyTorch's loading mechanism. The vulnerability can lead to arbitrary code execution upon loading a compromised model.
Users can upgrade to PickleScan version 0.0.23 or later, which addresses this vulnerability. Instructions for upgrading can be found on the PickleScan PyPI page.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Mar 10, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/mmaitre314/picklescan/commit/e58e45e0d9e091159c1554f9b04828bbb40b9781 | Sonatype | Patch |
| https://github.com/mmaitre314/picklescan/security/advisories/GHSA-w8jq-xcqf-f792 | Sonatype | ExploitVendor Advisory |
| https://www.sonatype.com/security-advisories/cve-2025-1945 | Sonatype |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| NVD-CWE-noinfo | Insufficient Information to Classify Weakness | [email protected] |
| CWE-345 | Insufficient Verification of Data Authenticity | Sonatype |
Affected Products
| Product | Versions |
|---|---|
| mmaitre314 picklescan | < 0.0.23 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | Sonatype |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Dec 29, 2025 | CVE Modified | Sonatype |
| Mar 19, 2025 | Initial Analysis | [email protected] |
| Mar 10, 2025 | New CVE Received | Sonatype |