{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2025-57809","published":"2025-08-25T22:15:33.297000Z","last_modified":"2026-06-17T09:43:28.603000Z","status":"Analyzed","cvss":{"version":"4.0","score":7.7,"severity":"HIGH","vector":"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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","source":"security-advisories@github.com","primary":false},"auth":false,"cwes":["CWE-674"],"cpes":[{"criteria":"cpe:2.3:a:mlc-ai:xgrammar:*:*:*:*:*:*:*:*","part":"a","vendor":"mlc-ai","product":"xgrammar","version_end_excluding":"0.1.21"}],"cpes_truncated":false,"vendors":["mlc-ai"],"products":["mlc-ai/xgrammar"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"partial"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-5cmr-4px5-23pc","ecosystem":"PyPI","name":"xgrammar","purl":"pkg:pypi/xgrammar","ranges":[{"introduced":"0","fixed":"0.1.21"}],"versions":["0.1.0","0.1.1","0.1.10","0.1.11","0.1.12","0.1.13","0.1.17","0.1.18","0.1.19","0.1.20","0.1.6","0.1.7","0.1.8","0.1.9"],"versions_truncated":false},{"advisory":"PYSEC-2026-2054","ecosystem":"PyPI","name":"xgrammar","purl":"pkg:pypi/xgrammar","ranges":[{"introduced":"0","fixed":"0.1.21"}],"versions":["0.1.0","0.1.1","0.1.10","0.1.11","0.1.12","0.1.13","0.1.14","0.1.15","0.1.16","0.1.17","0.1.18","0.1.19","0.1.2","0.1.20","0.1.3","0.1.4","0.1.4rc2","0.1.5","0.1.5rc1","0.1.6","0.1.7","0.1.8","0.1.9"],"versions_truncated":false}],"severity":"high","priority_score":61,"links":{"html_es":"/es/cve/CVE-2025-57809/","html_en":"/en/cve/CVE-2025-57809/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2025-57809","cve_org":"https://www.cve.org/CVERecord?id=CVE-2025-57809"},"untrusted":{"vendor_name":"Mlc-ai","product_name":"Xgrammar","desc_en":"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":[{"untrusted_vendor":"mlc-ai","untrusted_product":"xgrammar","versions":[]}],"references":[{"url":"https://github.com/mlc-ai/xgrammar/commit/b943feacb5a1caf4d39de8ec3bf7c7ce066dcee5","tags":["Patch"]},{"url":"https://github.com/mlc-ai/xgrammar/issues/250","tags":["Exploit","Issue Tracking"]},{"url":"https://github.com/mlc-ai/xgrammar/security/advisories/GHSA-5cmr-4px5-23pc","tags":["Vendor Advisory"]}]}}