CVE-2025-57809
Severity CVSS v4.0:
HIGH
Type:
Unavailable / Other
Publication date:
25/08/2025
Last modified:
09/09/2025
Description
XGrammar is an open-source library for efficient, flexible, and portable structured generation. Prior to version 0.1.21, XGrammar has an infinite recursion issue in the grammar. This issue has been resolved in version 0.1.21.
Impact
Base Score 4.0
7.70
Severity 4.0
HIGH
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.21 (excluding) |
To consult the complete list of CPE names with products and versions, see this page



