Uncontrolled Recursion
CVE-2025-57809
Summary
XGrammar is an open-source library for efficient, flexible, and portable structured generation. In versions prior to 0.1.21, XGrammar has an infinite recursion issue in the grammar.
- LOW
- NETWORK
- NONE
- UNCHANGED
- NONE
- NONE
- NONE
- HIGH
CWE-674 - Uncontrolled Recursion
The product does not properly control the amount of recursion which takes place, consuming excessive resources, such as allocated memory or the program stack.
References
Advisory Timeline
- Published