CVE-2025-32381Mlc-ai Xgrammar
Media 6.5
Seguir: esta CVE · Mlc-ai · Mlc-ai Xgrammar Te avisamos por email o Slack (requiere cuenta).
- Prioridad
- 39
- CVSS 3.1
- 6.5
- EPSS
- —
- Requiere autenticación
- Sí
- Publicada
- 9 abr 2025
- Actualizada
- 17 jun 2026
- Categoría
- Aplicación · Multiplataforma
- Debilidad (CWE)
- CWE-770
- SSVC (CISA)
- Explotación: ninguna · Automatizable: no · Impacto técnico: parcial
- Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Qué pasa
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 use of the same grammar. This cache is held in memory. Since the cache is unbounded, a system making use of xgrammar can be abused to fill up a host's memory and case a denial of service. For example, sending many small requests to an LLM inference server with unique JSON schemas would eventually cause this denial of service to occur. This vulnerability is fixed in 0.1.18.
Qué hacer
- Aplica la actualización de seguridad del fabricante para Xgrammar.
Paquetes afectados
| Ecosistema | Paquete | Versiones afectadas | Corregida en | Cómo actualizar |
|---|---|---|---|---|
| PyPI | xgrammar |
< 0.1.18 |
0.1.18 |
pip install "xgrammar>=0.1.18" |
| PyPI | xgrammar |
< 0.1.18 |
0.1.18 |
pip install "xgrammar>=0.1.18" |
Según OSV / GitHub Advisories (GHSA-389x-67px-mjg3, PYSEC-2025-235). Verifica la versión en tu lockfile antes de actualizar.
Productos afectados (CPE)
| Fabricante | Producto | Versiones |
|---|---|---|
| mlc-ai | xgrammar | < 0.1.18 |
Fuentes oficiales
Referencias
Enlaces publicados por las fuentes. Ábrelos con criterio.
- github.com Issue Tracking Patch
- github.com Vendor Advisory
- github.com Issue Tracking Patch