VYPR
Moderate severityNVD Advisory· Published Sep 6, 2025· Updated Sep 8, 2025

xgrammar vulnerable to denial of service by huge enum grammar

CVE-2025-58446

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.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

Affected packages

Versions sourced from the GitHub Security Advisory.

PackageAffected versionsPatched versions
xgrammarPyPI
>= 0.1.23, < 0.1.240.1.24

Affected products

4

Patches

Vulnerability mechanics

References

4

News mentions

0

No linked articles in our index yet.