CVE-2025-57809 HIGH

CVE-2025-57809: XGrammar affected by Denial of Service by infinite recursion grammars

Vendor Mlc-Ai
Product xgrammar
Weakness CWE-674
Published August 25, 2025
Last update August 26, 2025

CVSS base score

7.7/10
Attack vector Network
Attack complexity Low
Privileges required None
User interaction None
Confidentiality
Integrity

CVSS 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

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

August 25, 2025 CVE published
August 26, 2025 Record updated