cve.bz

CVE-2025-58446

6.9 mediumEPSS 0.6%

Medium (6.9) in mlc-ai xgrammar. EPSS 0.6% chance of exploitation in the next 30 days. Fixed in xgrammar 0.1.24.

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.

Severity

CVSS 4.0

6.9 medium
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

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
0.6% chance of exploitation in the next 30 days; higher than 49% of CVEs (scores of 2026-10-31)
CWE
CWE-770
Published
Modified
Record from
the NVD, synced

Affected

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-9q5r-wfvf-rr7fPyPIxgrammar>=0.1.23 <0.1.240.1.24
PYSEC-2026-2055PyPIxgrammar>=0.1.23 <0.1.240.1.24

References

Check your stackJSON