CISA list

● PyPI package

xgrammar

Xgrammar has four security advisories. The newest release any of them names as the fix is 0.1.32.

As of , xgrammar has four security advisories. The newest release any of them names as the fix is 0.1.32.

Your version, and the version to upgrade to

Find the row your installed version falls in. The second column is the first release after it that none of the advisories lists as affected; a release outside every row is one no advisory lists. That is what the advisories say, not a promise that a release is free of flaws.
If you runUpgrade toAdvisories
Before 0.1.320.1.324 advisories

Security advisories, newest first

Security advisories, newest first
AdvisoryWhat it isAffectsFixed inPublished
CVE-2026-25048GHSA-7rgv-gqhr-fxg3, PYSEC-2026-2322xgrammar vulnerable to DoS via multi-layer nestingHigh severityBefore 0.1.320.1.32
CVE-2025-58446GHSA-9q5r-wfvf-rr7f, PYSEC-2026-2055xgrammar vulnerable to denial of service by huge enum grammarModerate severityFrom 0.1.23 before 0.1.240.1.24
CVE-2025-57809GHSA-5cmr-4px5-23pc, PYSEC-2026-2054XGrammar affected by Denial of Service by infinite recursion grammarsHigh severityBefore 0.1.210.1.21
CVE-2025-32381GHSA-389x-67px-mjg3, PYSEC-2025-235xgrammar Vulnerable to Denial of Service (DoS) by abusing unbounded cache in memoryModerate severityBefore 0.1.180.1.18

Other PyPI packages

Sources
  • Package advisories from the GitHub Advisory Database (CC BY 4.0). Version ranges are reworded as sentences (source). Licence: CC BY 4.0
  • Package advisories from the PyPA advisory database (CC BY 4.0). Version ranges are reworded as sentences (source). Licence: CC BY 4.0