Amenazas en vivo

Todas las CVE

CVE-2026-73639

Desbordamiento de búfer en Imager::File::PNG al leer PNG con transparencia

Crítica 9.1 Sin autenticación

Prioridad
70
CVSS 3.1
9.1
EPSS
—
Requiere autenticación
No
Publicada
17 sep 2026
Actualizada
22 sep 2026
Categoría
Aplicación · Multiplataforma
Debilidad (CWE)
CWE-787
SSVC (CISA)
Explotación: ninguna · Automatizable: sí · Impacto técnico: parcial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H

Qué pasa

Imager::File::PNG versiones 1.003 a 1.003 contienen un desbordamiento de búfer al procesar archivos PNG con chunk tRNS (transparencia). La función read_direct8() asigna un búfer insuficiente cuando se añade un canal alfa, permitiendo que libpng escriba más allá del límite de memoria. Un atacante puede enviar un PNG malformado para corromper el heap y causar un crash del proceso.

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

Imager::File::PNG versions from 1.003 before 1.004 for Perl write past the end of the row buffer reading a PNG with a tRNS transparency chunk in read_direct8. With a tRNS chunk, read_direct8() adds an alpha channel to the image it creates but still sizes the row buffer from the original channel count. libpng expands the transparency into that extra channel, so png_read_row() fills one channel more than the buffer holds, at one byte per sample, and writes width bytes past the end of the allocation. Palette images go to read_paletted() and 16-bit images to read_direct16(), which sizes its buffer from png_get_rowbytes() and allocates enough for the expanded row. The same reader ships bundled in the Imager distribution. Reading an attacker-supplied PNG through Imager->read() corrupts the heap, which can crash the process.

Texto de la fuente, sin modificar. NVD.

Qué hacer

Hay parche · versiones corregidas: 1.004

Actualiza Imager::File::PNG a versión 1.004 o superior, o Imager a versión 1.035 o superior.

Aviso del fabricante · github.com ↗

  1. Revisa si usas alguno de los productos afectados y sigue el aviso del fabricante.
  2. Se explota sin autenticación: si no puedes parchear ya, limita el acceso desde Internet al servicio afectado.

Fuentes oficiales

Referencias

Enlaces publicados por las fuentes. Ábrelos con criterio.