Vulnerability

CVE-2025-57809

highCVSS 4.0 7.7Published 25 Aug 2025

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

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.

Affected products

From the NVD's configuration data (CPE), vendor first.

  • Mlc Ai xgrammar

Weakness type

References

  • github.com /mlc-ai/xgrammar/commit/b943feacb5a1caf4d39de8ec3bf7c7ce066…
  • github.com /mlc-ai/xgrammar/issues/250
  • github.com /mlc-ai/xgrammar/security/advisories/GHSA-5cmr-4px5-23pc

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning