Vulnerability · Published May 15, 2026 · Assigned by CPANSec
CVE-2026-8669Imager versions through 1.030 for Perl allow a heap out of bounds (OOB) write on crafted multi-frame GIF files
Medium 6.5
In plain English
A medium-severity out-of-bounds write in Imager from TONYC. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 25% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | libimager-perl | no fix listed | DEBIAN-CVE-2026-8669 |
| Debian:13 | libimager-perl | no fix listed | DEBIAN-CVE-2026-8669 |
| Debian:14 | libimager-perl | 1.031+dfsg-1 | DEBIAN-CVE-2026-8669 |
| Ubuntu:22.04:LTS | libimager-perl | no fix listed | UBUNTU-CVE-2026-8669 |
| Ubuntu:24.04:LTS | libimager-perl | no fix listed | UBUNTU-CVE-2026-8669 |
| Ubuntu:25.10 | libimager-perl | no fix listed | UBUNTU-CVE-2026-8669 |
| Ubuntu:26.04:LTS | libimager-perl | no fix listed | UBUNTU-CVE-2026-8669 |
| Ubuntu:26.10 | libimager-perl | no fix listed | UBUNTU-CVE-2026-8669 |
Affected products (as reported)
Weakness: CWE-787 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N