High severity · published Mar 5, 2026
CVE-2026-25048
xgrammar: Multi-layer nesting causes DoS
7.5
CVSS
1.2%
EPSS
No
On KEV
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 vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
None
Integrity
None
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)1.2% · higher than 68% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
XG
xgrammar · mlc-ai
< 0.1.32 · source: vendor, NVD
RH
Red Hat AI Inference Server · Red Hat
All versions, or not specified · source: CISA
RH
Red Hat AI Inference Server 3.2 · Red Hat
All versions, or not specified · source: CISA
RH
Red Hat Enterprise Linux AI (RHEL AI) 3 · Red Hat
All versions, or not specified · source: CISA
RH
Red Hat OpenShift AI 2.25 · Red Hat
All versions, or not specified · source: CISA
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2026-25048
CVE.org
https://www.cve.org/CVERecord?id=CVE-2026-25048
Release Notes
https://github.com/mlc-ai/xgrammar/releases/tag/v0.1.32
Exploit
https://github.com/mlc-ai/xgrammar/security/advisories/GHSA-7rgv-gqhr-fxg3
access.redhat.com
https://access.redhat.com/errata/RHSA-2026:24977
access.redhat.com
https://access.redhat.com/errata/RHSA-2026:42644
access.redhat.com
https://access.redhat.com/errata/RHSA-2026:5809
access.redhat.com
https://access.redhat.com/errata/RHSA-2026:6761
More from xgrammar
7.5
CVE-2025-58446
xgrammar vulnerable to denial of service by huge enum grammar
7.5
CVE-2025-57809
XGrammar affected by Denial of Service by infinite recursion grammars
6.5
CVE-2025-32381
Denial of Service by abusing xgrammar unbounded cache in memory
