Advisory

PYSEC-2026-2304

Also known as: CVE-2026-55574, GHSA-rwxx-mrjm-wc2m

Summary

The record has no summary.

Details

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.

Severity

High Basis: CVSS v3 score 7.5, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Dates

Published
2026-07-06 21:16 UTC
Modified
2026-07-13 07:15 UTC

Affected packages and fixes

vllm

PyPI · All systems

Affected

  • introduced 0, fixed 0.24.0 (ecosystem)

Fixed versions

0.24.0

Fix

  • Fixed version 0.24.0
    pip install --upgrade vllm==0.24.0

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences