CVE-2026-25048

High

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.

SeverityHigh
CVSS7.5
Exploit probability—
ProductMlc-ai Xgrammar
PublishedMar 5, 2026
First seenMar 5, 2026
Weakness typeCWE-674CWE-674

How to fix

Affected products

ProductAffected versionsFixed in
mlc-ai xgrammarv < 0.1.320.1.32
xgrammarPyPIv < 0.1.320.1.32

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.