Skip to main content
← All vulnerabilities
CVE-2025-58446PYSEC-2026-2055GHSA-9Q5R-WFVF-RR7F

xgrammar vulnerable to denial of service by huge enum grammar

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

Summary

xgrammar is an open-source library for efficient, flexible, and portable structured generation. A grammar optimizer introduced in 0.1.23 processes large grammars (>100k characters) at very low rates, and can be used for DOS of model providers. This issue is fixed in version 0.1.24.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • mlc-ai xgrammar

    Version range not reported

  • xgrammarPyPI

    From 0.1.23 · fixed in 0.1.24

References 2

GitHub · mlc-ai/xgrammar