Description (CNA)
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.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| mlc-ai / xgrammar | affected = 0.1.23, < 0.1.24 |
CWE
CWE-770
References
- https://github.com/mlc-ai/xgrammar/security/advisories/GHSA-9q5r-wfvf-rr7f
- https://github.com/mlc-ai/xgrammar/commit/ced69c3ad2f8f61b516cc278a342e7c644383e27
ADP enrichment
No English description supplied.
No references supplied.