
CVE catalog
CVE-2026-25048
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 i
- Severity
- High · CVSS 8.7
- Published
- Source
- [NVD] · [CVE record]
- EPSS
- 1.20% · Oct 25, 2026
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. xgrammar: xgrammar: Denial of Service via multi-level nested syntax The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Pip | xgrammar | Not reported | 0.1.32 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Pip | xgrammar | pip | Not reported | 0.1.32 | Not reported | Not reported | Not reported |
OpenFactory catalog packages
No matching packages in this catalog.
Observed:
References
- [https://github.com/advisories/GHSA-7rgv-gqhr-fxg3]
- [https://nvd.nist.gov/vuln/detail/CVE-2026-25048]
- [https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-25048.json]
[FIRST EPSS] · [GitHub Advisory Database] · [National Vulnerability Database (NVD)] · [Red Hat security advisories and VEX]