VDB
Sign up
MEDIUM6.5

PYSEC-2026-145

Quick fix

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

pip install --upgrade 'vllm>=0.20.0'

Details

vLLM is an inference and serving engine for large language models (LLMs). From to before 0.20.0, the extract_hidden_states speculative decoding proposer in vLLM returns a tensor with an incorrect shape after the first decode step, causing a RuntimeError that crashes the EngineCore process. The crash is triggered when any request in the batch uses sampling penalty parameters (repetition_penalty, frequency_penalty, or presence_penalty). A single request with a penalty parameter (e.g., "repetition_penalty": 1.1) is sufficient to crash the server. This vulnerability is fixed in 0.20.0.

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI/vllm
Introduced in: 0.18.0Fixed in: 0.20.0
Fixpip install --upgrade 'vllm>=0.20.0'

References