# 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 5.3 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.19%, higher than 9% of CVEs (2026-12-01)
- Published: 2026-05-15T10:57:13.884Z
- Modified: 2026-10-26T14:10:00.130Z
- Weaknesses: CWE-787
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: CPANSec

## 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.

(As written by CVE List.)

## Affected

- Imager-File-GIF: up to 1.002
- tonyc imager::file::gif: before 1.003

## References

- <https://metacpan.org/release/TONYC/Imager-File-GIF-1.003/source/Changes> (release-notes)
- <https://github.com/tonycoz/imager/commit/782e9c06cc75a0f7eed383f39522f51f44598b04.patch> (patch)
- <http://www.openwall.com/lists/oss-security/2026/05/15/15> (mailing-list, third-party-advisory)

## Sources

- CVE List: [CVE-2026-8454](https://www.cve.org/CVERecord?id=CVE-2026-8454), CVE Terms of Use, modified 2026-05-15
- NVD: [CVE-2026-8454](https://nvd.nist.gov/vuln/detail/CVE-2026-8454), Public domain, modified 2026-10-26

---

Page: https://cve.day/CVE-2026-8454 · Whole record: https://cve.day/CVE-2026-8454.json · Rebuilt by cve.day 2026-11-25T22:59:21.808Z
