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.
Published: 2026-07-06
Score: 8.7 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

vLLM is a high-throughput inference engine for large language models. Prior to version 0.24.0, the structured_outputs.regex API accepted user-supplied regular expressions that were forwarded directly to the grammar compiler backends without any compilation timeout or complexity analysis. Malicious patterns that use nested quantifiers can trigger exponential state-space expansion, causing the inference worker to hang indefinitely and effectively deny service to other requests. The vulnerability is a classic regular expression denial of service (CWE-1333).

Affected Systems

The flaw affects all releases of the vllm engine released by the vllm-project before version 0.24.0. Versions 0.24.0 and later address the issue by adding a timeout guard and performing complexity validation on the regex, thereby preventing unbounded compilation and restoring stability.

Risk and Exploitability

The CVSS score of 8.7 denotes a high severity attack. The EPSS score is below 1% and the flaw is not listed in the CISA KEV catalog, indicating a low likelihood of public exploitation at present. An attacker can trigger the denial of service by submitting a crafted regex to the structured_outputs.regex endpoint. The description does not specify authentication requirements or the exact exposure surface, so it is inferred that the vulnerability can be accessed remotely through any interface that exposes the API without adequate input validation.

Generated by OpenCVE AI on July 26, 2026 at 20:13 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade to vllm 0.24.0 or later to apply the timeout guard and validate regex complexity (CWE-1333).
  • If upgrading is not immediately possible, restrict the structured_outputs.regex feature or enforce a whitelist/complexity threshold for supplied patterns to mitigate denial of service risk (CWE-1333).
  • Implement external health-check or timeout logic for inference workers to detect and restart components that hang due to pathological regexes, providing a temporary safeguard (CWE-1333).

Generated by OpenCVE AI on July 26, 2026 at 20:13 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-rwxx-mrjm-wc2m vLLM: ReDoS via structured_outputs.regex compiled without timeout in xgrammar and outlines backends
History

Wed, 08 Jul 2026 12:15:00 +0000

Type Values Removed Values Added
References
Metrics threat_severity

None

cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'}

threat_severity

Important


Mon, 06 Jul 2026 22:15:00 +0000

Type Values Removed Values Added
First Time appeared Vllm-project
Vllm-project vllm
Vendors & Products Vllm-project
Vllm-project vllm

Mon, 06 Jul 2026 21:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Mon, 06 Jul 2026 20:30:00 +0000

Type Values Removed Values Added
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.
Title vLLM: ReDoS via structured_outputs.regex compiled without timeout in xgrammar and outlines backends
Weaknesses CWE-1333
References
Metrics cvssV4_0

{'score': 8.7, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N'}


Subscriptions

Vllm-project Vllm
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-07-06T20:52:57.336Z

Reserved: 2026-06-16T23:11:20.214Z

Link: CVE-2026-55574

cve-icon Vulnrichment

Updated: 2026-07-06T20:52:53.852Z

cve-icon NVD

No data.

cve-icon Redhat

Severity : Important

Publid Date: 2026-07-06T20:05:31Z

Links: CVE-2026-55574 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-07-26T20:15:04Z

Weaknesses
  • CWE-1333

    Inefficient Regular Expression Complexity