Skip to content
OpenAdvisories
Medium · 6.5 CVE-2025-46560 EUVD-2025-12671GHSA-vc6m-hm49-g9qgPYSEC-2026-2022

vLLM phi4mm: Quadratic Time Complexity in Input Token Processing​ leads to denial of service

Published Apr 30, 2025 · Updated Apr 30, 2025 · Assigned by GitHub_M

Description

vLLM is a high-throughput and memory-efficient inference and serving engine for LLMs. Versions starting from 0.8.0 and prior to 0.8.5 are affected by a critical performance vulnerability in the input preprocessing logic of the multimodal tokenizer. The code dynamically replaces placeholder tokens (e.g., <|audio_|>, <|image_|>) with repeated tokens based on precomputed lengths. Due to ​​inefficient list concatenation operations​​, the algorithm exhibits ​​quadratic time complexity (O(n²))​​, allowing malicious actors to trigger resource exhaustion via specially crafted inputs. This issue has been patched in version 0.8.5.

Affected products

VendorProductAffectedFixed
vllm-project vllm >= 0.8.0, < 0.8.5 —

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI vllm >= 0.8.0, < 0.8.5 0.8.5 GHSA-vc6m-hm49-g9qg

References