CVE-2025-58446CWE-770
xgrammar vulnerable to denial of service by huge enum grammar
Medium · published September 6, 2025
What it is
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.
The record
Technical detail
- CVSS v4.0
- 6.9 · MEDIUM
- 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
- EPSS
- 0.00619 · 49.0th percentile
- Weakness
- CWE-770 · Allocation of Resources Without Limits or Throttling
- Published
- 2025-09-06T19:06Z
EPSS history
Timeline