CVE-2026-8669 PUBLISHED

Imager versions through 1.030 for Perl allow a heap out of bounds (OOB) write on crafted multi-frame GIF files

Assigner: CPANSec
Reserved: 15.05.2026 Published: 15.05.2026 Updated: 15.05.2026

Imager versions through 1.030 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.

Product Status

Vendor TONYC
Product Imager
Versions Default: unaffected
  • affected from 0 to 1.030 (incl.)

Solutions

Upgrade to Imager 1.031.

References

Problem Types

  • CWE-787 Out-of-bounds Write CWE