Skip to content
OpenAdvisories
Medium · 6.5 CVE-2026-8669 EUVD-2026-30541GHSA-6275-mpwc-pq3g

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

Published May 15, 2026 · Updated May 15, 2026 · Assigned by CPANSec

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.

Affected products

VendorProductAffectedFixed
TONYC Imager ≤ 1.030 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 libimager-perl 1.031+dfsg-1 —
Debian 13 libimager-perl No fix yet —
Debian 12 libimager-perl No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 libimager-perl No fix yet —
Ubuntu 26.04 LTS libimager-perl No fix yet —
Ubuntu 25.10 libimager-perl No fix yet —
Ubuntu 24.04 LTS libimager-perl No fix yet —
Ubuntu 22.04 LTS libimager-perl No fix yet —
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 20.04 LTS libimager-perl No fix yet —
Ubuntu 18.04 LTS libimager-perl No fix yet —
Ubuntu 16.04 LTS libimager-perl No fix yet —

References