vLLM introduced enhanced protection for CVE-2025-62164 (CVE-2026-56340)
### Summary The fix [here](https://github.com/vllm-project/vllm/pull/27204) 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
AI Analysis
Technical Summary
The vulnerability (CVE-2026-56340) in vLLM arises from missing validation of sparse tensor indices in the prompt-embeds feature. PyTorch disables sparse tensor invariant checks by default for performance, and vLLM initially only disabled prompt-embeds by default rather than fixing the root cause. This allows attackers to submit malformed embedding requests that cause denial of service via crashes or resource exhaustion. Additionally, out-of-bounds memory corruption could enable arbitrary code execution. The vendor has introduced a fix that adds sparse tensor validation to ensure indices are valid, non-negative, and within bounds, mitigating the vulnerability. The affected versions are vLLM >=0.10.2 and <0.13.0. Red Hat advisory confirms the vulnerability and recommends disabling prompt-embeds and restricting access until the fixed build is applied.
Potential Impact
An attacker can remotely cause denial of service by triggering crashes or resource exhaustion through specially crafted embedding requests when prompt-embeds is enabled. There is also potential for out-of-bounds memory corruption, which may lead to arbitrary code execution. The vulnerability affects confidentiality, integrity, and availability of the affected system. Red Hat rates the impact as important for affected versions with prompt-embeds enabled.
Mitigation Recommendations
Disable the prompt-embeds feature if it is not required. Restrict which users can submit multimodal embedding requests by applying authentication and rate limiting on inference APIs. Upgrade to a fixed vLLM build when it becomes available from Red Hat. The current default disables prompt-embeds, which mitigates the issue, but enabling it without the patch leaves the system vulnerable.
vLLM introduced enhanced protection for CVE-2025-62164 (CVE-2026-56340)
Description
### Summary The fix [here](https://github.com/vllm-project/vllm/pull/27204) 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
CVSS v3.1
Score 8.8high
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability (CVE-2026-56340) in vLLM arises from missing validation of sparse tensor indices in the prompt-embeds feature. PyTorch disables sparse tensor invariant checks by default for performance, and vLLM initially only disabled prompt-embeds by default rather than fixing the root cause. This allows attackers to submit malformed embedding requests that cause denial of service via crashes or resource exhaustion. Additionally, out-of-bounds memory corruption could enable arbitrary code execution. The vendor has introduced a fix that adds sparse tensor validation to ensure indices are valid, non-negative, and within bounds, mitigating the vulnerability. The affected versions are vLLM >=0.10.2 and <0.13.0. Red Hat advisory confirms the vulnerability and recommends disabling prompt-embeds and restricting access until the fixed build is applied.
Potential Impact
An attacker can remotely cause denial of service by triggering crashes or resource exhaustion through specially crafted embedding requests when prompt-embeds is enabled. There is also potential for out-of-bounds memory corruption, which may lead to arbitrary code execution. The vulnerability affects confidentiality, integrity, and availability of the affected system. Red Hat rates the impact as important for affected versions with prompt-embeds enabled.
Mitigation Recommendations
Disable the prompt-embeds feature if it is not required. Restrict which users can submit multimodal embedding requests by applying authentication and rate limiting on inference APIs. Upgrade to a fixed vLLM build when it becomes available from Red Hat. The current default disables prompt-embeds, which mitigates the issue, but enabling it without the patch leaves the system vulnerable.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-mcmc-2m55-j8jj
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-56340"]
- Ecosystems
- ["PyPI"]
- Database Specific Severity
- HIGH
- Cvss Version
- 3.1
Threat ID: 6aa47eb955bf5e2cf5857971
Added to database: 09/11/2026, 22:20:41 UTC
Last enriched: 09/11/2026, 22:46:53 UTC
Last updated: 09/12/2026, 02:01:23 UTC
Views: 5
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.