Skip to main content
No exploitation reportedFix available

CVE-2026-25048

xgrammar: Multi-layer nesting causes DoS

No exploitation reported by the sources we read.

  • Published2026-03-05
  • Fixed in0.1.32
  • WeaknessCWE-674

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

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.

Timeline

dates in UTC
  1. 2026-03-0516:16CVE publishedNVD

Versions per branch

NVD · OSV
Mlc-ai xgrammar
BranchAffectedFixed in
0.1< 0.1.320.1.32

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Products declared by the CNA1 product

As GitHub_M, the CNA that assigned this CVE, declared them in the CVE record; versions as written.

  • mlc-ai xgrammar
    Affected
    • = < 0.1.32no fix stated

Source: the CNA record (CVE Program), © The MITRE Corporation,CVE terms of useCVE recordupdated 2026-03-05

Distribution builds and vendor advisories

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

  • py3.10-vllm-cuda-12.4Chainguardall versions · fixed in 0.17.1-r1and 1 other package
  • tritonserver-backend-vllm-cuda-12.9Chainguardall versions · fixed in 25.9.0_git20260318-r0
  • tritonserver-backend-vllm-cuda-13.0Chainguardall versions · fixed in 25.11-r2
  • tritonserver-backend-vllm-cuda-13.0Chainguardall versions · fixed in 25.11-r3
  • vllm-openai-cuda-12.9Chainguardall versions · fixed in 0.19.0-r0

Vendor advisories

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

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

    rhaiis-preview/vllm-cuda-rhel9 as a component of Red Hat AI Inference Server · 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 · +3 more

  • 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

Fix

  1. Update Mlc-ai xgrammar to 0.1.32
  2. Vendor fix Red Hat Product Security RHSA-2026:42644 · 3 productsFor Red Hat OpenShift AI 2.25.9 see the following documentation, which will be updated shortly for this release, for important instructions on how to upgrade your cluster and fully apply this errata update: https://docs.redhat.com/en/documentation/red_hat_openshift_ai/
  3. Vendor fix Red Hat Product Security RHSA-2026:24977 · 1 productFor Red Hat OpenShift AI 2.25.7 see the following documentation, which will be updated shortly for this release, for important instructions on how to upgrade your cluster and fully apply this errata update: https://docs.redhat.com/en/documentation/red_hat_openshift_ai/
  4. Vendor fix Red Hat Product Security RHSA-2026:6762 · 1 productFor more information visit https://access.redhat.com/errata/RHSA-2026:6762
  5. Vendor fix Red Hat Product Security RHSA-2026:6761 · 2 productsFor more information visit https://access.redhat.com/errata/RHSA-2026:6761
  6. Vendor fix Red Hat Product Security RHSA-2026:5809 · 2 productsFor more information visit https://access.redhat.com/errata/RHSA-2026:5809
  7. Workaround from the vendor Red Hat Product Security RHSA-2026:42644 · 205 productsMitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

Advisories and patches

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

  • CISA-ADPSSVC decisionnone2026-03-05
  • CNACVSS 4.08.7known since 2026-10-23
  • CNACVSS 3.17.5known since 2026-10-23
  • NVDCVSS 3.17.5read 2026-10-23
  • CNAweakness (CWE)CWE-674known since 2026-10-23
  • FIRST EPSSEPSS score1.7 %2026-11-25
  • OSVaffected packages—
  • GitHub AdvisoriesadvisoryHigh2026-03-05

Identifiers

Technical details

CVSS v3 vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS 4.0 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Published
2026-03-05
Last modified
2026-07-21
NVD status
Modified
GitHub advisory
GHSA-7rgv-gqhr-fxg3

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.7% on 2026-11-25, 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

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website checks · 250 API requests/month

Sources for this record