← CVE Intelligence

CVE-2026-25048

xgrammar: Multi-layer nesting causes DoS PUBLISHED

Description (CNA)

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.

Affected (CNA)

Vendor / productVersions
mlc-ai / xgrammaraffected < 0.1.32

CWE

CWE-674

References

ADP enrichment

CISA-ADP

No English description supplied.

No references supplied.

redhat-SADP

A flaw was found in xgrammar, an open-source library for structured generation. This vulnerability allows an attacker to trigger a segmentation fault, causing the program to crash and resulting in a Denial of Service (DoS). The issue occurs due to improper handling of multi-level nested syntax.