Skip to content
7.7 High

CVE-2025-57809 XGrammar is an open-source library for efficient, flexible, and portable structured generation

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.

Affected products and versions

Product Affected versions Fixed in
xgrammar 0.1 earliest → < 0.1.21 0.1.21
The 4 CVEs of xgrammar →
Track this CVE