CVE-2025-6051Huggingface Transformers
Media 5.3 Sin autenticación
Seguir: esta CVE · Huggingface · Huggingface Transformers Te avisamos por email o Slack (requiere cuenta).
- Prioridad
- 47
- CVSS 3.0
- 5.3
- EPSS
- —
- Requiere autenticación
- No
- Publicada
- 14 sep 2025
- Actualizada
- 30 sep 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.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Qué pasa
A Regular Expression Denial of Service (ReDoS) vulnerability was discovered in the Hugging Face Transformers library, specifically within the `normalize_numbers()` method of the `EnglishNormalizer` class. This vulnerability affects versions up to 4.52.4 and is fixed in version 4.53.0. The issue arises from the method's handling of numeric strings, which can be exploited using crafted input strings containing long sequences of digits, leading to excessive CPU consumption. This vulnerability impacts text-to-speech and number normalization tasks, potentially causing service disruption, resource exhaustion, and API vulnerabilities.
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.53.0 |
4.53.0 |
pip install "transformers>=4.53.0" |
| PyPI | transformers |
< 4.53.0 |
4.53.0 |
pip install "transformers>=4.53.0" |
Según OSV / GitHub Advisories (GHSA-rcv9-qm8p-9p6j, PYSEC-2026-1988). Verifica la versión en tu lockfile antes de actualizar.
Productos afectados (CPE)
| Fabricante | Producto | Versiones |
|---|---|---|
| huggingface | transformers | 4.52.4 |
Fuentes oficiales
Referencias
Enlaces publicados por las fuentes. Ábrelos con criterio.
- github.com Patch
- huntr.com Exploit Issue Tracking Patch