CVE-2025-32381
2 advisories.
PyPI/xgrammar CVE-2025-32381: medium 6.5, EPSS 0.51%
xgrammar Vulnerable to Denial of Service (DoS) by abusing unbounded cache in memory
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: GHSA-389x-67px-mjg3
- https://github.com/mlc-ai/xgrammar/security/advisories/GHSA-389x-67px-mjg3
- https://nvd.nist.gov/vuln/detail/CVE-2025-32381
- https://github.com/mlc-ai/xgrammar/pull/243
- https://github.com/vllm-project/vllm/pull/16283
- https://github.com/mlc-ai/xgrammar
- https://github.com/pypa/advisory-database/tree/main/vulns/xgrammar/PYSEC-2025-235.yaml
CVE-2025-32381 · published · modified · JSON
PyPI/xgrammar CVE-2025-32381: medium 6.5, EPSS 0.51%
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