CVE-2025-48887
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.
Weakness
- CWE-1333: Inefficient Regular Expression Complexity
CISA SSVC decision points
| Exploitation | poc |
|---|---|
| Automatable | no |
| Technical impact | partial |
| Scored | 2025-05-30 |
Timeline
- 2025-05-28GitHub advisory published (GHSA-w6q7-j642-7c25)2 days before publication
- 2025-05-30Published by the CNA17:36 UTC
- 2025-05-30CISA SSVC decision recordedsame day
Exploit and advisory records
GitHub advisory GHSA-w6q7-j642-7c25, affected packages:
| Package | Vulnerable versions | Fixed in |
|---|---|---|
| PyPI vllm | from 0.6.4 before 0.9.0 | 0.9.0 |
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| vllm vllm | from 0.6.4 before 0.9.0fixed in 0.9.0 | 0.9.0 |
References
- https://github.com/vllm-project/vllm/commit/4fc1bf813ad80172c1db31264beaef7d93fe0601
- https://github.com/vllm-project/vllm/pull/18454
- https://github.com/vllm-project/vllm/security/advisories/GHSA-w6q7-j642-7c25
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2025-48887'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2025-48887'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2025-48887'curl 'https://api.contrastcyber.com/cve_products/CVE-2025-48887'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).