{"cve":"CVE-2025-1945","nvd":{"published":"2025-03-10T12:15:12.450","modified":"2026-06-17T08:40:24.023","status":"Modified","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.","cvss_v4":{"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","score":5.3},"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8},"cwes":["CWE-345"],"references":["https://github.com/mmaitre314/picklescan/commit/e58e45e0d9e091159c1554f9b04828bbb40b9781","https://github.com/mmaitre314/picklescan/security/advisories/GHSA-w8jq-xcqf-f792","https://www.sonatype.com/security-advisories/cve-2025-1945"],"products":["mmaitre314:picklescan"],"source":"nvd","synced_at":"2026-10-19T22:00:17.429720821+00:00"},"epss":{"cve":"CVE-2025-1945","score":0.00554,"percentile":0.46282,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-w8jq-xcqf-f792","url":"https://osv.dev/vulnerability/GHSA-w8jq-xcqf-f792","summary":"Zip Flag Bit Exploit Crashes Picklescan But Not PyTorch","modified":"2025-04-09T20:37:06.084517Z","packages":[{"ecosystem":"PyPI","name":"picklescan","purl":"pkg:pypi/picklescan","ranges":["<0.0.23"],"fixed":["0.0.23"]}]},{"id":"PYSEC-2025-21","url":"https://osv.dev/vulnerability/PYSEC-2025-21","summary":"","modified":"2025-04-09T17:59:20.895699Z","packages":[{"ecosystem":"PyPI","name":"picklescan","purl":"pkg:pypi/picklescan","ranges":["<0.0.23"],"fixed":["0.0.23"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}