Skip to content
OpenAdvisories
High · 8.7 CVE-2026-55574 EUVD-2026-41924GHSA-rwxx-mrjm-wc2mPYSEC-2026-2304

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

Published Jul 6, 2026 · Updated Jul 6, 2026 · Assigned by GitHub_M

Description

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.

Affected products

VendorProductAffectedFixed
vllm-project vllm < 0.24.0 —

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI vllm < 0.24.0 0.24.0 GHSA-rwxx-mrjm-wc2m

Advisories 1

References