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.
References
| Link | Resource |
|---|---|
| https://github.com/mlc-ai/xgrammar/commit/b943feacb5a1caf4d39de8ec3bf7c7ce066dcee5 | Patch |
| https://github.com/mlc-ai/xgrammar/issues/250 | Exploit Issue Tracking |
| https://github.com/mlc-ai/xgrammar/security/advisories/GHSA-5cmr-4px5-23pc | Vendor Advisory |
Configurations
History
No history.
Information
Published : 2025-08-25 22:15
Updated : 2025-09-09 18:57
NVD link : CVE-2025-57809
Mitre link : CVE-2025-57809
CVE.ORG link : CVE-2025-57809
JSON object : View
Products Affected
mlc-ai
- xgrammar
CWE
CWE-674
Uncontrolled Recursion
