{"id":"CVE-2025-32434","state":"PUBLISHED","title":"PyTorch: `torch.load` with `weights_only=True` leads to remote code execution","description":"PyTorch is a Python package that provides tensor computation with strong GPU acceleration and deep neural networks built on a tape-based autograd system. In version 2.5.1 and prior, a Remote Command Execution (RCE) vulnerability exists in PyTorch when loading a model using torch.load with weights_only=True. This issue has been patched in version 2.6.0.","publishedAt":"2025-04-18T15:48:18.851Z","updatedAt":"2025-12-01T07:05:28.923Z","severity":{"score":9.3,"label":"Critical","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","source":"GitHub_M"},"assigner":"GitHub_M","products":["pytorch pytorch"],"affected":[{"vendor":"pytorch","product":"pytorch","versions":[{"version":"< 2.6.0","status":"affected"}]}],"references":["https://github.com/pytorch/pytorch/security/advisories/GHSA-53q9-r3pm-6pq6","https://lists.debian.org/debian-lts-announce/2025/12/msg00000.html"],"weaknesses":["CWE-502"],"ingestedAt":"2026-10-29T20:08:55.257Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2025/32xxx/CVE-2025-32434.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2025-32434","state":"PUBLISHED","datePublished":"2025-04-18T15:48:18.851Z","dateUpdated":"2025-12-01T07:05:28.923Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2025-04-08T10:54:58.368Z"},"containers":{"cna":{"title":"PyTorch: `torch.load` with `weights_only=True` leads to remote code execution","descriptions":[{"lang":"en","value":"PyTorch is a Python package that provides tensor computation with strong GPU acceleration and deep neural networks built on a tape-based autograd system. In version 2.5.1 and prior, a Remote Command Execution (RCE) vulnerability exists in PyTorch when loading a model using torch.load with weights_only=True. This issue has been patched in version 2.6.0."}],"affected":[{"vendor":"pytorch","product":"pytorch","versions":[{"version":"< 2.6.0","status":"affected"}]}],"references":[{"url":"https://github.com/pytorch/pytorch/security/advisories/GHSA-53q9-r3pm-6pq6","name":"https://github.com/pytorch/pytorch/security/advisories/GHSA-53q9-r3pm-6pq6","tags":["x_refsource_CONFIRM"]}],"metrics":[{"cvssV4_0":{"attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"NONE","userInteraction":"NONE","vulnConfidentialityImpact":"HIGH","vulnIntegrityImpact":"HIGH","vulnAvailabilityImpact":"HIGH","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","baseScore":9.3,"baseSeverity":"CRITICAL","vectorString":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","version":"4.0"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-502","lang":"en","description":"CWE-502: Deserialization of Untrusted Data","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2025-04-18T15:48:18.851Z"},"source":{"advisory":"GHSA-53q9-r3pm-6pq6","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-04-18T16:06:40.000632Z","id":"CVE-2025-32434","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-04-18T16:06:51.966Z"}},{"title":"CVE Program Container","references":[{"url":"https://lists.debian.org/debian-lts-announce/2025/12/msg00000.html"}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2025-12-01T07:05:28.923Z"}}]}}}