{"id":"CVE-2025-48887","published":"2025-05-30T17:36:16Z","modified":"2025-05-30T17:58:23Z","title":"vLLM has a Regular Expression Denial of Service (ReDoS, Exponential Complexity) Vulnerability in…","vendor":"vllm-project","product":"vllm","tier":"tail","description":{"text":"vLLM, an inference and serving engine for large language models (LLMs), has a Regular Expression Denial of Service (ReDoS) vulnerability in the file `vllm/entrypoints/openai/tool_parsers/pythonic_tool_parser.py` of versions 0.6.4 up to but excluding 0.9.0. The root cause is the use of a highly complex and nested regular expression for tool call detection, which can be exploited by an attacker to cause severe performance degradation or make the service unavailable. The pattern contains multiple nested quantifiers, optional groups, and inner repetitions which make it vulnerable to catastrophic backtracking. Version 0.9.0 contains a patch for the issue.","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.00944,"percentile":0.59542,"provenance":"source"},"cwes":[{"id":"CWE-1333","name":"Inefficient Regular Expression Complexity"}],"references":[{"url":"https://github.com/vllm-project/vllm/security/advisories/GHSA-w6q7-j642-7c25","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/vllm-project/vllm/pull/18454","tags":["x_refsource_MISC"]},{"url":"https://github.com/vllm-project/vllm/commit/4fc1bf813ad80172c1db31264beaef7d93fe0601","tags":["x_refsource_MISC"]}],"priority":{"score":16.5,"factors":[{"name":"EPSS percentile","points":11.91},{"name":"CVSS severity","points":4.55}]},"vendorSlug":"vllm-project","affectedVersions":[{"vendor":"vllm-project","product":"vllm","versions":[">= 0.6.4, < 0.9.0"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2025-05-30T17:58:00.784274Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"vllm","vulnerableRanges":[">=0.6.4, <0.9.0"],"patched":["0.9.0"],"from":["GHSA-w6q7-j642-7c25","PYSEC-2025-50"],"provenance":"source"}],"summary":{"text":"A regular expression denial of service flaw in the pythonic tool parser of vLLM's OpenAI-compatible serving layer (vllm/entrypoints/openai/tool_parsers/pythonic_tool_parser.py) affects versions 0.6.4 up to but excluding 0.9.0, where a highly nested pattern used for tool call detection is prone to catastrophic backtracking. An attacker with network access and low-privileged authentication can send crafted input that causes severe performance degradation or makes the service unavailable, with no user interaction or special configuration required.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:42:22Z"},"euvd":{"id":"EUVD-2025-16512","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-vllm-project-vllm-cve-2025-24357","parents":[{"from":"CVE-2025-24357","to":"CVE-2025-48887","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["vllm/lora/models.py"],"commits":["https://github.com/vllm-project/vllm/commit/d3d6bb13fb62da3234addf6574922a4ec0513d04","https://github.com/vllm-project/vllm/commit/4fc1bf813ad80172c1db31264beaef7d93fe0601"],"basis":"rarely changed file"}]},{"from":"CVE-2025-46570","to":"CVE-2025-48887","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["vllm/entrypoints/openai/protocol.py","vllm/multimodal/processing.py"],"commits":["https://github.com/vllm-project/vllm/commit/77073c77bc2006eb80ea6d5128f076f5e6c6f54f","https://github.com/vllm-project/vllm/commit/4fc1bf813ad80172c1db31264beaef7d93fe0601"],"basis":"rarely changed file"}]}],"children":[{"from":"CVE-2025-48887","to":"CVE-2026-105757","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["vllm/v1/structured_output/utils.py"],"commits":["https://github.com/vllm-project/vllm/commit/4fc1bf813ad80172c1db31264beaef7d93fe0601","https://github.com/vllm-project/vllm/commit/c55e15a44ec4127832d4a86928a356fdd9e68dbd"],"basis":"rarely changed file"}]}]}}