CVE-2026-25048CWE-674

xgrammar: Multi-layer nesting causes DoS

High · published March 5, 2026

CVSS v4.0
8.7
EPSS
1%
Percentile
67.9
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v4.0
8.7 · HIGH
Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
EPSS
0.01198 · 67.9th percentile
Weakness
CWE-674 · Uncontrolled Recursion
Published
2026-03-05T15:34Z
EPSS history
Timeline
  • 05 MAR 15:34Z
    xgrammar: Multi-layer nesting causes DoS
    cvelistv5