Off-by-one in vLLM - CVE-2026-115916
Published: October 21, 2026 / Updated: November 2, 2026
Vulnerability details
The vulnerability allows a remote user to cause a denial of service by crashing the vLLM engine.
The vulnerability exists due to an off-by-one error in vLLM's input token ID validation when processing pre-tokenized prompts. A remote user can submit a prompt containing a token ID equal to the model's vocabulary size to trigger an out-of-range embedding lookup at tensor-parallel size 1, causing a CUDA device-side assertion that invalidates the engine's CUDA context and stops the engine.
The crash affects models whose vocabulary size is a multiple of 64 and whose tokenizer.vocab_size is one greater than the largest real token ID.