xgrammar
Affected
- introduced
0, fixed0.1.21(ecosystem)
Fixed versions
0.1.21
Fix
- Fixed version
0.1.21pip install --upgrade xgrammar==0.1.21
Advisory
Also known as: CVE-2025-57809, PYSEC-2026-2054
XGrammar affected by Denial of Service by infinite recursion grammars
Summary
This issue: http://github.com/mlc-ai/xgrammar/issues/250 should have it's own security advisory. Since several tools accept and pass user supplied grammars to xgrammar, and it is so easy to trigger it seems like a High.
High Basis: The source's own band: HIGH
0, fixed 0.1.21 (ecosystem)0.1.21
0.1.21pip install --upgrade xgrammar==0.1.21Fix 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
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0