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?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « 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- 2026-03-0516:16CVE publishedNVD
Versions per branch
NVD · OSV| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 0.1 | < 0.1.32 | 0.1.32 | NVD · OSV |
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 xgrammarAffected
- = < 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
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
Red Hat Security Advisory: RHOAI 2.25.9 - Red Hat OpenShift AI
Red Hat Security Advisory: RHOAI 2.25.7 - Red Hat OpenShift AI
Red Hat Security Advisory: Red Hat AI Inference Server 3.2.2 (ROCm)
Red Hat Security Advisory: Red Hat AI Inference Server Model Optimization Tools 3.2.2 (CUDA)
Red Hat Security Advisory: Red Hat AI Inference Server 3.2.2 (cuda-ubi9)
Fix
- Update Mlc-ai xgrammar to 0.1.32
- 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/
- 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/
- Vendor fix Red Hat Product Security RHSA-2026:6762 · 1 productFor more information visit https://access.redhat.com/errata/RHSA-2026:6762
- Vendor fix Red Hat Product Security RHSA-2026:6761 · 2 productsFor more information visit https://access.redhat.com/errata/RHSA-2026:6761
- Vendor fix Red Hat Product Security RHSA-2026:5809 · 2 productsFor more information visit https://access.redhat.com/errata/RHSA-2026:5809
- 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
- github.comRelease Notes
- github.comVendor Advisory
Detection
- Nuclei template
- none so far ProjectDiscovery
- Exploit-DB
- no entry Exploit-DB
- Proof of concept
- PoC-in-GitHubno public repository identifiedread 2026-11-26
- 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
- CGA-3w5x-wgwr-2gfvsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-4hwq-hwvh-3hm4same flawChainguard · CC-BY-NC-ND-4.0
- CGA-4w5q-24rr-qx7gsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-5xv7-4c94-9cphsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-hrhv-fw2q-mgrwsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-qf4f-x5r2-49gwsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-x5hr-xgm6-p2g8same flawChainguard · CC-BY-NC-ND-4.0
- EUVD-2026-9830same flawENISA EUVD · LicenseRef-ENISA-legal-notice
- GHSA-7rgv-gqhr-fxg3same flawGitHub Advisory Database · CC-BY-4.0
- PYSEC-2026-2322same flawPyPA Advisory Database · CC-BY-4.0
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?
Is CVE-2026-25048 actively exploited?
What is the CVSS score for CVE-2026-25048?
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
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
- CVE-2026-111497KEVsame productOut-of-Bounds Write in Google Brotli Decoder
- CVE-2026-27893same product
- CVE-2026-112900same productPillow: Argument Injection in Ghostscript call, potentially leading into RCE
- CVE-2026-22807same productvLLM affected by RCE via auto_map dynamic module loading during model initialization
- CVE-2026-48746same product
- CVE-2025-69872same product
- CVE-2025-69223same product
- CVE-2026-112393same productPillow: Heap buffer overflow in _tiffWriteProc when saving TIFF to BytesIO
Sources for this record
- CVE Program · CVE Program Terms of Use
- ENISA EU Vulnerability Database · ENISA legal notice §1.2 (reproduction authorised, provided the source is acknowledged)
- FIRST EPSS · EPSS terms of use (free use, attribution requested)
- GitHub Advisory Database · CC-BY-4.0 · GHSA-7rgv-gqhr-fxg3
- NVD · Public domain (17 U.S.C. § 105) for NVD-authored data; third-party content under its own terms
- OpenCVE · OpenCVE terms of service · terms restrict redistribution
- OSV.dev · Per record, as its publisher states it: each row carries the label in sourceLicense when one is served
- Red Hat Product Security (CSAF and VEX) · CC-BY-4.0
- CISA Vulnrichment · CC0-1.0