VYPR
High severityNVD Advisory· Published Aug 25, 2025· Updated Aug 26, 2025

XGrammar affected by Denial of Service by infinite recursion grammars

CVE-2025-57809

Description

XGrammar is an open-source library for efficient, flexible, and portable structured generation. Prior to version 0.1.21, XGrammar has an infinite recursion issue in the grammar. This issue has been resolved in version 0.1.21.

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

Affected products

3

Patches

Vulnerability mechanics

References

5

News mentions

0

No linked articles in our index yet.