CVE-2026-25048
Received
Received - Intake
Segmentation Fault in xgrammar Library via Nested Syntax Parsing
Publication date: 2026-03-05
Last updated on: 2026-03-13
Assigner: GitHub, Inc.
Description
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.
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| mlc-ai | xgrammar | to 0.1.32 (exc) |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-674 | The product does not properly control the amount of recursion that takes place, consuming excessive resources, such as allocated memory or the program stack. |