{"data":{"id":"bc168c77-f81c-49d6-bb76-8565ee977a4e","title":"GHSA-7rgv-gqhr-fxg3: xgrammar vulnerable to DoS via multi-layer nesting","summary":"xgrammar, a structured generation library, is vulnerable to denial of service through multi-layer nesting. A grammar rule containing 30,000 layers of nested parentheses causes a segmentation fault (core dump) in the PoC, which the advisory attributes to stack overflow or memory exhaustion. The reported impact is DoS, with the PoC run against xgrammar version 0.1.31.","solution":"N/A -- no mitigation discussed in source.","labels":["security"],"sourceUrl":"https://github.com/advisories/GHSA-7rgv-gqhr-fxg3","publishedAt":"2026-03-05T18:20:08.000Z","cveId":"CVE-2026-25048","cweIds":["CWE-674"],"cvssScore":null,"cvssSeverity":"high","severity":"high","attackType":["denial_of_service"],"issueType":"vulnerability","affectedPackages":["xgrammar@<= 0.1.31 (fixed: 0.1.32)"],"affectedPackageNames":["xgrammar"],"affectedPackageRefs":["pypi:xgrammar"],"affectedVendors":["HuggingFace"],"affectedVendorsRaw":["xgrammar","Qwen2.5-0.5B-Instruct"],"classifierModel":"claude-haiku-5-5","classifierPromptVersion":"v4","summaryPromptVersion":"v2","headline":null,"headlinePromptVersion":null,"cvssVector":null,"attackVector":null,"attackComplexity":null,"privilegesRequired":null,"userInteraction":null,"exploitMaturity":"unknown","epssScore":0.01351,"epssPercentile":0.72455,"epssCheckedAt":"2026-12-03T19:40:31.490Z","epssHistory":null,"epss30dChange":null,"exploitUrls":["https://github.com/mlc-ai/xgrammar/security/advisories/GHSA-7rgv-gqhr-fxg3"],"patchCommitUrls":null,"ssvcExploitation":"none","nvdStatus":"Modified","referencesCheckedAt":"2026-12-03T19:53:21.756Z","kevDateAdded":null,"advisoryAliases":["GHSA-7rgv-gqhr-fxg3"],"affectedPackagesSource":null,"affectedPackagesCheckedAt":null,"patchAvailable":true,"disclosureDate":"2026-03-05T18:20:08.000Z","fixReleasedAt":null,"daysToFix":null,"fixCheckedAt":null,"capecIds":null,"crossRefCount":0,"attackSophistication":"trivial","impactType":["availability"],"aiComponentTargeted":"framework","llmSpecific":true,"classifierConfidence":0.9,"researchCategory":null,"atlasIds":["AML.T0029"],"openalexId":null,"openalexMatch":null,"openalexCheckedAt":null,"paperAuthors":null,"paperVenue":null,"paperVenueType":null,"paperYear":null,"paperDoi":null,"paperPublished":null,"paperOaUrl":null,"citedByCount":null,"codeUrls":null,"nvdFilled":null,"fixedVersions":["xgrammar@0.1.32"],"affectedPurls":["pkg:pypi/xgrammar"],"owaspLlmIds":["LLM10:2025"],"doi":null,"arxivId":null,"hasPublicExploit":true,"timeline":[{"event":"published","date":"2026-03-05","source":"record_source"}],"provenance":{"fields":{"id":"pipeline","title":"source","summary":"model","solution":"model","labels":"model","sourceUrl":"source","publishedAt":"source","cveId":"source","cweIds":"source","cvssScore":"source","cvssSeverity":"source","severity":"source","attackType":"model","issueType":"source","affectedPackages":"source","affectedPackageNames":"source","affectedPackageRefs":"source","affectedVendors":"model","affectedVendorsRaw":"model","classifierModel":"pipeline","classifierPromptVersion":"pipeline","summaryPromptVersion":"pipeline","headline":"model","headlinePromptVersion":"pipeline","cvssVector":"source","attackVector":"source","attackComplexity":"source","privilegesRequired":"source","userInteraction":"source","exploitMaturity":"source","epssScore":"source","epssPercentile":"source","epssCheckedAt":"pipeline","epssHistory":"source","epss30dChange":"source","exploitUrls":"source","patchCommitUrls":"source","ssvcExploitation":"source","nvdStatus":"source","referencesCheckedAt":"pipeline","kevDateAdded":"source","advisoryAliases":"source","affectedPackagesSource":"pipeline","affectedPackagesCheckedAt":"pipeline","patchAvailable":"source","disclosureDate":"source","fixReleasedAt":"source","daysToFix":"source","fixCheckedAt":"pipeline","capecIds":"source","crossRefCount":"source","attackSophistication":"model","impactType":"model","aiComponentTargeted":"model","llmSpecific":"model","classifierConfidence":"model","atlasIds":"model","openalexId":"source","openalexMatch":"pipeline","openalexCheckedAt":"pipeline","paperAuthors":"source","paperVenue":"source","paperVenueType":"source","paperYear":"source","paperDoi":"source","paperPublished":"source","paperOaUrl":"source","citedByCount":"source","codeUrls":"source","nvdFilled":"pipeline","fixedVersions":"source","affectedPurls":"source","owaspLlmIds":"model","doi":"source","arxivId":"source","hasPublicExploit":"source","timeline":"source"},"model":{"classifier":"claude-haiku-5-5","classifierPromptVersion":"v4","summaryPromptVersion":"v2"}},"fixes":[]}}