Skip to main content
VulnerabilityPublished Updated

CVE-2025-58446: mlc-ai xgrammar · Unthrottled Resource Allocation

Affects mlc-ai xgrammarSource CVE Database V5

0
Compare

Not known to be exploited · CVSS 6.9 Medium · fixed in 0.1.24 : update mlc-ai xgrammar when convenient.

Data as of 24 Nov 2026, 21:15 UTC

CVSS 4.0 base score
6.9Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.6% chance of exploitation in 30 days – higher than 50% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 0.1.24
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 6 Sep 2025

  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 25 Nov 2026.

What to do

AI-suggested

European organizations should immediately verify if they are using xgrammar version 0.1.23 or earlier in their software environments. The primary mitigation is to upgrade to version 0.1.24 or later, where the vulnerability has been fixed. For environments where immediate upgrading is not feasible, organizations should implement input validation and size limits on grammar inputs to prevent processing of excessively large or complex grammars. Network-level protections such as rate limiting, anomaly detection, and traffic filtering can help mitigate exploitation attempts by limiting the volume and frequency of grammar submissions. Monitoring resource utilization and setting thresholds for process memory and CPU usage related to xgrammar processes can provide early warning signs of exploitation attempts. Additionally, organizations should review their AI model providers and third-party services to ensure they have patched this vulnerability or have compensating controls in place. Incorporating these specific controls beyond generic patching will reduce the risk of denial-of-service attacks leveraging this vulnerability.

Description

xgrammar is an open-source library for efficient, flexible, and portable structured generation. A grammar optimizer introduced in 0.1.23 processes large grammars (>100k characters) at very low rates, and can be used for DOS of model providers. This issue is fixed in version 0.1.24.

References

Community reviews

Loading reviews…