CVE-2025-58446 - CVE House
Back to Database
Status published Medium CVE-2025-58446

xgrammar vulnerable to denial of service by huge enum grammar

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

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-58446

Credits & Attribution

No credits recorded in the NVD database.

Affected Vendor

Affected Software

xgrammar
Vulnerable Versions:
= 0.1.23, < 0.1.24

Timeline

Official Publish: September 6th, 2025
Last Modified: September 8th, 2025
Added to House: July 22nd, 2026

CVSS Vectors

Weaknesses (CWE)