# CVE-2025-57809

## Summary

- **CVE ID:** CVE-2025-57809
- **Severity:** HIGH
- **CVSS Score:** 7.7 (CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:P)
- **CWE:** CWE-674
- **Published:** Aug 25, 2025
- **Last Modified:** Mar 13, 2026

## 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.

## Affected Products

- mlc-ai — xgrammar (< 0.1.21)

## References

- [CNA](https://github.com/mlc-ai/xgrammar/security/advisories/GHSA-5cmr-4px5-23pc)
- [CNA](https://github.com/mlc-ai/xgrammar/issues/250)
- [CNA](https://github.com/mlc-ai/xgrammar/commit/b943feacb5a1caf4d39de8ec3bf7c7ce066dcee5)

## Exploitation Prediction (EPSS)

- **EPSS Score:** 0.47%
- **EPSS Percentile:** 38.7

---
_Exported from OnDuty AI Vulnerability Intelligence on 2026-09-10._