Improper Validation of Array Index Affecting vllm package, versions [,0.29.0)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.41% (33rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-PYTHON-VLLM-20044392
  • published22 Sept 2026
  • disclosed18 Sept 2026
  • creditUnknown

Introduced: 18 Sep 2026

NewCVE-2026-93840  (opens in a new tab)
CWE-129  (opens in a new tab)

How to fix?

Upgrade vllm to version 0.29.0 or higher.

Overview

vllm is an A high-throughput and memory-efficient inference and serving engine for LLMs

Affected versions of this package are vulnerable to Improper Validation of Array Index via the stop_token_ids and allowed_token_ids parameters in vllm/sampling_params.py, which are not validated against the model's vocabulary size before being used as column indices into the logits tensor. An attacker can supply out-of-range token IDs in these parameters, causing index operations on the logits tensor to reference positions outside the valid vocabulary range and potentially corrupt inference results.

CVSS Base Scores

version 4.0
version 3.1