CVE-2025-58446
Severity CVSS v4.0:
MEDIUM
Type:
Unavailable / Other
Publication date:
06/09/2025
Last modified:
18/09/2025
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.
Impact
Base Score 4.0
6.90
Severity 4.0
MEDIUM
Base Score 3.x
7.50
Severity 3.x
HIGH
Vulnerable products and versions
| CPE | From | Up to |
|---|---|---|
| cpe:2.3:a:mlc-ai:xgrammar:0.1.23:*:*:*:*:*:*:* |
To consult the complete list of CPE names with products and versions, see this page



