TECHNOLOGY

vLLM prompt embeddings CVE: tensor validation and the input-access boundary

In this article
THE QUICK TAKE

The issue concerns serialized embedding inputs and tensor integrity, even with weights-only loading. The referenced fix gates embedding features; it is not a claim that arbitrary enabled inputs are safe.

The vLLM prompt-embedding advisory concerns a particular input path: serialized tensors supplied to the Completions API. Published in November 2025 as CVE-2025-62164, it describes memory corruption that can crash the serving process and potentially lead to remote code execution. Understanding the input boundary is more useful than treating every ordinary text completion as the same operation. Maintainer advisory.

Serialized embeddings cross a different boundary from text

The affected path decodes supplied embedding data, loads it through PyTorch and converts the resulting tensor to a dense representation. The advisory explains that sparse-tensor integrity checking changed in PyTorch 2.8.0: the relevant checks are not enabled by default. An invalid sparse structure can therefore reach a later operation without the needed invariant validation.

Importantly, the shown loading path already uses the weights-only option. This case demonstrates that restricting object deserialization and validating the internal structure of a tensor are different checks. The artifact validation guide discusses a related separation between data format, provenance and executable repository code; it should not be interpreted as proof that a tensor-processing pipeline has no native memory-safety concerns.

A reported possibility is not an observed incident count

The advisory describes denial of service and potential remote code execution in the server process. It does not provide a count of compromised deployments or establish that every observed crash achieved code execution. Access to the affected API input path is part of the exposure being discussed.

For an operator evaluating a historical report, preserve the distinction between an accepted input feature, a demonstrated crash and a claimed possible consequence. An unrelated generation error or out-of-memory failure is not evidence of exploitation of this particular issue. Likewise, a valid response to a normal prompt does not exercise the serialized-embedding path.

The referenced change gates embedding loading

The official change linked by the advisory requires explicit enablement for text and multimodal embedding inputs. Its renderer checks the text-embedding setting before loading the supplied data; multimodal paths have their own checks. The accompanying documentation limits these enabled paths to trusted users and notes that incorrect shapes may crash the engine.

This is a feature-access boundary, not evidence that enabling every embedding option makes arbitrary tensors safe. When reading the historical fix, keep the flags and the accepted caller population in view. A separate application layer that deserializes an upload before forwarding a request also needs its own assessment; the server setting cannot retroactively validate work already performed elsewhere.

Record the installed version and effective feature settings

The advisory identifies introduction of the affected behavior with vLLM 0.10.2 and names 0.11.1 as patched. These are the historical version boundaries for this issue, not a claim that every later release remains affected or that an old fixed version is the appropriate choice for a current service.

A deployment record should link the actual image or package revision to the effective embedding settings and intended input contract. The reproducible stack guide explains how to preserve that relationship. After a change, normal text requests and the intended acceptance or rejection of embedding requests are separate verification outcomes. The concrete lesson is to identify where client-supplied structured data becomes a tensor and which validation and access controls apply at that exact boundary.

Sources

Earn rental income from GPUs

Have idle GPUs or looking to fund AI infrastructure? Retrivium finds a rental platform, sets up the server and helps you assess income and costs with a pilot.

Explore GPU hosting
← All articles