Amenazas en vivo

Todas las CVE / Python

CVE-2026-112900Python Pillow

Inyección de argumentos en Pillow al procesar archivos EPS con Ghostscript

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-78, CWE-88
SSVC (CISA)
Explotación: ninguna · Automatizable: sí · Impacto técnico: total
Vector
CVSS:4.0/AV:N/AC:L/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.6.0 a 12.x.x son vulnerables a inyección de argumentos en EpsImagePlugin.Ghostscript cuando procesan archivos EPS. Un atacante que controle el nombre del archivo puede inyectar opciones de Ghostscript; con un nombre que comience con @ y control del archivo referenciado, es posible lograr ejecución arbitraria de comandos incluso con -dSAFER habilitado.

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

Pillow is a Python imaging library. From 2.6.0 until 13.0.0, Pillow is vulnerable to argument injection when invoking Ghostscript for EPS input. EpsImagePlugin.Ghostscript passes a caller-controlled input filename after -f without converting it to a safe absolute path, so a name beginning with a hyphen can be interpreted as a Ghostscript option. An attacker who controls the filename can inject Ghostscript arguments. Arbitrary command execution specifically requires a leading @ argument-file filename and control of the referenced text file containing additional Ghostscript arguments; the reported chain reproduces with the default -dSAFER invocation. 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.6.0 < 13.0.0 13.0.0 pip install "pillow>=13.0.0"

Según OSV / GitHub Advisories (GHSA-w889-685w-c8fh). Verifica la versión en tu lockfile antes de actualizar.

Productos afectados (CPE)

FabricanteProductoVersiones
pythonpillow≥ 2.6.0 < 13.0.0

Boletines oficiales

Además: Red Hat (+1), 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.