HighVulnerability
GHSA-5cmr-4px5-23pc: XGrammar affected by Denial of Service by infinite recursion grammars
- Identifiers
- CVE-2025-57809GHSA-5cmr-4px5-23pc
- Published
- Record updated
- Affected
- xgrammar < 0.1.21
- Fixed in
- 0.1.21
- Known exploitation
- Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
- EPSS
- 0.5%Estimated probability that this CVE is exploited in the next 30 days, from the FIRST Exploit Prediction Scoring System. Read on .
Summary
The XGrammar project's advisory GHSA-5cmr-4px5-23pc concerns a denial of service caused by infinite recursion in grammars. The reporter argues it should receive its own security advisory, since several tools pass user-supplied grammars to xgrammar and the issue is easy to trigger.
Mitigation
The source does not state a fix yet. Check the original advisory for updates.
Affected packages in the Exposure Registry
Matched by package name and ecosystem. Each entry shows whether the package delegates to a language model and how many tracked packages depend on it.
- xgrammarPyPILLM dependency since 2024-11-22, 3 tracked dependents
Related items
- MediumCVE-2026-143823: MLflow denial of service via regex backtracking in skill registration errorsSimilar attack, NVD/CVE Database
- MediumAutonomous AI attack targeted Perplexity to steal cloud credentialsSimilar attack, BleepingComputer
- HighCVE-2026-76813: CKAN MCP Server denial of service through unbounded response decompressionSimilar attack, NVD/CVE Database
- MediumCVE-2026-142225: Bytebase DBHub regular expression denial of service via search_objectsSimilar attack, NVD/CVE Database
- HighCVE-2026-59345: ExtractedTextFormatter denial of service when processing untrusted document textSimilar attack, NVD/CVE Database