CVE-2025-24357
published high CVSS 3.1 · 7.5vLLM allows a malicious model RCE by torch.load in hf_model_weights_iterator
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| vllm-project | — | vllm< 0.7.0 | Affected | Not stated | GitHub_M |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.5 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| vllm-project | vllm | < 0.7.0 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-502 CWE-502: Deserialization of Untrusted Data
References
4Provider assertions
2GitHub_M · cna
vLLM allows a malicious model RCE by torch.load in hf_model_weights_iterator
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 9c051397381d023dda985d75c84f3c9fad0eacc7043a9ab0be51279e35bb68db
- Ingested
- 23 Sep 2026, 08:41:20 UTC
- Source record
- Official CVE record