CVE-2026-25048
High
Description
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.
SeverityHigh
CVSS7.5
Exploit probability—
ProductMlc-ai Xgrammar
PublishedMar 5, 2026
First seenMar 5, 2026
Weakness typeCWE-674CWE-674
How to fix
Update
- mlc-ai xgrammar0.1.32 or later
- xgrammar0.1.32 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| mlc-ai xgrammar | v < 0.1.32 | 0.1.32 |
| xgrammarPyPI | v < 0.1.32 | 0.1.32 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
In the Intelligence 360 plan
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.