Skip to main content
VulnerabilityPublished Updated

CVE-2026-25048: mlc-ai xgrammar · Uncontrolled Recursion

Affects mlc-ai xgrammarSource CVE Database V5

0
Compare

Not known to be exploited · CVSS 8.7 High : upgrade to 0.1.32 soon.

Data as of 30 Oct 2026, 06:59 UTC

CVSS 4.0 base score
8.7High
How severe the flaw is on the 0–10 CVSS scale.
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:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 5 Mar 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
mlc-aixgrammarAffected
  • <0.1.32
Fixed in
  • 0.1.32
GitHubmlc-ai/xgrammarpkg:github/mlc-ai/xgrammarOther threatsAffected
  • <0.1.32
Fixed in
  • 0.1.32

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

Community reviews

Loading reviews…