CVE-2026-54234: vLLM Remote Denial of Service via Speculative Decoding Token Handling
vLLM, a widely-used inference engine for large language models, contains a flaw in its speculative decoding logic that can crash the service. When processing certain multi-request workloads, the rejection sampler can generate an invalid token value that the engine mishandles, eventually triggering a GPU-side assertion failure. Because this crash can be triggered remotely via the public gRPC API, an unauthenticated attacker can repeatedly crash shared inference workers, disrupting service for all other users until manual restart. The issue affects all versions prior to 0.24.0.
Source data · NVD / CISA · public domain
- CVSS
- 3.1 · 7.5 HIGH · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Weaknesses (CWE)
- CWE-1284, CWE-20
- Affected products
- 1 configuration(s)
- Published / Modified
- 2026-07-06 / 2026-07-07
NVD description (verbatim)
vLLM is a high-throughput and memory-efficient inference and serving engine for LLMs. Prior to 0.24.0, a frontend-legal multi-request speculative decoding workload can cause the rejection sampler to produce a recovered token equal to the model vocabulary size boundary value, which is then converted to negative one when the engine selects the next live token for a request and is written back into the drafter's input ids; that out-of-vocabulary value is later consumed by the model's embedding and attention path and crashes the engine worker with a GPU device-side assertion. The same triggering request sequence is reachable through the public gRPC Generate and Abort endpoints, so a remote client that can send generation requests can crash the shared engine worker, aborting concurrent requests and causing a service-wide denial of service for other clients of the deployment until the worker is restarted. This issue is fixed in version 0.24.0.
4 reference(s) · View on NVD →
SEC.co analysis · AI-assisted, reviewed against source
Technical summary
The vulnerability stems from improper handling of out-of-vocabulary token indices in vLLM's speculative decoding pipeline. During multi-request workloads, the rejection sampler can produce a token equal to the model's vocabulary size boundary. When this boundary value is converted to -1 (negative one) and written back into the drafter's input IDs, the downstream embedding and attention layers receive an invalid index. The GPU device-side assertion fires when this out-of-vocabulary value is consumed, causing the worker process to crash. The vulnerability is reachable through both the public gRPC Generate and Abort endpoints without authentication, enabling remote denial of service.
Business impact
Production vLLM deployments face immediate service availability risk. A single attacker can crash inference workers serving multiple concurrent clients, causing all in-flight requests on that worker to fail and forcing manual restart. For multi-tenant or shared inference environments, this represents a high-impact denial of service vector. Recovery requires process restart, causing latency spikes and potential SLA violations. Deployments operating on tight resource margins or without redundancy will experience complete service loss during attacks.
Affected systems
vLLM versions prior to 0.24.0 are affected. This includes all 0.23.x, 0.22.x, and earlier releases. Any deployment running vLLM as an LLM inference service is vulnerable if exposed to network requests (even internal networks if untrusted users have access). The vulnerability is particularly critical in multi-user or multi-tenant inference clusters where a single compromised or malicious client can affect other users' workloads.
Exploitability
Exploitability is straightforward and requires no authentication. An attacker with network access to the vLLM gRPC endpoint can craft a sequence of generation and abort requests designed to trigger the speculative decoding edge case. No user interaction or special privileges are needed. Proof of concept exploitation is achievable with basic gRPC client code. The public nature of the API and low barrier to entry (off-the-shelf gRPC tools) make this trivial to weaponize at scale.
Remediation
Upgrade vLLM to version 0.24.0 or later immediately. This release includes fixes to the rejection sampler and token index validation logic. Organizations unable to upgrade urgently should consider restricting network access to the gRPC endpoint to trusted clients only via firewall rules, load-balancer authentication, or VPN. Implementing rate limiting on generation requests can reduce attack surface but does not eliminate the vulnerability. Monitor worker process logs for GPU assertion failures as a temporary detection signal.
Patch guidance
Apply vLLM 0.24.0 or later. Verify the upgrade by checking the deployed version (typically queryable via the inference API or deployment logs). The patch should be tested in a staging environment first, particularly for large-scale deployments, to ensure no regression in inference performance or compatibility with existing request patterns. Rolling restarts of worker pods minimize service interruption in containerized deployments.
Detection guidance
Monitor vLLM worker process exit codes and GPU logs for assertion failures or GPU device errors. Log aggregation systems should flag messages containing 'device-side assertion' or similar GPU panic signatures. Network-level detection is difficult without deep packet inspection of gRPC traffic, but traffic pattern analysis showing repeated abort requests followed by worker restarts may indicate attack attempts. Implement alerting on unexpected worker crashes correlated with external API requests.
Why prioritize this
This is a high-priority remote denial of service affecting production inference infrastructure. The low authentication barrier, ease of exploitation, and broad blast radius (single attacker crashes shared multi-tenant service) justify urgent patching. While not affecting data confidentiality or integrity, the availability impact is severe in production LLM serving scenarios where inference latency and uptime directly impact revenue or user experience.
Risk score, explained
CVSS 7.5 (HIGH) reflects the network-accessible denial of service with no authentication required and high availability impact (AV:N/AC:L/PR:N/UI:N/A:H). The score appropriately excludes confidentiality and integrity impact, as the vulnerability is purely a crash vector. The 'L' for Attack Complexity acknowledges that while triggering the condition requires specific multi-request sequencing, no advanced techniques are needed once the pattern is understood.
Frequently asked questions
Can this vulnerability be exploited from outside the network?
Yes. If the vLLM gRPC endpoint is exposed to the internet or untrusted networks, remote unauthenticated exploitation is possible. Even internal deployments are at risk if any untrusted application or user can reach the gRPC port.
Does this vulnerability affect other LLM serving frameworks?
No. This vulnerability is specific to vLLM's speculative decoding implementation. Other frameworks like vLLM competitors or different serving architectures are not affected, though similar token-handling flaws could exist elsewhere.
If we have redundant vLLM workers, does this reduce risk?
Redundancy mitigates availability impact but does not prevent exploitation. An attacker can cycle through and crash multiple workers. Redundancy is a useful defense layer but not a substitute for patching the underlying vulnerability.
What does 'out-of-vocabulary token' mean in this context?
The model's vocabulary has a fixed size (e.g., 50,000 tokens). Valid token indices range from 0 to size-1. An out-of-vocabulary value is an index outside this range, such as size itself or negative indices. When the embedding layer tries to look up such an index, it fails with an assertion because there is no corresponding word embedding.
This analysis is based on the published CVE record and vendor advisory. Exploit code and weaponized proof-of-concept techniques are not provided. Organizations should verify patch applicability and compatibility against their specific vLLM deployment and configuration. Security teams must assess network exposure to gRPC endpoints and prioritize based on their risk profile and uptime requirements. This summary is for informational purposes and does not constitute professional security advice. Source: NVD (public-domain), retrieved 2026-08-15. Analysis generated by SEC.co (claude-haiku-4-5).
Related vulnerabilities
- CVE-2026-49218HIGHImageMagick DCM Decoder DoS Vulnerability – CVSS 7.5
- CVE-2026-56340HIGHvLLM Sparse Tensor Validation Bypass (CVSS 8.8)
- CVE-2025-22424HIGHAndroid Local Privilege Escalation via Image Disclosure
- CVE-2025-48643HIGHAndroid Local Privilege Escalation via Provisioning Bypass
- CVE-2026-0078HIGHAndroid Privilege Escalation via DevicePolicyManagerService Desync
- CVE-2026-0419HIGHNETGEAR JR6150 Command Injection via Insufficient Input Validation
- CVE-2026-10020HIGHChrome Android Sandbox Escape via Skia Input Validation Flaw
- CVE-2026-10021HIGHGoogle Chrome USB Validation Flaw – RCE Vulnerability Patch