Skip to main content
HIGH

CVE-2026-25048

xgrammar: Multi-layer nesting causes DoS

CVSS v3

7.5

HIGH

EPSS Score

1.2 %

exploit probability, as of 2026-10-12

CISA KEV

No

known exploited

Exploitation

none

SSVC status

Get an alert for each new CVE published for xgrammar. Watch xgrammar in CVE Watch Free account · no credit card

Affected and fixed versions

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • xgrammarPyPIall versions · fixed in 0.1.32

Vendor advisories

  • CVE-2026-25048 Red Hat Product Security9 products fixed · 5 known affected

    xgrammar: xgrammar: Denial of Service via multi-level nested syntax

    rhaiis/vllm-tpu-rhel9 as a component of Red Hat AI Inference Server · rhelai3/bootc-aws-cuda-rhel9 as a component of Red Hat Enterprise Linux AI (RHEL AI) 3 · rhelai3/bootc-azure-cuda-rhel9 as a component of Red Hat Enterprise Linux AI (RHEL AI) 3

  • RHSA-2026:42644 Red Hat Product Security3 products fixed

    Red Hat Security Advisory: RHOAI 2.25.9 - Red Hat OpenShift AI

  • RHSA-2026:24977 Red Hat Product Security1 product fixed

    Red Hat Security Advisory: RHOAI 2.25.7 - Red Hat OpenShift AI

  • RHSA-2026:6762 Red Hat Product Security1 product fixed

    Red Hat Security Advisory: Red Hat AI Inference Server 3.2.2 (ROCm)

  • RHSA-2026:6761 Red Hat Product Security2 products fixed

    Red Hat Security Advisory: Red Hat AI Inference Server Model Optimization Tools 3.2.2 (CUDA)

  • RHSA-2026:5809 Red Hat Product Security2 products fixed

    Red Hat Security Advisory: Red Hat AI Inference Server 3.2.2 (cuda-ubi9)

Full record on NVD

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.

Technical details

CVSS v3 Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Published
2026-03-05
Last Modified
2026-03-13

Frequently asked questions

What is CVE-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.

Is CVE-2026-25048 actively exploited?

Active exploitation of CVE-2026-25048 has not been confirmed. Its EPSS score was 1.2% on 2026-10-12, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2026-25048?

CVE-2026-25048 has a CVSS v3 base score of 7.5 (HIGH severity), with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.

Running xgrammar? Hear about its next vulnerability

CVE Watch matches each new CVE to the vendors and products you list (vendor and product, not the version) and puts it in your alerts with its KEV and EPSS status.

Already have an account? Open CVE Watch

No credit card required · 50 free checks/month · Free API key