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.
Severity (CVSS)
| Base score | 6.5 |
|---|---|
| Severity | Medium |
| Version | CVSS 3.1 |
| Vector | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| Provided by | CNA |
Weaknesses
- CWE-129 — CWE-129: Improper Validation of Array Index
- CWE-193 — CWE-193: Off-by-one Error
Affected products
| Vendor | Product | Versions |
|---|---|---|
| vllm-project | vllm | < 0.32.0 [affected] |
References
- https://github.com/vllm-project/vllm/security/advisories/GHSA-q97c-p368-75c4 (x_refsource_CONFIRM)
- https://github.com/vllm-project/vllm/pull/59491 (x_refsource_MISC)
- https://github.com/vllm-project/vllm/commit/37cecc8141e2dcba9dd534897a164d4baaf27229 (x_refsource_MISC)
- https://github.com/vllm-project/vllm/releases/tag/v0.32.0 (x_refsource_MISC)
Assess this vulnerability
Compare your deployed product and version with the source record. Review vendor references for fixes and workarounds. A CVSS score describes technical severity; it does not establish that your systems are affected or that exploitation has occurred.
Browse all CVE security advisories · Symaro cybersecurity services
Generated from the official CVE List on 27 Oct 2026 07:01 UTC.