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.
CVE-2026-25048
This high-severity CVE scores 7.5 under NVD CVSS v3. EPSS exploit-prediction score not yet available (the EPSS model rescores nightly; freshly-published CVEs typically appear within 48 hours). GitHub Security Advisory data not yet ingested — confidence will rise once GHSA publishes (typical lag: hours to days for open-source ecosystem CVEs; never for infrastructure-only CVEs).
- High severity, but no confirmed exploitation yet
A fix is available — apply it.
- CVSS v3
- 7.5
- EG Score
- 7.5(low)
- EPSS
- 48.2%
- KEV
- Not listed
Published
March 5, 2026
Last Modified
June 30, 2026
Advisory Details (9)
Auto-updated Jul 1, 20262444840 – (CVE-2026-25048) CVE-2026-25048 xgrammar: xgrammar: Denial of Service via multi-level nested syntax
https://bugzilla.redhat.com/show_bug.cgi?id=2444840Multi-layer nesting causes DoS · Advisory · mlc-ai/xgrammar · GitHub
https://github.com/mlc-ai/xgrammar/security/advisories/GHSA-7rgv-gqhr-fxg3v0.1.32
Patch available: mlc-ai/xgrammar v0.1.32
https://github.com/mlc-ai/xgrammar/releases/tag/v0.1.32Vendor Advisories for CVE-2026-25048(4)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
- RHSA-2026:24977Red Hat Product SecurityHigh
Red Hat Security Advisory: RHOAI 2.25.7 - Red Hat OpenShift AI
- RHSA-2026:6762Red Hat Product SecurityHigh
Red Hat Security Advisory: Red Hat AI Inference Server 3.2.2 (ROCm)
- RHSA-2026:6761Red Hat Product SecurityHigh
Red Hat Security Advisory: Red Hat AI Inference Server Model Optimization Tools 3.2.2 (CUDA)
- RHSA-2026:5809Red Hat Product SecurityHigh
Red Hat Security Advisory: Red Hat AI Inference Server 3.2.2 (cuda-ubi9)
Patch Availability(4)
| Vendor / Ecosystem | Fixed in / Patch | Released | Source |
|---|---|---|---|
| redhat | rhoai/odh-vllm-gaudi-rhel9:1780069069 | 2026-06-10 | redhat |
| redhat | rhaiis/model-opt-cuda-rhel9:1774547384 | 2026-04-07 | redhat |
| redhat | rhaiis/vllm-rocm-rhel9:1775252598 | 2026-04-07 | redhat |
| redhat | rhaiis/vllm-cuda-rhel9:1774351144 | 2026-03-25 | redhat |
Patches are aggregated from vendor advisories (Red Hat, Microsoft, Cisco, GitHub) and package ecosystems (OSV, GHSA). Multiple rows for the same upstream release have been deduplicated.
Affected Packages
(1 across 1 ecosystem)
PyPI(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| xgrammar | 0.1.0 ... 0.1.9 (34 versions) | 0.1.32 | — |
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 11× in last 7d / 14× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
- 2026-07-06 16:27 UTCEPSS rescore
- 2026-07-06 16:27 UTCEPSS rescore
- 2026-07-06 02:23 UTCEPSS rescore
- 2026-07-06 02:23 UTCEPSS rescore
- 2026-07-05 02:30 UTCEPSS rescore
- 2026-07-04 06:31 UTCEPSS rescore
- 2026-07-04 06:31 UTCEPSS rescore
- 2026-07-01 15:06 UTCEPSS rescore
- 2026-07-01 15:06 UTCEPSS rescore
- 2026-06-30 23:22 UTCEPSS rescore
- 2026-06-30 23:22 UTCEPSS rescore
- 2026-06-30 04:34 UTCEG score recompute
- 2026-06-30 04:34 UTCVendor advisory
- 2026-06-30 04:31 UTCNVD updatefirst tracked
Frequently asked(5)
What is CVE-2026-25048?
When was CVE-2026-25048 disclosed?
Is CVE-2026-25048 actively exploited?
What is the CVSS score of CVE-2026-25048?
How do I remediate CVE-2026-25048?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2026-25048
Is Your Infrastructure Affected by CVE-2026-25048?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.