What’s Vulnerable › Vulnerabilities

CVE-2026-25048: xgrammar: Multi-layer nesting causes DoS

Description

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 products

How to fix

Upgrade to a fixed version: mlc-ai xgrammar 0.1.32. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-25048 or the next vulnerability affects your stack