{"id":"CVE-2025-24357","state":"PUBLISHED","title":"vLLM allows a malicious model RCE by torch.load in hf_model_weights_iterator","description":"vLLM is a library for LLM inference and serving. vllm/model_executor/weight_utils.py implements hf_model_weights_iterator to load the model checkpoint, which is downloaded from huggingface. It uses the torch.load function and the weights_only parameter defaults to False. When torch.load loads malicious pickle data, it will execute arbitrary code during unpickling. This vulnerability is fixed in v0.7.0.","publishedAt":"2025-01-27T17:38:20.070Z","updatedAt":"2025-02-12T20:41:36.324Z","severity":{"score":7.5,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H","source":"GitHub_M"},"assigner":"GitHub_M","products":["vllm-project vllm"],"affected":[{"vendor":"vllm-project","product":"vllm","versions":[{"version":"< 0.7.0","status":"affected"}]}],"references":["https://github.com/vllm-project/vllm/security/advisories/GHSA-rh4j-5rhw-hr54","https://github.com/vllm-project/vllm/pull/12366","https://github.com/vllm-project/vllm/commit/d3d6bb13fb62da3234addf6574922a4ec0513d04","https://pytorch.org/docs/stable/generated/torch.load.html"],"weaknesses":["CWE-502"],"ingestedAt":"2026-10-29T20:08:47.682Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2025/24xxx/CVE-2025-24357.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2025-24357","state":"PUBLISHED","datePublished":"2025-01-27T17:38:20.070Z","dateUpdated":"2025-02-12T20:41:36.324Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2025-01-20T15:18:26.988Z"},"containers":{"cna":{"title":"vLLM allows a malicious model RCE by torch.load in hf_model_weights_iterator","descriptions":[{"lang":"en","value":"vLLM is a library for LLM inference and serving. vllm/model_executor/weight_utils.py implements hf_model_weights_iterator to load the model checkpoint, which is downloaded from huggingface. It uses the torch.load function and the weights_only parameter defaults to False. When torch.load loads malicious pickle data, it will execute arbitrary code during unpickling. This vulnerability is fixed in v0.7.0."}],"affected":[{"vendor":"vllm-project","product":"vllm","versions":[{"version":"< 0.7.0","status":"affected"}]}],"references":[{"url":"https://github.com/vllm-project/vllm/security/advisories/GHSA-rh4j-5rhw-hr54","name":"https://github.com/vllm-project/vllm/security/advisories/GHSA-rh4j-5rhw-hr54","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/vllm-project/vllm/pull/12366","name":"https://github.com/vllm-project/vllm/pull/12366","tags":["x_refsource_MISC"]},{"url":"https://github.com/vllm-project/vllm/commit/d3d6bb13fb62da3234addf6574922a4ec0513d04","name":"https://github.com/vllm-project/vllm/commit/d3d6bb13fb62da3234addf6574922a4ec0513d04","tags":["x_refsource_MISC"]},{"url":"https://pytorch.org/docs/stable/generated/torch.load.html","name":"https://pytorch.org/docs/stable/generated/torch.load.html","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":7.5,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H","version":"3.1"}}],"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-01-27T17:38:20.070Z"},"source":{"advisory":"GHSA-rh4j-5rhw-hr54","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"id":"CVE-2025-24357","role":"CISA Coordinator","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"version":"2.0.3","timestamp":"2025-01-27T18:20:10.107207Z"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-02-12T20:41:36.324Z"}}]}}}