CVE-2025-57809 – xgrammar
Package
Manager: pip
Name: xgrammar
Vulnerable Version: >=0 <0.1.21
Severity
Level: High
CVSS v3.1: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L/E:U/RL:O/RC:C
CVSS v4.0: 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
EPSS: 0.00052 pctl0.1601
Details
XGrammar affected by Denial of Service by infinite recursion grammars ### 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.
Metadata
Created: 2025-08-25T20:43:45Z
Modified: 2025-08-26T17:11:45Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/08/GHSA-5cmr-4px5-23pc/GHSA-5cmr-4px5-23pc.json
CWE IDs: ["CWE-674"]
Alternative ID: GHSA-5cmr-4px5-23pc
Finding: F067
Auto approve: 1