Vulnerability

CVE-2025-58446

mediumCVSS 4.0 6.9Published 6 Sep 2025

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

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.

Affected products

From the NVD's configuration data (CPE), vendor first.

  • Mlc Ai xgrammar

Weakness type

References

  • github.com /mlc-ai/xgrammar/commit/ced69c3ad2f8f61b516cc278a342e7c6443…
  • github.com /mlc-ai/xgrammar/security/advisories/GHSA-9q5r-wfvf-rr7f

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning