{"id":"CVE-2025-1945","published":"2025-03-10T11:43:02Z","modified":"2025-12-29T14:17:42Z","title":"picklescan - Zip Flag Bit Exploit Crashes Picklescan But Not PyTorch","vendor":"mmaitre314","product":"picklescan","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.3,"severity":"MEDIUM","version":"4.0","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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00554,"percentile":0.47172,"provenance":"source"},"cwes":[{"id":"CWE-345","name":"Insufficient Verification of Data Authenticity"}],"references":[{"url":"https://www.sonatype.com/security-advisories/cve-2025-1945","tags":["third-party-advisory"]},{"url":"https://github.com/mmaitre314/picklescan/security/advisories/GHSA-w8jq-xcqf-f792","tags":["vendor-advisory"]},{"url":"https://github.com/mmaitre314/picklescan/commit/e58e45e0d9e091159c1554f9b04828bbb40b9781","tags":["patch"]}],"priority":{"score":13.1,"factors":[{"name":"EPSS percentile","points":9.43},{"name":"CVSS severity","points":3.71}]},"vendorSlug":"mmaitre314","affectedVersions":[{"vendor":"mmaitre314","product":"picklescan","versions":[">= 0.0.1, < 0.0.23"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2025-03-10T12:04:32.561800Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"picklescan","vulnerableRanges":["<0.0.23"],"patched":["0.0.23"],"from":["GHSA-w8jq-xcqf-f792","PYSEC-2025-21"],"provenance":"source"}],"summary":{"text":"picklescan versions before 0.0.23 fail to detect malicious pickle files embedded in PyTorch model archives when specific ZIP header flag bits are modified. An attacker who can get a crafted model file loaded would need user interaction (the victim must load the model), and the bit-flipped archive remains loadable by PyTorch's torch.load(), which can result in arbitrary code execution.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:47:38Z"},"euvd":{"id":"EUVD-2025-7445","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2025-1716","published":"2025-02-26","fixed":"0.0.22","kev":false},{"cve":"CVE-2025-1889","published":"2025-03-03","fixed":"0.0.22","kev":false,"link":{"from":"CVE-2025-1889","to":"CVE-2025-1945","relation":"successor","confidence":"high","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:picklescan","fromFixed":"0.0.22","toFixed":"0.0.23","daysApart":7},{"kind":"same-code","provenance":"machine","files":["src/picklescan/scanner.py"],"commits":["https://github.com/mmaitre314/picklescan/commit/baf03faf88fece56a89534d12ce048e5ee36e50e","https://github.com/mmaitre314/picklescan/commit/e58e45e0d9e091159c1554f9b04828bbb40b9781"],"basis":"shared file"}]}},{"cve":"CVE-2025-1944","published":"2025-03-10","fixed":"0.0.23","kev":false},{"cve":"CVE-2025-1945","published":"2025-03-10","fixed":"0.0.23","kev":false},{"cve":"CVE-2025-46417","published":"2025-04-24","fixed":"0.0.25","kev":false,"link":{"from":"CVE-2025-1945","to":"CVE-2025-46417","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:picklescan","fromFixed":"0.0.23","toFixed":"0.0.25","daysApart":45}]}},{"cve":"CVE-2025-71351","published":"2026-06-21","fixed":"0.0.25","kev":false,"link":{"from":"CVE-2025-1945","to":"CVE-2025-71351","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:picklescan","fromFixed":"0.0.23","toFixed":"0.0.25","daysApart":468}]}},{"cve":"CVE-2025-71325","published":"2026-06-17","fixed":"0.0.27","kev":false}],"package":"PyPI:picklescan"}}