# CVE-2025-46560: vLLM phi4mm: Quadratic Time Complexity in Input Token Processing​ leads to denial of service

- Severity: Medium 6.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.54%, higher than 47% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-04-29T16:43:10.000Z
- Modified: 2026-08-07T08:12:13.536Z
- Also known as: GHSA-vc6m-hm49-g9qg, PYSEC-2026-2022
- Weaknesses: CWE-1333
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- 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.

(As written by CVE List.)

## Affected

- vllm-project vllm: >= 0.8.0, < 0.8.5
- vllm (PyPI): from 0.8.0 before 0.8.5
- vllm vllm: from 0.8.0 before 0.8.5

## Every score

- GitHub_M: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- PyPA Advisory Database: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://github.com/vllm-project/vllm/security/advisories/GHSA-vc6m-hm49-g9qg> (exploit, vendor-advisory, web)
- <https://github.com/vllm-project/vllm/blob/8cac35ba435906fb7eb07e44fe1a8c26e8744f4e/vllm/model_executor/models/phi4mm.py#L1182-L1197> (product, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-46560> (advisory)
- <https://github.com/advisories/GHSA-vc6m-hm49-g9qg> (advisory)
- <https://github.com/pypa/advisory-database/tree/main/vulns/vllm/PYSEC-2026-2022.yaml> (web)
- <https://github.com/vllm-project/vllm> (package)
- <https://pypi.org/project/vllm> (package, web)

## Sources

- CVE List: [CVE-2025-46560](https://www.cve.org/CVERecord?id=CVE-2025-46560), CVE Terms of Use, modified 2025-04-30
- GitHub Advisory Database: [GHSA-vc6m-hm49-g9qg](https://github.com/advisories/GHSA-vc6m-hm49-g9qg), CC-BY-4.0, modified 2026-08-07
- NVD: [CVE-2025-46560](https://nvd.nist.gov/vuln/detail/CVE-2025-46560), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2026-2022](https://osv.dev/vulnerability/PYSEC-2026-2022), CC-BY-4.0, modified 2026-07-07

---

Page: https://cve.day/CVE-2025-46560 · Whole record: https://cve.day/CVE-2025-46560.json · Rebuilt by cve.day 2026-11-25T22:58:57.140Z
