Vulnerability
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.
9 advisories report this vulnerability, across 2 ecosystems.
Advisories
- CGA-3w5x-wgwr-2gfv
- CGA-4hwq-hwvh-3hm4
- CGA-4w5q-24rr-qx7g
- CGA-5xv7-4c94-9cph
- CGA-hrhv-fw2q-mgrw
- CGA-qf4f-x5r2-49gw
- CGA-x5hr-xgm6-p2g8
-
GHSA-7rgv-gqhr-fxg3
xgrammar vulnerable to DoS via multi-layer nesting
-
PYSEC-2026-2322
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…
References
- https://github.com/mlc-ai/xgrammar/releases/tag/v0.1.32
- https://github.com/mlc-ai/xgrammar/security/advisories/GHSA-7rgv-gqhr-fxg3
- https://access.redhat.com/errata/RHSA-2026:24977
- https://access.redhat.com/errata/RHSA-2026:42644
- https://access.redhat.com/errata/RHSA-2026:5809
- https://access.redhat.com/errata/RHSA-2026:6761
- https://access.redhat.com/errata/RHSA-2026:6762
- 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