CVE-2025-57809
BaseFortify
Publication date: 2025-08-25
Last updated on: 2025-09-09
Assigner: GitHub, Inc.
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| mlc-ai | xgrammar | to 0.1.21 (exc) |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-674 | The product does not properly control the amount of recursion that takes place, consuming excessive resources, such as allocated memory or the program stack. |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
The vulnerability in XGrammar prior to version 0.1.21 is an infinite recursion issue in the grammar. This means that the grammar definitions could cause the program to enter an endless recursive loop, potentially leading to crashes or unresponsiveness. This issue was fixed in version 0.1.21.
How can this vulnerability impact me? :
This vulnerability can cause the software using XGrammar to become unresponsive or crash due to infinite recursion. This can lead to denial of service or disruption of normal operations.
What immediate steps should I take to mitigate this vulnerability?
Upgrade XGrammar to version 0.1.21 or later, as this version resolves the infinite recursion issue in the grammar.