VDB
Sign up
HIGH7.5

PYSEC-2026-4185

Quick fix

PYSEC-2026-4185 — vllm: upgrade to the fixed version with the command below.

pip install --upgrade 'vllm>=0.24.0'

Details

vLLM versions 0.22.0 through 0.23.0 fail to validate stop_token_ids against vocabulary bounds in Rust HTTP and gRPC frontends, allowing out-of-vocabulary token IDs to reach MinTokensLogitsProcessor. Attackers can submit requests with min_tokens greater than zero and out-of-vocabulary stop_token_ids to trigger CUDA tensor indexing failures that leave EngineCore in a fatal state requiring service restart.

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI/vllm
Introduced in: 0.22.0Fixed in: 0.24.0
Fixpip install --upgrade 'vllm>=0.24.0'

References