CVE-2026-93840: vLLM before 0.29.0 validates allowed_token_ids against tokenizer length instead of model output logits width in Sampling
Summary
vLLM (a library for running large language models) versions before 0.29.0 have a bug in how it checks allowed token IDs (specific outputs the model is restricted to producing). The code incorrectly checks these IDs against the tokenizer length (the number of tokens the input processor knows about) instead of the model's output vocabulary width (the actual number of different tokens the model can generate). An attacker can exploit this by providing token IDs that pass the faulty check but are actually invalid, corrupting the GPU's internal state and allowing other simultaneous requests to break out of their output restrictions.
Solution / Mitigation
Upgrade vLLM to version 0.29.0 or later.
Vulnerability Details
3.7(low)
EPSS: 0.0%
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N
network
high
none
none
September 18, 2026
Classification
Taxonomy References
Affected Vendors
Related Issues
Original source: https://nvd.nist.gov/vuln/detail/CVE-2026-93840
First tracked: September 18, 2026 at 08:08 PM
Classified by LLM (prompt v3) · confidence: 92%