CVE-2026-25048
CVE-2026-25048 · xgrammar: Multi-layer nesting causes DoS
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
CVSS 8.7 · High · EPSS 1.3% · Fix available
- Published
- Updated
Stack: python
Affected products and versions
xgrammar
- Versions
- < 0.1.32: Affected
No fix published
xgrammar PyPI
- Versions
- 0.1.0
- 0.1.1
- 0.1.10
- 0.1.11
- 0.1.12
- 0.1.13
- 0.1.17
- 0.1.18
- 0.1.19
- 0.1.20
- 0.1.21
- 0.1.22
- 0.1.23
- 0.1.24
- 0.1.25
- 0.1.26
- 0.1.27
- 0.1.29
- 0.1.30
- 0.1.31
- 0.1.6
- 0.1.7
- 0.1.8
- 0.1.9
- Affected ranges
- ECOSYSTEM: < 0.1.32
Update to 0.1.32
xgrammar PyPI
- Versions
- 0.1.0
- 0.1.1
- 0.1.10
- 0.1.11
- 0.1.12
- 0.1.13
- 0.1.14
- 0.1.15
- 0.1.16
- 0.1.17
- 0.1.18
- 0.1.19
- 0.1.2
- 0.1.20
- 0.1.21
- 0.1.22
- 0.1.23
- 0.1.24
- 0.1.25
- 0.1.26
- 0.1.27
- 0.1.28
- 0.1.29
- 0.1.3
- 0.1.30
- 0.1.31
- 0.1.4
- 0.1.4rc2
- 0.1.5
- 0.1.5rc1
- 0.1.6
- 0.1.7
- 0.1.8
- 0.1.9
- Affected ranges
- ECOSYSTEM: < 0.1.32
Update to 0.1.32
Original sources
- https://github.com/mlc-ai/xgrammar/security/advisories/GHSA-7rgv-gqhr-fxg3
- https://github.com/mlc-ai/xgrammar/releases/tag/v0.1.32
- https://access.redhat.com/security/cve/CVE-2026-25048
- https://bugzilla.redhat.com/show_bug.cgi?id=2444840
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-25048.json
- https://access.redhat.com/errata/RHSA-2026:6761
- https://access.redhat.com/errata/RHSA-2026:5809
- https://access.redhat.com/errata/RHSA-2026:6762
- https://access.redhat.com/errata/RHSA-2026:42644
- https://access.redhat.com/errata/RHSA-2026:24977
- https://nvd.nist.gov/vuln/detail/CVE-2026-25048