CVE-2026-25048 HIGH

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

Vendor Mlc-Ai
Product xgrammar
Weakness CWE-674
Published March 5, 2026
Last update June 30, 2026

CVSS base score

8.7/10
Attack vector Network
Attack complexity Low
Privileges required None
User interaction None
Confidentiality
Integrity

CVSS vector

CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

March 5, 2026 CVE published
June 30, 2026 Record updated