Skip to content
HighVulnerabilityLLM-specific

CVE-2025-24357: vLLM deserialization of untrusted model weights via torch.load

Identifier
CVE-2025-24357
Published
Record updated
View JSON
Affected
  • vllm < 0.7.0
Fixed in
0.7.0
  • released January 27, 2025, on the day of disclosure
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
0.9%

Summary

CVE-2025-24357 affects vLLM, a library for LLM inference and serving. In vllm/model_executor/weight_utils.py, the hf_model_weights_iterator function loads model checkpoints downloaded from Hugging Face using torch.load with weights_only defaulting to False. When torch.load loads malicious pickle data, it executes arbitrary code during unpickling. The weakness is classified as CWE-502, Deserialization of Untrusted Data.

Mitigation

This vulnerability is fixed in v0.7.0.