xgrammar is an open-source library for efficient, flexible, and portable structured generation. A grammar optimizer introduced in 0.1.23 processes large grammars (>100k characters) at very low rates, and can be used for DOS of model providers. This issue is fixed in version 0.1.24.
History

Mon, 08 Sep 2025 18:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Mon, 08 Sep 2025 15:30:00 +0000

Type Values Removed Values Added
First Time appeared Mlc-ai
Mlc-ai xgrammar
Vendors & Products Mlc-ai
Mlc-ai xgrammar

Sat, 06 Sep 2025 19:15:00 +0000

Type Values Removed Values Added
Description xgrammar is an open-source library for efficient, flexible, and portable structured generation. A grammar optimizer introduced in 0.1.23 processes large grammars (>100k characters) at very low rates, and can be used for DOS of model providers. This issue is fixed in version 0.1.24.
Title xgrammar vulnerable to denial of service by huge enum grammar
Weaknesses CWE-770
References
Metrics cvssV4_0

{'score': 6.9, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published: 2025-09-06T19:06:10.141Z

Updated: 2025-09-08T17:55:13.537Z

Reserved: 2025-09-01T20:03:06.533Z

Link: CVE-2025-58446

cve-icon Vulnrichment

Updated: 2025-09-08T17:55:08.296Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2025-09-06T19:15:38.733

Modified: 2025-09-08T16:25:38.810

Link: CVE-2025-58446

cve-icon Redhat

No data.