GHSA-q97c-p368-75c4: vLLM: Out-of-vocabulary prompt token id passes input validation and triggers a CUDA device-side assert (engine crash / DoS)
notable signal 40 vllm
OSV advisory GHSA-q97c-p368-75c4 (medium, pypi:vllm): for models whose vocab size is an exact multiple of the embedding padding size (64), e.g. Llama-2-family with vocab 32000, a pre-tokenized prompt containing token id 32000 passes input validation but is one past the last embedding row. At tensor-parallel size 1 the embedding lookup does not mask indices, so F.embedding raises a CUDA device-side assert that poisons the engine's CUDA context and takes the engine down. Reachable via /v1/completions with token-id prompts, /tokenize-fed flows, or kv_transfer_params["prompt_token_ids"].
Action: Reject or clamp pre-tokenized prompt token ids at the edge (id must be below the model vocab size) and track the upstream validation fix; audit clients that can send token-id prompts.
Migration effort: low
Entities: vllm
Facts
GHSA-q97c-p368-75c4 · medium · pypi:vllm
Cited
GHSA-q97c-p368-75c4: vLLM: Out-of-vocabulary prompt token id passes input validation and triggers a CUDA device-side assert (engine crash / DoS) osv · official · 2026-10-28