ADVISORIES

PyPA Advisory Database

PYSEC-2026-4000

Details

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.

Affected packages

EcosystemPackageAffected versions
PyPIvllm
All versions before 0.30.0 (fixed in 0.30.0)

References