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

- Severity: Medium 6.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N`
- 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.32%, higher than 27% of CVEs (2026-12-01)
- Published: 2026-05-15T13:31:14.449Z
- Modified: 2026-10-26T14:10:00.130Z
- Weaknesses: CWE-787
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- 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.

(As written by CVE List.)

## Affected

- Imager: up to 1.030

## References

- <https://metacpan.org/release/TONYC/Imager-1.031/source/Changes> (release-notes)
- <https://github.com/tonycoz/imager/commit/782e9c06cc75a0f7eed383f39522f51f44598b04.patch> (patch)
- <http://www.openwall.com/lists/oss-security/2026/05/15/17>

## Sources

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

---

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