CVE-2026-116181: vLLM improper input validation in stop_token_ids handling

CVE-2026-116181 · Severity: medium · CVSS 6.5 · Published 2026-10-25

vLLM is a large language model serving framework that handles API requests to generate text. An attacker can crash the service or corrupt GPU memory by sending requests with invalid token IDs that are not validated against the model's vocabulary. This causes service disruption for all users and potential data corruption on GPU.

Technologies: vLLM Project vllm. Vendors: vLLM Project.

Quick answers

Is CVE-2026-116181 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-116181 being exploited in the wild.
How severe is CVE-2026-116181?
Medium severity, with a CVSS score of 6.5, published 25 October 2026.
Which products and versions are affected?
vLLM Project vllm 0.20.1 before 0.29.0.
Is there a fix for CVE-2026-116181?
Yes: fixed in 0.29.0. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
How is CVE-2026-116181 attacked?
It is attacked over the network, in a software library.
Am I affected by CVE-2026-116181?
Check whether you run vLLM Project vllm at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • Fixed in: 0.29.0

Technical details

The vulnerability is an improper array index validation (CWE-129) in SamplingParams that accepts any integer for stop_token_ids without checking if the ID exists in the model vocabulary. These unvalidated IDs are used as column indices into the logits tensor; on the V1 runner this triggers an assertion crash, while on the V2 runner it writes out-of-bounds to the logits buffer. The flaw affects OpenAI chat, completion, generate, and batch API endpoints and requires only low-privilege authenticated network access.

Affected products

  • vLLM Project vLLM 0.20.1 before 0.29.0

Timeline

  • 2026-10-09: advisory
  • 2026-10-25: patched

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.