Browse / Unbounded Consumption / CVE-2026-56340
vLLM introduced enhanced protection for CVE-2025-62164
- Class
- Unbounded Consumption (filed by a model that read the advisory)
- Technique
- Denial of service
- Also involves
- AI Framework and Platform Flaws
- Affected
- vllm (PyPI)
- Gets past
- Earlier patch
- CVSS
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- EPSS
- 0.6% chance of exploitation in 30 days
How it works, in short
Crafted sparse prompt embeddings reach PyTorch without index validation, so enabling the feature lets a user crash or stall the serving process. (Our summary, written by a model. The source text is below.)
Details
Summary
The fix here for CVE-2025-62164 is not sufficient. The fix only disables prompt embeds by default rather than addressing the root cause, so the DoS vulnerability remains when the feature is enabled.
Details
vLLM's pending change attempts to fix the root cause, which is the missing sparse tensor validation. PyTorch (~v2.0) disables sparse tensor validation (specifically, sparse tensor invariants checks) by default for performance reasons. vLLM is adding the sparse tensor validation to ensure indices are valid, non-negative, and within bounds. These checks help catch malformed tensors.
PoC
NA
Impact
Current fix only added a flag to disable/enable prompt embeds, so by default, prompt embeds feature is disabled in vLLM, which stops DoS attacks through the embeddings. However, It doesn’t address the problem when the flag is enabled and there is still potential for DoS attacks.
Changes
- https://github.com/vllm-project/vllm/pull/30649
References
- https://github.com/vllm-project/vllm/security/advisories/GHSA-mcmc-2m55-j8jj
- https://github.com/vllm-project/vllm/pull/30649
- https://access.redhat.com/security/cve/CVE-2026-56340
- https://bugzilla.redhat.com/show_bug.cgi?id=2491060
- https://github.com/pypa/advisory-database/tree/main/vulns/vllm/PYSEC-2026-250.yaml
- https://github.com/vllm-project/vllm
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-56340.json
- https://www.vulncheck.com/advisories/vllm-denial-of-service-via-unvalidated-multimodal-embeddings
Source: GitHub Advisory Database, used under CC BY 4.0.