Live threats

All CVEs / Mlc-ai

CVE-2025-58446Mlc-ai Xgrammar

Medium 6.9 No auth needed

Priority
56
CVSS 4.0
6.9
EPSS
—
Auth required
No
Published
Sep 6, 2025
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-770
SSVC (CISA)
Exploitation: proof of concept · Automatable: yes · Technical impact: partial
Vector
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Xgrammar.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI xgrammar ≥ 0.1.23 < 0.1.24 0.1.24 pip install "xgrammar>=0.1.24"
PyPI xgrammar ≥ 0.1.23 < 0.1.24 0.1.24 pip install "xgrammar>=0.1.24"

Per OSV / GitHub Advisories (GHSA-9q5r-wfvf-rr7f, PYSEC-2026-2055). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
mlc-aixgrammar0.1.23

Official sources

References

Links published by the sources. Open them with care.