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.
References
| Link | Resource |
|---|---|
| https://github.com/mlc-ai/xgrammar/commit/ced69c3ad2f8f61b516cc278a342e7c644383e27 | Patch |
| https://github.com/mlc-ai/xgrammar/security/advisories/GHSA-9q5r-wfvf-rr7f | Exploit Vendor Advisory |
Configurations
History
No history.
Information
Published : 2025-09-06 19:15
Updated : 2025-09-18 15:57
NVD link : CVE-2025-58446
Mitre link : CVE-2025-58446
CVE.ORG link : CVE-2025-58446
JSON object : View
Products Affected
mlc-ai
- xgrammar
CWE
CWE-770
Allocation of Resources Without Limits or Throttling
