Approved changes feed: RSS · Atom

cpe:2.3:a:mlc-ai:xgrammar:*:*:*:*:*:*:*:*

part: a version: * update: *

VendorMlc Ai (dffbe2a0-2412-5c97-8488-1ccd16cce457)
ProductXgrammar (28381ad5-e911-5807-8361-105bb33362b1)
Edition*
Language*
Software edition*
Target software*
Target hardware*
Other*

Notes

Imported from gcve-enriched-dumps CVE data

PURL mappings

PURLSourceLast updated
pkg:github/mlc-ai/xgrammar purl2cpe 2026-07-28 16:40:52.941377
pkg:pypi/xgrammar purl2cpe 2026-07-28 16:40:52.941378

Vulnerability references

IdentifiercpeApplicabilitySubmitteddb.gcve.eu detailsRationale
CVE:CVE-2026-25048 vulnerable 2026-06-08 07:53:18.888688 xgrammar: Multi-layer nesting causes DoS
xgrammar is an open-source library for efficient, flexible, and portable structured generation. Prior to version 0.1.32, the multi-level nested syntax caused a segmentation fault (core dumped). This issue has been patched in version 0.1.32.
Published: 2026-03-05T15:34:42.095Z
Updated: 2026-07-21T12:05:13.603Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2025-58446 vulnerable 2026-06-08 07:35:18.293320 xgrammar vulnerable to denial of service by huge enum grammar
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.
Published: 2025-09-06T19:06:10.141Z
Updated: 2025-09-08T17:55:13.537Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2025-57809 vulnerable 2026-06-08 07:33:16.161522 XGrammar affected by Denial of Service by infinite recursion grammars
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.
Published: 2025-08-25T21:22:00.226Z
Updated: 2025-08-26T20:19:34.998Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2025-32381 vulnerable 2026-06-08 07:18:59.698384 Denial of Service by abusing xgrammar unbounded cache in memory
MEDIUM (6.5)
XGrammar is an open-source library for efficient, flexible, and portable structured generation. Prior to 0.1.18, Xgrammar includes a cache for compiled grammars to increase performance with repeated use of the same grammar. This cache is held in memory. Since the cache is unbounded, a system making use of xgrammar can be abused to fill up a host's memory and case a denial of service. For example, sending many small requests to an LLM inference server with unique JSON schemas would eventually cause this denial of service to occur. This vulnerability is fixed in 0.1.18.
Published: 2025-04-09T16:00:10.642Z
Updated: 2025-04-09T20:43:33.169Z
Reference links
Imported from gcve-enriched-dumps CVE data

Contribute

You can submit an edit proposal for this CPE entry or suggest a related product/vendor addition using the action button above.

Inspect record JSON

Open JSON directly

Open this panel to browse, search, copy or download the JSON record.