Security mailing lists by PureSourceCode

CVE-2025-24357

HIGH 8.8CVSS 3.1

vllm: Malicious model to RCE by torch.load in hf_model_weights_iterator

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.

Published
27 Jan 2025
Last modified
7 Aug 2026
Assigned by
security-advisories@github.com
NVD status
Analyzed
Weakness
CWE-502
Also known as
GHSA-rh4j-5rhw-hr54PYSEC-2025-58
Sources
NVDJSONOSV GHSA-rh4j-5rhw-hr54JSONOSV PYSEC-2025-58JSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 HIGH 8.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
OSV PyPA CVSS 3.1 HIGH 8.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
NVD security-advisories@github.com (Secondary) CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
OSV GitHub CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD vllm vllm
cpe:2.3:a:vllm:vllm:*:*:*:*:*:*:*:*
< 0.7.0 0.7.0
OSV PyPI vllm < 0.7.0 0.7.0

References

History

  • 25 Nov 2026 20:57 UTC · NVD: first stored (published 27 Jan 2025)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 27 Jan 2025)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 27 Jan 2025)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.