CVE-2025-48887 json
vLLM has a Regular Expression Denial of Service (ReDoS, Exponential Complexity) Vulnerability in `pythonic_tool_parser.py`
published 2025-05-28 17 mo ago modified 2026-08-07 3 mo ago also EUVD-2025-16512 , GHSA-w6q7-j642-7c25 , PYSEC-2025-50
- cvss
- 6.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.5%
- EPSS 0.5% chance of exploitation in 30 days, percentile 45%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- pypi vllm 0.9.0
- vllm-project vllm 0.9.0
- vllm vllm 0.9.0
- github.com/vllm-project/vllm@4fc1bf8 commit
- github.com/vllm-project/vllm#18454 pull request
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2025-48887 updated cvss 6.5
vllm: vLLM has a Regular Expression Denial of Service (ReDoS) Vulnerability
-
Red Hat AI Inference Server rhaiis/vllm-cuda-rhel9, rhaiis/vllm-rocm-rhel9 Red Hat Enterprise Linux AI (RHEL AI) rhelai1/ui-rhel9, rhelai1/bootc-amd-rhel9, rhelai1/bootc-intel-rhel9, rhelai1/bootc-nvidia-rhel9, rhelai1/bootc-azure-amd-rhel9, rhelai1/instructlab-amd-rhel9, +5 moreaffected: workaround, no fix available “Fix deferred”
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- partial
- Assessed
- 17 mo ago
Exploit prediction
0.54% chance of exploitation in the next 30 days, higher than 45% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/vllm-project/vllm/security/advisories/GHSA-w6q7-j642-7c25 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| GitHub | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | vllm | >=0.6.4, <0.9.0 |
0.9.0 |
Affected products
- vllm-project vllm
Classification
- Weakness
-
- CWE-1333 Inefficient Regular Expression Complexity
References
-
github.com
/vllm-project/vllm/pull/18454
web, issue-tracking, patch, report
-
github.com
/vllm-project/vllm/commit/4fc1bf813ad80172c1db31264beaef7d93fe0601
web, patch
-
github.com
/vllm-project/vllm/security/advisories/GHSA-w6q7-j642-7c25
exploit, web, vendor-advisory, advisory, evidence
-
nvd.nist.gov
/vuln/detail/CVE-2025-48887
advisory
-
github.com
/pypa/advisory-database/tree/main/vulns/vllm/PYSEC-2025-50.yaml
web
-
github.com
/vllm-project/vllm
package
-
github.com
/advisories/GHSA-w6q7-j642-7c25
advisory
Sources
- CVE List CVE-2025-48887
- GitHub Advisory GHSA-w6q7-j642-7c25
- NVD CVE-2025-48887
- OSV PYSEC-2025-50
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.