{
  "id": "CVE-2026-25048",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-25048",
  "published_at": "2026-03-05T15:34:42.095Z",
  "title": "xgrammar: Multi-layer nesting causes DoS",
  "vendor": "mlc-ai",
  "product": "xgrammar",
  "cvss": {
    "score": 8.7,
    "source": "cna",
    "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"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "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.",
  "cwe": "CWE-674",
  "cpes": [
    "cpe:2.3:a:mlc-ai:xgrammar:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 8.7,
    "nvd": 7.5
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "mlc-ai",
        "product": "xgrammar",
        "ranges": [
          "\u003c 0.1.32"
        ],
        "fixed_in": [
          "0.1.32"
        ]
      }
    ],
    "upgrade": [
      "Upgrade xgrammar to 0.1.32 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/mlc-ai/xgrammar/security/advisories/GHSA-7rgv-gqhr-fxg3"
      },
      {
        "kind": "Release notes",
        "url": "https://github.com/mlc-ai/xgrammar/releases/tag/v0.1.32"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
