Mlc-ai xgrammar
xgrammar: Multi-layer nesting causes DoS
xgrammar is an open-source library for efficient, flexible, and portable structured generation. Prior to version 0.1.32, the multi-level nested syntax caused a segmentation fault (core dumped). This issue has been patched in version 0.1.32.
First public PoC
None yetno public PoC found
Public PoCs00 on GitHub
CVSS8.7high · scored by CNA · CWE-674
CISA KEV
Not listednot known exploited
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
mlc-ai xgrammar
- < 0.1.32
Fixed in 0.1.32
Mitigation
Upgrade xgrammar to 0.1.32 or later.
References
- Vendor advisory github.com/mlc-ai/xgrammar/security/advisories…
- Release notes github.com/mlc-ai/xgrammar/releases/tag/v0.1.3…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.