CVE-2026-8454

Imager::File::GIF versions through 1.002 for Perl allow a heap out of bounds (OOB) write on crafted multi-frame GIF files. Imager::File::GIF's i_readgif_multi_low allocates a single per-row buffer GifRow sized for the GIF's global screen width 'SWidth' and reuses it across every image in the file. The page-match branch validates Image.Width + Image.Left > SWidth before each DGifGetLine write, but the parallel skip-image branch at imgif.c:790-805 calls DGifGetLine(GifFile, GifRow, Width) with no such check.
Configurations

Configuration 1 (hide)

cpe:2.3:a:tonyc:imager\:\:file\:\:gif:*:*:*:*:*:perl:*:*

History

26 Oct 2026, 14:10

Type Values Removed Values Added
Summary
  • (es) Las versiones de Imager::File::GIF hasta la 1.002 para Perl permiten una escritura fuera de límites del montón (OOB) en archivos GIF multifotograma manipulados. La función i_readgif_multi_low de Imager::File::GIF asigna un único búfer por fila, GifRow, dimensionado para el ancho de pantalla global del GIF, ’SWidth’, y lo reutiliza en cada imagen del archivo. La rama de coincidencia de página valida que Image.Width + Image.Left > SWidth antes de cada escritura de DGifGetLine, pero la rama paralela de omisión de imagen en imgif.c:790-805 llama a DGifGetLine(GifFile, GifRow, Width) sin dicha verificación.

Information

Published : 2026-05-15 12:17

Updated : 2026-10-26 14:10


NVD link : CVE-2026-8454

Mitre link : CVE-2026-8454

CVE.ORG link : CVE-2026-8454


JSON object : View

Products Affected

tonyc

  • imager\
CWE
CWE-787

Out-of-bounds Write