pysec-2025-50
Vulnerability from pysec
Published
2025-05-30 18:15
Modified
2025-06-19 03:02
Details
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.
Aliases
{ "affected": [ { "package": { "ecosystem": "PyPI", "name": "vllm", "purl": "pkg:pypi/vllm" }, "ranges": [ { "events": [ { "introduced": "0" }, { "fixed": "4fc1bf813ad80172c1db31264beaef7d93fe0601" } ], "repo": "https://github.com/vllm-project/vllm", "type": "GIT" }, { "events": [ { "introduced": "0.6.4" }, { "fixed": "0.9.0" } ], "type": "ECOSYSTEM" } ], "versions": [ "0.6.4", "0.6.4.post1", "0.6.5", "0.6.6", "0.6.6.post1", "0.7.0", "0.7.1", "0.7.2", "0.7.3", "0.8.0", "0.8.1", "0.8.2", "0.8.3", "0.8.4", "0.8.5", "0.8.5.post1" ] } ], "aliases": [ "CVE-2025-48887" ], "details": "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.", "id": "PYSEC-2025-50", "modified": "2025-06-19T03:02:28.572160+00:00", "published": "2025-05-30T18:15:32+00:00", "references": [ { "type": "ADVISORY", "url": "https://github.com/vllm-project/vllm/security/advisories/GHSA-w6q7-j642-7c25" }, { "type": "EVIDENCE", "url": "https://github.com/vllm-project/vllm/security/advisories/GHSA-w6q7-j642-7c25" }, { "type": "FIX", "url": "https://github.com/vllm-project/vllm/commit/4fc1bf813ad80172c1db31264beaef7d93fe0601" }, { "type": "FIX", "url": "https://github.com/vllm-project/vllm/pull/18454" }, { "type": "REPORT", "url": "https://github.com/vllm-project/vllm/pull/18454" } ], "related": [ "GHSA-w6q7-j642-7c25", "GHSA-w6q7-j642-7c25" ] }
Loading...
Loading...
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.