CVE-2025-57809 - CVE House
Back to Database
Status published High CVE-2025-57809

XGrammar affected by Denial of Service by infinite recursion grammars

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

Impact Analysis

Refer to official advisory for detailed impact metrics.

Remediation

Ensure systems are updated to the latest vendor-supplied patch levels.

THREAT MONITOR

Am I Vulnerable?

Launch our assessment wizard to check if your infrastructure is exposed to • CVE-2025-57809

Credits & Attribution

No credits recorded in the NVD database.

Affected Vendor

Affected Software

xgrammar
Vulnerable Versions:
< 0.1.21

Timeline

Official Publish: August 25th, 2025
Last Modified: August 26th, 2025
Added to House: July 22nd, 2026

CVSS Vectors

Weaknesses (CWE)

MITRE ATT&CK TTPs

No associated TTPs found for this vulnerability.