CVE-2025-57809
Unknown Unknown - Not Provided
BaseFortify

Publication date: 2025-08-25

Last updated on: 2025-09-09

Assigner: GitHub, Inc.

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.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2025-08-25
Last Modified
2025-09-09
Generated
2026-05-07
AI Q&A
2025-08-26
EPSS Evaluated
2026-05-05
NVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
mlc-ai xgrammar to 0.1.21 (exc)
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
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.


Ask Our AI Assistant
Need more information? Ask your question to get an AI reply (Powered by our expertise)
0/70
EPSS Chart