Xgrammar · Xgrammar · CVE-2025-58446
**Name of the Vulnerable Software and Affected Versions**
xgrammar versions 0.1.23
**Description**
xgrammar is an open-source library for efficient, flexible, and portable structured generation. A grammar optimizer introduced in version 0.1.23 can be exploited to cause a denial-of-service (DOS) attack on model providers by processing large grammars at a very low rate.
**Recommendations**
Update to version 0.1.24.