CVE-2025-48887 Details
Description
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.
A Regular Expression Denial-of-Service (ReDoS) vulnerability has been identified in vLLM, an inference and serving engine for large language models. This issue affects versions 0.6.4 prior to 0.9.0, specifically within the Python tool parser used for OpenAI integration. The vulnerability arises from a complex and nested regular expression employed for detecting tool calls, which can be exploited to cause significant performance degradation or service unavailability. The problematic regex pattern, characterized by multiple nested quantifiers and optional groups, is susceptible to catastrophic backtracking, leading to exponential time complexity during matching. As a result, an attacker can craft inputs that severely tax the server's CPU, causing the vLLM service to become unresponsive or crash. Additionally, this regex parsing can exhaust GPU memory resources, further destabilizing the service.
Users can update to vLLM version 0.9.0 or later, where this vulnerability has been patched. After updating, ensure that the application is functioning correctly and monitor for any issues related to tool call parsing.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed May 30, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/vllm-project/vllm/security/advisories/GHSA-w6q7-j642-7c25 | CISA-ADP | ExploitVendor Advisory |
| https://github.com/vllm-project/vllm/commit/4fc1bf813ad80172c1db31264beaef7d93fe0601 | [email protected] | Patch |
| https://github.com/vllm-project/vllm/pull/18454 | [email protected] | Issue TrackingPatch |
| https://github.com/vllm-project/vllm/security/advisories/GHSA-w6q7-j642-7c25 | [email protected] | ExploitVendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-1333 | Inefficient Regular Expression Complexity | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| vllm vllm | >= 0.6.4, < 0.9.0 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jun 19, 2025 | Initial Analysis | [email protected] |
| May 30, 2025 | New CVE Received | [email protected] |
| May 30, 2025 | CVE Modified | CISA-ADP |