{"id":"CVE-2025-1945","state":"PUBLISHED","title":"picklescan - Zip Flag Bit Exploit Crashes Picklescan But Not PyTorch","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.","publishedAt":"2025-03-10T11:43:02.158Z","updatedAt":"2025-12-29T14:17:42.215Z","severity":{"score":5.3,"label":"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","source":"Sonatype"},"assigner":"Sonatype","products":["mmaitre314 picklescan"],"affected":[{"vendor":"mmaitre314","product":"picklescan","defaultStatus":"unaffected","versions":[{"version":"0.0.1","status":"affected","lessThan":"0.0.23","versionType":"python"}]}],"references":["https://www.sonatype.com/security-advisories/cve-2025-1945","https://github.com/mmaitre314/picklescan/security/advisories/GHSA-w8jq-xcqf-f792","https://github.com/mmaitre314/picklescan/commit/e58e45e0d9e091159c1554f9b04828bbb40b9781"],"weaknesses":["CWE-345"],"ingestedAt":"2026-10-29T20:08:39.238Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2025/1xxx/CVE-2025-1945.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2025-1945","state":"PUBLISHED","datePublished":"2025-03-10T11:43:02.158Z","dateUpdated":"2025-12-29T14:17:42.215Z","assignerShortName":"Sonatype","assignerOrgId":"103e4ec9-0a87-450b-af77-479448ddef11","dateReserved":"2025-03-04T12:59:35.306Z"},"containers":{"cna":{"title":"picklescan - Zip Flag Bit Exploit Crashes Picklescan But Not PyTorch","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"mmaitre314","product":"picklescan","defaultStatus":"unaffected","versions":[{"version":"0.0.1","status":"affected","lessThan":"0.0.23","versionType":"python"}]}],"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"]}],"metrics":[{"cvssV4_0":{"Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","Safety":"NOT_DEFINED","attackComplexity":"LOW","attackRequirements":"NONE","attackVector":"NETWORK","baseScore":5.3,"baseSeverity":"MEDIUM","exploitMaturity":"NOT_DEFINED","privilegesRequired":"NONE","providerUrgency":"NOT_DEFINED","subAvailabilityImpact":"LOW","subConfidentialityImpact":"NONE","subIntegrityImpact":"LOW","userInteraction":"PASSIVE","valueDensity":"NOT_DEFINED","vectorString":"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","version":"4.0","vulnAvailabilityImpact":"LOW","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"LOW","vulnerabilityResponseEffort":"NOT_DEFINED"},"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-345","description":"CWE-345 Insufficient Verification of Data Authenticity","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"Sonatype","orgId":"103e4ec9-0a87-450b-af77-479448ddef11","dateUpdated":"2025-12-29T14:17:42.215Z"},"credits":[{"lang":"en","type":"finder","value":"Trevor Madge (@madgetr) of Sonatype"}],"source":{"discovery":"UNKNOWN"},"x_generator":{"engine":"Vulnogram 0.2.0"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-03-10T12:04:32.561800Z","id":"CVE-2025-1945","options":[{"Exploitation":"poc"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-03-10T12:05:04.004Z"}}]}}}