VLLM deserialization vulnerability leading to DoS and potential RCE
Description
vLLM is an inference and serving engine for large language models (LLMs). From versions 0.10.2 to before 0.11.1, a memory corruption vulnerability could lead to a crash (denial-of-service) and potentially remote code execution (RCE), exists in the Completions API endpoint. When processing user-supplied prompt embeddings, the endpoint loads serialized tensors using torch.load() without sufficient validation. Due to a change introduced in PyTorch 2.8.0, sparse tensor integrity checks are disabled by default. As a result, maliciously crafted tensors can bypass internal bounds checks and trigger an out-of-bounds memory write during the call to to_dense(). This memory corruption can crash vLLM and potentially lead to code execution on the server hosting vLLM. This issue has been patched in version 0.11.1.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
vllmPyPI | >= 0.10.2, < 0.11.1 | 0.11.1 |
Affected products
4- osv-coords3 versionspkg:apk/chainguard/tritonserver-backend-vllm-cuda-12.9pkg:apk/chainguard/tritonserver-backend-vllm-meta-cuda-12.9pkg:pypi/vllm
< 25.9.0_git20251112-r1+ 2 more
- (no CPE)range: < 25.9.0_git20251112-r1
- (no CPE)range: < 25.9.0_git20251112-r1
- (no CPE)range: >= 0.10.2, < 0.11.1
Patches
Vulnerability mechanics
References
5- github.com/advisories/GHSA-mrw7-hf4f-83pfghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2025-62164ghsaADVISORY
- github.com/vllm-project/vllm/commit/58fab50d82838d5014f4a14d991fdb9352c9c84bghsax_refsource_MISCWEB
- github.com/vllm-project/vllm/pull/27204ghsax_refsource_MISCWEB
- github.com/vllm-project/vllm/security/advisories/GHSA-mrw7-hf4f-83pfghsax_refsource_CONFIRMWEB
News mentions
0No linked articles in our index yet.