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
Seguir: esta CVE · Python · Python Pillow Te avisamos por email o Slack (requiere cuenta).
- 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.
Qué hacer
Hay parche · versiones corregidas: 13.0.0
Actualiza Pillow a versión 13.0.0 o superior.
- Aplica la actualización de seguridad del fabricante para Pillow.
- 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 | 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)
| Fabricante | Producto | Versiones |
|---|---|---|
| python | pillow | ≥ 2.0.0 < 13.0.0 |
Boletines oficiales
- Red Hat Security Advisory: python-pillow security update · Red Hat · RHSA-2026:104721 · 1 dic 2026 Alta
- Red Hat Security Advisory: Satellite 6.17 security update · Red Hat · RHSA-2026:95656 · 23 nov 2026 Crítica
- Red Hat Security Advisory: Satellite 6.18 security update · Red Hat · RHSA-2026:95657 · 23 nov 2026 Crítica
- Security update for python-Pillow · SUSE · SUSE-SU-2026:5194-1 · 11 nov 2026 Crítica
- Security update for python-Pillow · SUSE · SUSE-SU-2026:24701-1 · 5 nov 2026 Crítica
- Security update for python-Pillow · SUSE · openSUSE-SU-2026:22301-1 · 5 nov 2026 Crítica
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.
- github.com Patch
- github.com Release Notes
- github.com Exploit Patch Vendor Advisory