Amenazas en vivo

Todas las CVE / Python

CVE-2026-112393Python Pillow

Desbordamiento de búfer y divulgación de memoria en Pillow al guardar TIFF comp…

Crítica 9.2 Sin autenticación

Prioridad
70
CVSS 4.0
9.2
EPSS
—
Requiere autenticación
No
Publicada
19 oct 2026
Actualizada
26 oct 2026
Categoría
Aplicación · Multiplataforma
Debilidad (CWE)
CWE-122
SSVC (CISA)
Explotación: prueba de concepto · Automatizable: no · Impacto técnico: total
Vector
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

Qué pasa

Pillow versiones 2.0.0 a 12.x contienen un desbordamiento de búfer en la función _tiffWriteProc al guardar datos TIFF comprimidos en objetivos sin descriptor de archivo válido (como BytesIO). Un atacante puede enviar un archivo TIFF malformado con etiquetas TIFF controladas o perfiles ICC para causar un desbordamiento de memoria, potencialmente logrando ejecución de código o causando un bloqueo del proceso.

Ver el texto original de NVD (en inglés)

Pillow is a Python imaging library. From 2.0.0 until 13.0.0, Pillow has a heap buffer overflow and stale-heap disclosure in _tiffWriteProc when saving compressed TIFF data through libtiff to a target without a usable fileno(), such as BytesIO. The callback sizes its allocation from the prior buffer size instead of the current write position, allowing an attacker-controlled out-of-line TIFF tag or retained ICC profile to be copied beyond the allocation after libtiff seeks forward. This overflow can crash the process and may allow code execution. Independently, unwritten alignment gaps in compressed TIFF output larger than 64 KiB can disclose stale heap bytes without a crafted tag. File paths and targets with real file descriptors are unaffected. This issue is fixed in version 13.0.0.

Texto de la fuente, sin modificar. NVD.

Qué hacer

Hay parche · versiones corregidas: 13.0.0

Actualiza Pillow a versión 13.0.0 o superior.

Aviso del fabricante · github.com ↗

  1. Aplica la actualización de seguridad del fabricante para Pillow.
  2. Se explota sin autenticación: si no puedes parchear ya, limita el acceso desde Internet al servicio afectado.

Paquetes afectados

EcosistemaPaqueteVersiones afectadasCorregida enCómo actualizar
PyPI pillow ≥ 2.0.0 < 13.0.0 13.0.0 pip install "pillow>=13.0.0"

Según OSV / GitHub Advisories (GHSA-332p-7hrc-92wf). Verifica la versión en tu lockfile antes de actualizar.

Productos afectados (CPE)

FabricanteProductoVersiones
pythonpillow≥ 2.0.0 < 13.0.0

Boletines oficiales

Además: Red Hat (+7), SUSE (+3)

Avisos de fabricantes, CERT y distribuciones que nombran esta CVE. Títulos sin modificar.

Fuentes oficiales

Referencias

Enlaces publicados por las fuentes. Ábrelos con criterio.