MediumVulnerabilityLLM-specific
CVE-2025-48887: vLLM regular expression denial of service in pythonic tool parser
- Source
- NVD(opens in a new tab)
- Identifier
- CVE-2025-48887
- Published
- Record updated
- Affected
- vllm >= 0.6.4, < 0.9.0
- Fixed in
- 0.9.0
- released May 27, 2025, 2 days before disclosure
- Known exploitation
- Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
- EPSS
- 0.5%
Summary
vLLM, an inference and serving engine for large language models (LLMs), contains a Regular Expression Denial of Service (ReDoS) flaw in `vllm/entrypoints/openai/tool_parsers/pythonic_tool_parser.py` in versions 0.6.4 up to but excluding 0.9.0. The tool call detection regex uses multiple nested quantifiers, optional groups and inner repetitions, so an attacker can trigger catastrophic backtracking, severely degrading performance or making the service unavailable.
Mitigation
Version 0.9.0 contains a patch for the issue.
Affected packages in the Exposure Registry
Matched by package name and ecosystem. Each entry shows whether the package delegates to a language model and how many tracked packages depend on it.
- vllmPyPILLM dependency since 2023-08-25 · 15 tracked dependents
Topics
Related items
- LowCloakFEM: Agentic FEM Code Generation for Red-Teaming Computational Resource ExhaustionSimilar attack · Arxiv (cs.CR + cs.CL + cs.LG)
- MediumThe Rise of LLMJacking: How Threat Actors Monetize Compromised Cloud and Model ResourcesSimilar attack · Google Threat Intelligence
- InfoThe Blind Spots of Detection: Adversarial Perturbation Attacks against Watchdogs in Distributed LLM InferenceSimilar attack · Arxiv (cs.CR + cs.CL + cs.LG)
- HighCVE-2026-118761: Kubeflow Pipelines decompression bomb in pipeline archive uploadSimilar attack · NVD/CVE Database
- LowOpenCode User Hit with Hostile Backlash After Reporting Free AI LoopholeSimilar attack · Socket Blog