Skip to main content
← All vulnerabilities
CVE-2026-55574PYSEC-2026-2304GHSA-RWXX-MRJM-WC2M

vLLM: ReDoS via structured_outputs.regex compiled without timeout in xgrammar and outlines backends

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 0.24.0
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

vLLM is a high-throughput and memory-efficient inference and serving engine for LLMs. Prior to 0.24.0, the structured_outputs.regex API parameter passes a user-supplied regular expression string directly to the grammar compiler backends with no compilation timeout; in the xgrammar backend the string reaches the regex compiler with no guard, and in the outlines backend the validation step blocks structural issues such as lookarounds and backreferences but performs no complexity analysis, so a pattern with nested quantifiers passes all checks and causes exponential state-space expansion, allowing a single request containing an adversarial regex to hang an inference worker indefinitely and deny service. This issue is fixed in version 0.24.0.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • vllm-project vllm

    fixed in 0.24.0

  • vllmPyPI

    fixed in 0.24.0

References 3

GitHub · vllm-project/vllm