What’s Vulnerable › Vulnerabilities
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
- Severity: medium (CVSS 5.3 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-05-15 · updated 2026-10-26
- Weakness: CWE-787
Description
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.
Affected products
- TONYC Imager::File::Gif: before 1.003 — fixed in 1.003
How to fix
Upgrade to a fixed version: TONYC Imager::File::Gif 1.003. Check the vendor advisory for mitigations.
References
- https://github.com/tonycoz/imager/commit/782e9c06cc75a0f7eed383f39522f51f44598b04.patch
- https://metacpan.org/release/TONYC/Imager-File-GIF-1.003/source/Changes
- http://www.openwall.com/lists/oss-security/2026/05/15/15
Get alerted when CVE-2026-8454 or the next vulnerability affects your stack