Amenazas en vivo

Todas las CVE / Python

CVE-2026-112398Python Pillow

Desbordamiento de búfer en decodificador FlashPix JPEG de Pillow

Crítica 9.2 Sin autenticación

Prioridad
70
CVSS 4.0
9.2
EPSS
—
Requiere autenticación
No
Publicada
19 oct 2026
Actualizada
27 oct 2026
Categoría
Aplicación · Multiplataforma
Debilidad (CWE)
CWE-122, CWE-787
SSVC (CISA)
Explotación: prueba de concepto · Automatizable: no · Impacto técnico: total
Vector
CVSS:4.0/AV:N/AC:H/AT:N/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 anterior a 13.0.0 contiene un desbordamiento de búfer en el decodificador FlashPix JPEG que permite escribir datos más allá del búfer asignado. Un atacante puede suministrar un archivo OLE2 FlashPix manipulado que corrompa la memoria del heap y potencialmente ejecute código arbitrario en aplicaciones que procesen archivos no confiables con la dependencia olefile instalada.

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

Pillow is a Python imaging library. Prior to 13.0.0, Pillow's FlashPix JPEG-tile decoder can write decoded scanlines beyond the allocated tile buffer. FlashPix (FPX) JPEG decoding selects raw mode LA with two bytes per pixel, while an unrecognized JPEG mode can be decoded as JCS_UNKNOWN with four components, causing ImagingJpegDecode to write four-component scanlines into the two-byte tile buffer. An attacker can supply a crafted OLE2 FlashPix file to an application with the optional olefile dependency installed that opens or thumbnails untrusted input. This can corrupt heap memory and may allow arbitrary code execution. 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 la 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 < 13.0.0 13.0.0 pip install "pillow>=13.0.0"
PyPI pillow < 13.0.0 13.0.0 pip install "pillow>=13.0.0"

Según OSV / GitHub Advisories (GHSA-5x8w-8jj5-q52h, PYSEC-2026-4330). Verifica la versión en tu lockfile antes de actualizar.

Productos afectados (CPE)

FabricanteProductoVersiones
pythonpillow< 13.0.0

Boletines oficiales

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

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.