ADVISORIES

PyPA Advisory Database

PYSEC-2026-3997

Details

vLLM versions before 0.28.0 fail to validate the lower bound of token IDs in the /v1/embeddings and /pooling endpoints, allowing unauthenticated attackers to crash the engine by submitting negative token IDs. A single request with a negative token ID triggers a CUDA device-side assertion that poisons the GPU context, causing all subsequent requests to fail until the process restarts.

Affected packages

EcosystemPackageAffected versions
PyPIvllm
All versions before 0.28.0 (fixed in 0.28.0)

References