CVE-2025-1194Huggingface Transformers
Media 6.5 Sin autenticación
Seguir: esta CVE · Huggingface · Huggingface Transformers Te avisamos por email o Slack (requiere cuenta).
- Prioridad
- 54
- CVSS 3.1
- 6.5
- EPSS
- 0.7% probabilidad de explotación en 30 días · percentil 47
- Requiere autenticación
- No
- Publicada
- 29 abr 2025
- Actualizada
- 17 jun 2026
- Categoría
- Aplicación · Multiplataforma
- Debilidad (CWE)
- CWE-1333
- SSVC (CISA)
- Explotación: prueba de concepto · Automatizable: no · Impacto técnico: parcial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Qué pasa
A Regular Expression Denial of Service (ReDoS) vulnerability was identified in the huggingface/transformers library, specifically in the file `tokenization_gpt_neox_japanese.py` of the GPT-NeoX-Japanese model. The vulnerability occurs in the SubWordJapaneseTokenizer class, where regular expressions process specially crafted inputs. The issue stems from a regex exhibiting exponential complexity under certain conditions, leading to excessive backtracking. This can result in high CPU usage and potential application downtime, effectively creating a Denial of Service (DoS) scenario. The affected version is v4.48.1 (latest).
Qué hacer
- Aplica la actualización de seguridad del fabricante para Transformers.
- Se explota sin autenticación: si no puedes parchear ya, limita el acceso desde Internet al servicio afectado.
Paquetes afectados
| Ecosistema | Paquete | Versiones afectadas | Corregida en | Cómo actualizar |
|---|---|---|---|---|
| PyPI | transformers |
< 4.50.0 |
4.50.0 |
pip install "transformers>=4.50.0" |
| PyPI | transformers |
< 4.50.0 |
4.50.0 |
pip install "transformers>=4.50.0" |
Según OSV / GitHub Advisories (GHSA-fpwr-67px-3qhx, PYSEC-2026-1984). Verifica la versión en tu lockfile antes de actualizar.
Productos afectados (CPE)
| Fabricante | Producto | Versiones |
|---|---|---|
| huggingface | transformers | < 4.50.0 |
Fuentes oficiales
Referencias
Enlaces publicados por las fuentes. Ábrelos con criterio.
- github.com Patch
- huntr.com Exploit Third Party Advisory