CVE-2025-46560 vLLM phi4mm: Quadratic Time Complexity in Input Token Processing leads to denial of service
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: partial
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.
Upgrade path
3 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| pypi vllm(PyPI) | = 0.8.0; = 0.8.1; = 0.8.2; = 0.8.3 +2 more | 0.8.5 | Fixed |
| vllm | >= 0.8.0, < 0.8.5 | 0.8.5 | Fixed |
| vllm-project vllm | = >= 0.8.0, < 0.8.5 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi vllm(PyPI) | >= 0.8.0, < 0.8.5 | 0.8.5 |
| pypi vllm(PyPI) | = 0.8.0 | No fix listed |
| pypi vllm(PyPI) | = 0.8.1 | No fix listed |
| pypi vllm(PyPI) | = 0.8.2 | No fix listed |
| pypi vllm(PyPI) | = 0.8.3 | No fix listed |
| pypi vllm(PyPI) | = 0.8.4 | No fix listed |
| vllm-project vllm | = >= 0.8.0, < 0.8.5 | No fix listed |
| vllm | >= 0.8.0, < 0.8.5 | 0.8.5 |
References
- https://github.com/vllm-project/vllm/security/advisories/GHSA-vc6m-hm49-g9qg exploit vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com vendor-advisory
- github.com
- github.com product
- https://github.com/vllm-project/vllm/blob/8cac35ba435906fb7eb07e44fe1a8c26e8744f4e/vllm/model_executor/models/phi4mm.py#L1182-L1197 product
- pypi.org product