{"id":"CVE-2025-46560","published":"2025-04-30T00:24:53Z","modified":"2025-04-30T13:09:13Z","title":"vLLM phi4mm: Quadratic Time Complexity in Input Token Processing​ leads to denial of service","vendor":"vllm-project","product":"vllm","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00816,"percentile":0.54049,"provenance":"source"},"cwes":[{"id":"CWE-1333","name":"Inefficient Regular Expression Complexity"}],"references":[{"url":"https://github.com/vllm-project/vllm/security/advisories/GHSA-vc6m-hm49-g9qg","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/vllm-project/vllm/blob/8cac35ba435906fb7eb07e44fe1a8c26e8744f4e/vllm/model_executor/models/phi4mm.py#L1182-L1197","tags":["x_refsource_MISC"]}],"priority":{"score":15.4,"factors":[{"name":"EPSS percentile","points":10.81},{"name":"CVSS severity","points":4.55}]},"vendorSlug":"vllm-project","affectedVersions":[{"vendor":"vllm-project","product":"vllm","versions":[">= 0.8.0, < 0.8.5"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2025-04-30T13:09:10.349287Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"vllm","vulnerableRanges":[">=0.8.0, <0.8.5"],"patched":["0.8.5"],"from":["GHSA-vc6m-hm49-g9qg","PYSEC-2026-2022"],"provenance":"source"}],"summary":{"text":"The vLLM inference and serving engine, versions 0.8.0 up to but not including 0.8.5, contains a flaw in the multimodal tokenizer's input preprocessing logic, where placeholder token replacement relies on inefficient list concatenation that scales quadratically with input length. An attacker with low-privileged network access, requiring no user interaction, can send specially crafted inputs to exhaust resources and cause a denial of service.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:42:21Z"},"euvd":{"id":"EUVD-2025-12671","exploited":false,"provenance":"source"}}