Findings

CVE-2026-25048

xgrammar is an open-source library for efficient, flexible, and portable structured generation.

Published Mar 5, 2026 · updated Jul 21, 2026 · mlc-ai xgrammar

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.

Code

The project this record applies to. Exploit listings stay in References.

Timeline

Detection, updates, and resolution for this record.

  1. Mar 5, 2026 · NIST NVD

    Detected

    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.

  2. Jul 21, 2026 · NIST NVD

    Updated

    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

  • cpe mlc-ai/xgrammarversion unspecified

Sources

  • CVE.orgVulnerability recordCVE-2026-25048

    Official CVE identifier

    cve.org
  • NIST NVDVulnerability recordCVE-2026-25048

    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.

    nvd.nist.gov

References