CVE-2026-25048 xgrammar: Multi-layer nesting causes DoS
HighCVSS 8.7
EPSS 1.3%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: yes · technical impact: partial
- Technology
- DebianRed Hat
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.
Upgrade path
16 packages: 2 fixed, 2 partially fixed, 12 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| redhat enterprise linux ai | All versions | No fix listed | No fix yet |
| redhat/rhaiis/model-opt-cuda-rhel9:1774547384(Red Hat ai_inference_server 3.2 el9) | All versions | No fix listed | No fix yet |
| redhat/rhaiis/vllm-cuda-rhel9:1774351144(Red Hat ai_inference_server 3.2 el9) | All versions | No fix listed | No fix yet |
| redhat/rhaiis/vllm-rocm-rhel9:1775252598(Red Hat ai_inference_server 3.2 el9) | All versions | No fix listed | No fix yet |
| redhat/rhaiis/vllm-tpu-rhel9(Red Hat ai_inference_server 3) | All versions | No fix listed | No fix yet |
| redhat/rhelai3/bootc-aws-cuda-rhel9(Red Hat enterprise_linux_ai 3) | All versions | No fix listed | No fix yet |
| redhat/rhelai3/bootc-azure-cuda-rhel9(Red Hat enterprise_linux_ai 3) | All versions | No fix listed | No fix yet |
| redhat/rhelai3/bootc-cuda-rhel9(Red Hat enterprise_linux_ai 3) | All versions | No fix listed | No fix yet |
| redhat/rhelai3/bootc-gcp-cuda-rhel9(Red Hat enterprise_linux_ai 3) | All versions | No fix listed | No fix yet |
| redhat/rhoai/odh-vllm-cuda-rhel9:1783998774(Red Hat openshift_ai 2.25 el9) | All versions | No fix listed | No fix yet |
| redhat/rhoai/odh-vllm-gaudi-rhel9:1780069069(Red Hat openshift_ai 2.25 el9) | All versions | No fix listed | No fix yet |
| redhat/rhoai/odh-vllm-rocm-rhel9:1783998857(Red Hat openshift_ai 2.25 el9) | All versions | No fix listed | No fix yet |
| redhat ai inference server | < 1774351144; < 1774547384; < 1775252598; All versions | 1774351144, 1774547384, 1775252598 | Partially fixed |
| redhat openshift ai | < 1780069069; < 1783998774; < 1783998857; All versions | 1780069069, 1783998774, 1783998857 | Partially fixed |
| mlc-ai xgrammar | < 0.1.32; = < 0.1.32 | 0.1.32 | Fixed |
| pypi xgrammar(PyPI) | < 0.1.32; <= 0.1.31; = 0.1.0; = 0.1.1 +32 more | 0.1.32 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi xgrammar(PyPI) | < 0.1.32 | 0.1.32 |
| pypi xgrammar(PyPI) | = 0.1.0 | No fix listed |
| pypi xgrammar(PyPI) | = 0.1.1 | No fix listed |
| pypi xgrammar(PyPI) | = 0.1.10 | No fix listed |
| pypi xgrammar(PyPI) | = 0.1.11 | No fix listed |
| pypi xgrammar(PyPI) | = 0.1.12 | No fix listed |
| pypi xgrammar(PyPI) | = 0.1.13 | No fix listed |
| pypi xgrammar(PyPI) | = 0.1.17 | No fix listed |
| pypi xgrammar(PyPI) | = 0.1.18 | No fix listed |
| pypi xgrammar(PyPI) | = 0.1.19 | No fix listed |
| pypi xgrammar(PyPI) | = 0.1.20 | No fix listed |
| pypi xgrammar(PyPI) | = 0.1.21 | No fix listed |
| pypi xgrammar(PyPI) | = 0.1.22 | No fix listed |
| pypi xgrammar(PyPI) | = 0.1.23 | No fix listed |
| pypi xgrammar(PyPI) | = 0.1.24 | No fix listed |
| pypi xgrammar(PyPI) | = 0.1.25 | No fix listed |
| pypi xgrammar(PyPI) | = 0.1.26 | No fix listed |
| pypi xgrammar(PyPI) | = 0.1.27 | No fix listed |
| pypi xgrammar(PyPI) | = 0.1.29 | No fix listed |
| pypi xgrammar(PyPI) | = 0.1.30 | No fix listed |
| pypi xgrammar(PyPI) | = 0.1.31 | No fix listed |
| pypi xgrammar(PyPI) | = 0.1.6 | No fix listed |
| pypi xgrammar(PyPI) | = 0.1.7 | No fix listed |
| pypi xgrammar(PyPI) | = 0.1.8 | No fix listed |
| pypi xgrammar(PyPI) | = 0.1.9 | No fix listed |
Show 33 more
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi xgrammar(PyPI) | = 0.1.14 | No fix listed |
| pypi xgrammar(PyPI) | = 0.1.15 | No fix listed |
| pypi xgrammar(PyPI) | = 0.1.16 | No fix listed |
| pypi xgrammar(PyPI) | = 0.1.2 | No fix listed |
| pypi xgrammar(PyPI) | = 0.1.28 | No fix listed |
| pypi xgrammar(PyPI) | = 0.1.3 | No fix listed |
| pypi xgrammar(PyPI) | = 0.1.4 | No fix listed |
| pypi xgrammar(PyPI) | = 0.1.4rc2 | No fix listed |
| pypi xgrammar(PyPI) | = 0.1.5 | No fix listed |
| pypi xgrammar(PyPI) | = 0.1.5rc1 | No fix listed |
| mlc-ai xgrammar | = < 0.1.32 | No fix listed |
| redhat ai inference server | < 1774351144 | 1774351144 |
| redhat ai inference server | < 1774547384 | 1774547384 |
| redhat ai inference server | < 1775252598 | 1775252598 |
| redhat openshift ai | < 1780069069 | 1780069069 |
| redhat openshift ai | < 1783998774 | 1783998774 |
| redhat openshift ai | < 1783998857 | 1783998857 |
| redhat ai inference server | All versions | No fix listed |
| redhat enterprise linux ai | All versions | No fix listed |
| redhat openshift ai | All versions | No fix listed |
| pypi xgrammar(PyPI) | <= 0.1.31 | No fix listed |
| redhat/rhaiis/vllm-cuda-rhel9:1774351144(Red Hat:ai_inference_server:3.2::el9) | All versions | No fix listed |
| redhat/rhaiis/model-opt-cuda-rhel9:1774547384(Red Hat:ai_inference_server:3.2::el9) | All versions | No fix listed |
| redhat/rhaiis/vllm-rocm-rhel9:1775252598(Red Hat:ai_inference_server:3.2::el9) | All versions | No fix listed |
| redhat/rhoai/odh-vllm-gaudi-rhel9:1780069069(Red Hat:openshift_ai:2.25::el9) | All versions | No fix listed |
| redhat/rhoai/odh-vllm-cuda-rhel9:1783998774(Red Hat:openshift_ai:2.25::el9) | All versions | No fix listed |
| redhat/rhoai/odh-vllm-rocm-rhel9:1783998857(Red Hat:openshift_ai:2.25::el9) | All versions | No fix listed |
| redhat/rhaiis/vllm-tpu-rhel9(Red Hat:ai_inference_server:3) | All versions | No fix listed |
| redhat/rhelai3/bootc-aws-cuda-rhel9(Red Hat:enterprise_linux_ai:3) | All versions | No fix listed |
| redhat/rhelai3/bootc-azure-cuda-rhel9(Red Hat:enterprise_linux_ai:3) | All versions | No fix listed |
| redhat/rhelai3/bootc-cuda-rhel9(Red Hat:enterprise_linux_ai:3) | All versions | No fix listed |
| redhat/rhelai3/bootc-gcp-cuda-rhel9(Red Hat:enterprise_linux_ai:3) | All versions | No fix listed |
| mlc-ai xgrammar | < 0.1.32 | 0.1.32 |
References
- https://github.com/mlc-ai/xgrammar/security/advisories/GHSA-7rgv-gqhr-fxg3 exploit vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com product
- https://github.com/mlc-ai/xgrammar/releases/tag/v0.1.32 release-notes vendor-advisory
- Red Hat CVE page mitigation vdb-entry vendor-advisory
- security.access.redhat.com
- RHSA-2026:24977 patch vendor-advisory
- RHSA-2026:5809 patch vendor-advisory
- RHSA-2026:6761 patch vendor-advisory
- RHSA-2026:6762 patch vendor-advisory
- RHBZ#2444840 issue-tracking
- RHSA-2026:42644 patch vendor-advisory
- github.com
- www.cve.org
- Debian Security Tracker CVE-2026-25048 vendor-advisory