Description (CNA)
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.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| mlc-ai / xgrammar | affected < 0.1.32 |
CWE
CWE-674
References
- https://github.com/mlc-ai/xgrammar/security/advisories/GHSA-7rgv-gqhr-fxg3
- https://github.com/mlc-ai/xgrammar/releases/tag/v0.1.32
ADP enrichment
No English description supplied.
No references supplied.
A flaw was found in xgrammar, an open-source library for structured generation. This vulnerability allows an attacker to trigger a segmentation fault, causing the program to crash and resulting in a Denial of Service (DoS). The issue occurs due to improper handling of multi-level nested syntax.
- https://access.redhat.com/security/cve/CVE-2026-25048
- https://bugzilla.redhat.com/show_bug.cgi?id=2444840
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-25048.json
- https://access.redhat.com/errata/RHSA-2026:6761
- https://access.redhat.com/errata/RHSA-2026:5809
- https://access.redhat.com/errata/RHSA-2026:6762
- https://access.redhat.com/errata/RHSA-2026:42644
- https://access.redhat.com/errata/RHSA-2026:24977