# PYSEC-2026-4347: vLLM is an inference and serving engine for large language models

- Database: PyPA
- Published: 2026-10-26
- Modified: 2026-10-29

## Tracked as

- [CVE-2026-115916](https://cve.now/CVE-2026-115916.md): vLLM: Out-of-vocabulary prompt token id passes input validation and triggers a CUDA device-side assert (engine crash / DoS)

## Also published as

- [GHSA-Q97C-P368-75C4](https://cve.now/GHSA-Q97C-P368-75C4.md) (GitHub)

## Affected versions

- vllm (PyPI): fixed in 0.32.0

## Description

vLLM is an inference and serving engine for large language models. Prior to 0.32.0, vllm/tokenizers/hf.py computes max_token_id with an off-by-one upper bound, allowing a pre-tokenized prompt ID equal to the vocabulary size to pass validation. For a tensor-parallel size of one and an exact multiple-of-64 vocabulary, VocabParallelEmbedding.forward does not mask that value before F.embedding uses it, causing a CUDA device-side assertion and terminating the engine. This issue is fixed in version 0.32.0.

## References

- https://github.com/vllm-project/vllm/releases/tag/v0.32.0
- https://github.com/vllm-project/vllm/commit/37cecc8141e2dcba9dd534897a164d4baaf27229
- https://github.com/vllm-project/vllm/pull/59491
- https://github.com/vllm-project/vllm/security/advisories/GHSA-q97c-p368-75c4

Page: https://cve.now/PYSEC-2026-4347

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
