Home

Description

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.

PUBLISHED Reserved 2026-05-15 | Published 2026-05-15 | Updated 2026-05-15 | Assigner CPANSec

Problem types

CWE-787 Out-of-bounds Write

Product status

Default status
unaffected

Any version
affected

Timeline

2026-05-12:Issue identified
2026-05-13:Issue reported to maintainer
2026-05-14:Maintainer acknowledged the report
2026-05-15:Fixed version released

References

www.openwall.com/lists/oss-security/2026/05/15/17

metacpan.org/release/TONYC/Imager-1.031/source/Changes release-notes

github.com/...782e9c06cc75a0f7eed383f39522f51f44598b04.patch patch

cve.org (CVE-2026-8669)

nvd.nist.gov (CVE-2026-8669)

Download JSON