SOURCE-LINKED INTELLIGENCE
GHSA-rwxx-mrjm-wc2m: vLLM: ReDoS via structured_outputs.regex compiled without timeout in xgrammar and outlines backends
## Summary The `structured_outputs.regex` API parameter passes a user-supplied regex string directly to grammar compiler backends with no compilation timeout. In the xgrammar backend, the string reaches `compile_regex()` with no guard. In the outlines backend, `validate_regex_is_buildable()` blocks structural issues (lookarounds, backreferences) but provides zero protection against exponential DFA state-space explosion. Patterns like `(a+)+b` pass all checks and hang the inference worker. ## Root Cause `backend_xgrammar.py:91` — no timeout: ```python ctx = self.compiler.compile_regex(grammar_s
Read original source ↗ Open in workspace
- recordType
- vulnerability
- status
- active
- evidenceStatus
- reported
- region
- Global
Evidence & attribution
- OSV AI package advisories · 2026-07-17T17:10:37.000Z
- OSV AI package advisories · 2026-07-06T21:16:57.347Z
First collected: 2026-09-20T22:31:48.298Z. This is not the publication date.