CVE-2026-93989: vLLM Token Index Validation Flaw Leading to Logits Memory Corruption

vllm Updated 29 Sep 2026

Summary

19/09/2026
Yes i
Medium
4.3

CVE-2026-93989: 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(). Affects vllm versions < 0.30.0. Fixed in 0.30.0. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

vLLM is an open-source library designed for efficient language model serving, providing capabilities for generating text based on input prompts. It is widely used in applications that require natural language processing. However, versions up to 0.29.0 are vulnerable to a critical issue where improper validation of token indices can lead to memory corruption, affecting the integrity of concurrent requests.

Vulnerability Detail

The vulnerability in vLLM arises from the failure to properly validate 'bad_words' token indices against the model's generation output width in the SamplingParams.update_from_tokenizer() function. This oversight allows attackers to supply out-of-bounds token indices, which can corrupt the logits memory of concurrent requests. As a result, different in-flight HTTP requests may return incorrect tokens, potentially leading to unexpected behavior or data leakage.

How To Fix

Latest published version: 0.32.0 as of 22 Oct 2026

pip install --upgrade "vllm==0.32.0"

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

0.30.0

This is the first release that contains the fix.

pip install --upgrade "vllm==0.30.0"

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a temporary workaround, users can implement input validation on the token indices before passing them to the vLLM functions. Ensure that all token indices are within the valid range of the model's output width to prevent out-of-bounds errors.

Conclusion

The vLLM package has a critical vulnerability (CVE-2026-93989) that can lead to memory corruption due to improper validation of token indices. Users are strongly advised to update to version 0.30.0 or later to mitigate this risk. For those unable to upgrade immediately, implementing input validation can serve as a temporary measure.

See every vulnerability recorded for vllm →

Share this vulnerability

FAQ

CVE-2026-93989 is a vulnerability in the vLLM package that allows attackers to exploit improper validation of token indices, leading to potential memory corruption.

Versions of vLLM up to and including 0.29.0 are affected by this vulnerability.

You can use the Vulert playground at Vulert Scanner to check if your application is impacted by this vulnerability without needing to sign up.

The CVSS score of this vulnerability is 4.3, indicating a moderate severity level.

If upgrading is not possible, implement input validation on token indices to ensure they remain within the valid range, as a temporary workaround.

Related vulnerabilities

Recent vulnerabilities recorded for vllm.

How To Fix

Latest published version: 0.32.0 as of 22 Oct 2026

pip install --upgrade "vllm==0.32.0"

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

0.30.0

This is the first release that contains the fix.

pip install --upgrade "vllm==0.30.0"

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback