PyPI/xgrammar CVE-2025-32381: medium 6.5, EPSS 0.52%
XGrammar is an open-source library for efficient, flexible, and portable structured generation. Prior to 0.1.18, Xgrammar includes a cache for compiled grammars to increase performance with repeated u
Action: Upgrade xgrammar to 0.1.18 or later.
pip install xgrammar==0.1.18Affected
| introduced | fixed | last affected |
|---|---|---|
| 0 | 0.1.18 | - |
Fixed versions
| 0.1.18 |
Sources
- osv: PYSEC-2025-235
- https://github.com/mlc-ai/xgrammar/security/advisories/GHSA-389x-67px-mjg3
- https://github.com/mlc-ai/xgrammar/pull/243
- https://github.com/vllm-project/vllm/pull/16283
CVE-2025-32381 · published · modified · JSON