Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAccess shared vLLM inference API
-
DeliverySubmit request with crafted bad_words token
-
ExploitBypass tokenizer-only index validation
-
ExecutionTrigger OOB write in BadWords Triton kernel
-
PersistCorrupt concurrent requests' logits
-
ImpactOther users receive incorrect tokens
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V2 - Validation and Business Logic Array index validation
|
| Exploitation Conditions | Exploitation requires the ability to submit sampling requests (bad_words parameter) to a vLLM inference endpoint (through 0.29.0), and - per the fix's regression tests - a model whose tokenizer contains input-only placeholder tokens (e.g. multimodal <|audio|> tokens) with IDs exceeding the model's output/logits vocabulary width; a purely text model where tokenizer vocab equals output vocab is not affected. Cross-request corruption additionally requires concurrent in-flight requests sharing the batch/logits memory, making a multi-tenant or high-concurrency deployment necessary for the described impact. Limiting factors: AC:H/AT:P reflect this model-specific and timing-dependent precondition, and PR:L means some level of API access is required rather than being fully anonymous against an arbitrary default install. |
| Impact | All signals point to a genuinely LOW-priority issue despite the alarming-sounding 'cross-request corruption' description. The vendor CVSS 4.0 vector (2.3, LOW) is internally consistent: AV:N (reachable via the inference HTTP API), but AC:H and AT:P reflect that exploitation depends on a specific model/tokenizer mismatch, PR:L requires the ability to submit a sampling request, and the impact is limited to VI:L (integrity only) - VC:N and VA:N confirm no data disclosure and no denial of service. CWE-129 (improper validation of array index) and the source diff confirm the mechanism: bad_words token IDs are validated against the tokenizer vocabulary rather than the model's narrower output/logits width, so input-only placeholder tokens (e.g. <|audio|> in multimodal tokenizers) pass validation and drive an out-of-bounds write in the BadWords Triton kernel. There is no EPSS score, no CISA KEV listing, and no public exploit in the provided data, so this is a real but low-real-risk finding - a correctness/integrity defect exploitable only under narrow conditions, not a high-impact RCE. Note one nuance the vendor's SC/SI/SA:N does not fully capture: the corruption crosses into OTHER concurrent users' responses, which is arguably a mild scope/subsequent-integrity concern worth weighing above the bare 2.3 score. |
| Exploit ScenarioDerived | An attacker with access to a shared vLLM inference endpoint serving a multimodal model submits a completion request whose bad_words list contains an input-only token (such as an audio placeholder) whose ID exceeds the model's generation vocabulary width. The unvalidated index triggers an out-of-bounds write in the BadWords GPU kernel that corrupts the logits buffer shared with other in-flight requests, causing unrelated users' responses to return incorrect tokens. No public exploit code is identified at time of analysis, though the fix PR and regression tests fully disclose the mechanism. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 19, 2026
Out-of-bounds bad_words token indices in vLLM through 0.29.0 are not validated against the model's generation output width, allowing the indices to be written past the logits buffer and corrupt the sampling state of concurrently batched requests, so unrelated in-flight HTTP requests can receive incorrect output tokens. Exploitation requires API access sufficient to submit sampling requests with a bad_words parameter (authenticated, PR:L), a target model whose tokenizer exposes input-only placeholder tokens with IDs above the model's logits vocabulary (typically multimodal models such as those with <|audio|> tokens), and concurrent requests sharing the batch, so a text-only model whose tokenizer vocabulary equals its output vocabulary is not affected. No public exploit code has been identified at time of analysis and there is no KEV listing; the issue is a low-severity integrity/quality-of-output defect rather than a confidentiality or availability compromise, and an upstream fix is available as a pull request.
RemediationAI
Upstream fix available (PR/commit); released patched version not independently confirmed - the corrective change is in https://github.com/vllm-project/vllm/pull/48824, which validates bad_words IDs against model_config.get_vocab_size() (max valid ID = vocab_size - 1), passes the logits output_width into the BadWords path, and adds a bounds guard before applying a match, so upgrade to a vLLM build that contains this commit (anything released after 0.29.0, since 0.29.0 and earlier are affected) once a tagged release including it is verified. If an immediate upgrade is not possible, the most direct compensating control is to stop client-supplied bad_words from reaching the sampler: reject or strip the bad_words field at a proxy in front of the vLLM OpenAI-compatible endpoint, or have applications omit it, with the trade-off that any content-suppression or filtering feature built on bad_words stops working. Because the flaw only manifests when the tokenizer vocabulary exceeds the model's logits width, avoiding multimodal tokenizers that define input-only tokens above the generation vocabulary (or constraining bad_words to ordinary text tokens not mapped to those special IDs) removes the trigger for the OOB index, at the cost of losing those models' special-token filtering. Reducing the exposure window for cross-request corruption by lowering concurrency, disabling continuous batching, or isolating tenants into separate vLLM instances limits the blast radius but degrades throughput, and since exploitation requires authenticated API access, restricting the inference endpoint to trusted clients and rotating any keys shared with untrusted callers reduces the attack surface. Also validate bad_words values in client code against the served model's generation vocab size before submitting them, and monitor for 400-class validation errors or anomalous token output as an indicator that malformed bad_words are being attempted.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in pypi
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
vLLM's SamplingParams.update_from_tokenizer() converts user-supplied bad_words strings into token IDs and validated each ID against the tokenizer's maximum token ID rather than the model's output vocabulary (logits width). In multimodal deployments the tokenizer vocabulary can be wider than the generation vocabulary because it contains input-only placeholder tokens (for example <|audio|>) whose IDs exceed the number of logits columns the sampler produces. Those unchecked IDs reach the BadWords Triton kernel that masks disallowed tokens in the logits tensor, where the index was used without confirming it fell inside the logits width, producing an out-of-bounds write. This is CWE-129 (Improper Validation of Array Index): a missing range check on an externally influenced index. Because the sampling kernel operates on a batch-wide logits buffer, an OOB write from one request can disturb the scores used by other requests being decoded in the same step, which is why the symptom is cross-request token corruption. The upstream patch changes the validation bound in rust/src/text/src/lower/token_ids.rs from tokenizer_vocab_size to model_vocab_size, threads model_config.get_vocab_size() into update_from_tokenizer() from the engine input processor, passes the logits output_width into the BadWords kernel, and adds a last_token >= 0 and last_token < output_width guard before a match is applied. Regression tests cover rejection of a token equal to the model vocab size, acceptance of a token at the model vocab boundary (vocab_size - 1), rejection of negative token IDs, and fallback to tokenizer vocabulary when no model config is supplied.
Know when Vllm gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N
Reachable via inference API (AV:N) but needs a specific multimodal model mismatch plus concurrency (AC:H) and request-submission access (PR:L); impact is integrity-only corruption of outputs (I:L), no disclosure or DoS.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
vLLM through 0.29.0 fails to properly validate bad_words token indices against the model's generation output width in SamplingParams.update_from_tokenizer(). Attackers can supply out-of-bounds token indices that corrupt logits memory of concurrent requests, causing different in-flight HTTP requests to return incorrect tokens.
Blast Radius
ecosystem impact- 5 pypi packages depend on vllm (5 direct, 0 indirect)
Ecosystem-wide dependent count for version 0.30.0.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.
vLLM is a high-throughput and memory-efficient inference and serving engine for LLMs. Rated critical severity (CVSS 10.0
vllm-project vllm version v0.6.2 contains a vulnerability in the MessageQueue.dequeue() API function. Rated critical sev
Information exposure in vLLM inference engine versions 0.8.3 to before 0.14.1. Invalid image requests to the multimodal
Timing-based API key recovery in vLLM before 0.11.0rc2 can let remote attackers bypass bearer-token authentication on de
vLLM is a high-throughput and memory-efficient inference and serving engine for LLMs. Rated high severity (CVSS 7.5), th
Denial of service in the vLLM LLM inference server (all versions prior to 0.24.0) allows a remote client to crash the sh
vLLM before version 0.14.1 contains a server-side request forgery vulnerability in the MediaConnector class where incons
Out-of-memory worker crashes in vLLM can be induced by a single small compressed audio payload submitted to the /v1/chat
vLLM is a high-throughput and memory-efficient inference and serving engine for LLMs. Rated medium severity (CVSS 6.5),
GPU memory exhaustion in vLLM versions prior to 0.28.0 lets an attacker with low-privileged API access (PR:L in the CVSS
Multimodal inference requests to vLLM deployments running versions prior to 0.28.0 can trigger a process-level assertion
Uncontrolled resource consumption in vLLM's OpenAI-compatible completions endpoint allows any authenticated API client t
EUVD-2026-83617
GHSA-pc5q-2x89-w436
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB