All reports
High

XGrammar affected by Denial of Service by infinite recursion grammars

Affected versions

Version ranges need review.

Affected versions
<0.1.21
Fixed version
0.1.21
Affected versions
< 0.1.21
Fixed version
0.1.21
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2025-57809

Probability of exploitation in the next 30 days: 0.51%

FIRST EPSS · 2026-11-20

Description

Summary

This issue: http://github.com/mlc-ai/xgrammar/issues/250 should have it's own security advisory. Since several tools accept and pass user supplied grammars to xgrammar, and it is so easy to trigger it seems like a High.

Links

Credits

  • xendo