CVE-2025-1945

CRITICAL
Published Mar 10, 2025 Modified Dec 29, 2025 CWE-345

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.

Is your site exposed to CVE-2025-1945?

Run a free security scan — no signup, results in seconds.

CVSS v3.1 Score

9.8
CRITICAL
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Weakness Type (CWE)

CWE-345 CWE-345

Affected Products

Vendor Product
mmaitre314 picklescan

References

Frequently Asked Questions

What is CVE-2025-1945? +
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. It has a CVSS v3.1 base score of 9.8 (CRITICAL).
How severe is CVE-2025-1945? +
CVE-2025-1945 has a CVSS v3.1 score of 9.8 out of 10, rated CRITICAL. This is a critical vulnerability that should be patched immediately.
What products are affected by CVE-2025-1945? +
CVE-2025-1945 affects products from mmaitre314, specifically: picklescan. Check the affected products table above for specific version ranges.
How do I check if I'm vulnerable to CVE-2025-1945? +
You can use Secably's free Website Scanner to check your website for known vulnerabilities. For infrastructure scanning, use the Port Scanner to identify exposed services that may be affected. Check the vendor advisories linked above for specific patch and version information.

Related Vulnerabilities

Don't wait for an exploit

Scan your website for vulnerabilities like CVE-2025-1945 — free, no signup required.