{"cve":"CVE-2026-25048","nvd":{"published":"2026-03-05T16:16:15.853","modified":"2026-07-21T12:17:34.860","status":"Modified","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.","cvss_v4":{"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","score":8.7},"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5},"cwes":["CWE-674"],"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"],"products":["mlc-ai:xgrammar"],"source":"nvd","synced_at":"2026-10-19T22:25:53.701907451+00:00"},"epss":{"cve":"CVE-2026-25048","score":0.01321,"percentile":0.70873,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-7rgv-gqhr-fxg3","url":"https://osv.dev/vulnerability/GHSA-7rgv-gqhr-fxg3","summary":"xgrammar vulnerable to DoS via multi-layer nesting","modified":"2026-09-10T03:50:38.008741123Z","packages":[{"ecosystem":"PyPI","name":"xgrammar","purl":"pkg:pypi/xgrammar","ranges":["<0.1.32"],"fixed":["0.1.32"]}]},{"id":"PYSEC-2026-2322","url":"https://osv.dev/vulnerability/PYSEC-2026-2322","summary":"","modified":"2026-07-13T07:15:49.592498840Z","packages":[{"ecosystem":"PyPI","name":"xgrammar","purl":"pkg:pypi/xgrammar","ranges":["<0.1.32"],"fixed":["0.1.32"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}