CVE-2026-25048: mlc-ai xgrammar · Uncontrolled Recursion
Affects mlc-ai xgrammarSource CVE Database V5
Not known to be exploited · CVSS 8.7 High : upgrade to 0.1.32 soon.
Data as of 30 Oct 2026, 06:59 UTC
- EPSS
- 1.1% chance of exploitation in 30 days – higher than 68% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 0.1.32
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 5 Mar 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 29 Oct 2026.
What to do
Upgrade xgrammar and mlc-ai/xgrammar to 0.1.32.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| mlc-aixgrammar | Affected
| Fixed in
|
GitHubmlc-ai/xgrammarpkg:github/mlc-ai/xgrammarOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A fix is available in version 0.1.32 of the mlc-ai xgrammar library. Users should upgrade to version 0.1.32 or later to remediate this vulnerability. Red Hat advisories confirm the availability of patches. No additional mitigation steps are specified or required beyond applying the official fix.
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.
References
- github.com/mlc-ai/xgrammar/security/advisories/GHSA-7rgv-gqhr-fxg3 (opens in a new tab)
- github.com/mlc-ai/xgrammar/releases/tag/v0.1.32 (opens in a new tab)
- access.redhat.com/security/cve/CVE-2026-25048 (opens in a new tab)
- bugzilla.redhat.com/show_bug.cgi?id=2444840 (opens in a new tab)
- security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-25048.json (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:6761 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:5809 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:6762 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:42644 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:24977 (opens in a new tab)