GHSA-j828-28rj-hfhp: vLLM vulnerable to Regular Expression Denial of Service
- Identifier
- GHSA-j828-28rj-hfhp
- Published
- Record updated
- Affected
- vllm >= 0.6.3, < 0.9.0
- Fixed in
- 0.9.0
Summary
A review found several regular expressions in the vllm codebase that are susceptible to Regular Expression Denial of Service (ReDoS). Crafted input passed to these patterns can trigger catastrophic backtracking, causing severe performance degradation. The affected locations include vllm/lora/utils.py, vllm/entrypoints/openai/tool_parsers/phi4mini_tool_parser.py, vllm/entrypoints/openai/serving_chat.py, and benchmarks/benchmark_serving_structured_output.py.
Mitigation
Fix proposed in https://github.com/vllm-project/vllm/pull/18454. Per-location remediation suggestions include limiting input string length, using stricter or more specific patterns, preferring structured or JSON parsing, and using stepwise string search before applying regex.
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
- MediumCVE-2026-143823: MLflow denial of service via regex backtracking in skill registration errorsSimilar attack, NVD/CVE Database
- MediumAutonomous AI attack targeted Perplexity to steal cloud credentialsSimilar attack, BleepingComputer
- HighCVE-2026-76813: CKAN MCP Server denial of service through unbounded response decompressionSimilar attack, NVD/CVE Database
- MediumCVE-2026-142225: Bytebase DBHub regular expression denial of service via search_objectsSimilar attack, NVD/CVE Database
- HighCVE-2026-59345: ExtractedTextFormatter denial of service when processing untrusted document textSimilar attack, NVD/CVE Database