{"id":"UBUNTU-CVE-2026-8669","details":"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 \u003e 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.","modified":"2026-05-20T22:03:09.964230974Z","published":"2026-05-15T15:16:00Z","upstream":["CVE-2026-8669"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-8669"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-8669"},{"type":"REPORT","url":"https://lists.security.metacpan.org/cve-announce/msg/40083214/"},{"type":"REPORT","url":"https://github.com/tonycoz/imager/commit/782e9c06cc75a0f7eed383f39522f51f44598b04.patch"},{"type":"REPORT","url":"https://metacpan.org/release/TONYC/Imager-1.031/source/Changes"},{"type":"REPORT","url":"http://www.openwall.com/lists/oss-security/2026/05/15/17"}],"affected":[{"package":{"name":"libimager-perl","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/libimager-perl?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.003+dfsg-1","1.004+dfsg-1","1.004+dfsg-1build1"],"ecosystem_specific":{"binaries":[{"binary_name":"libimager-perl","binary_version":"1.004+dfsg-1build1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-8669.json"}},{"package":{"name":"libimager-perl","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/libimager-perl?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.005+dfsg-2build1","1.006+dfsg-1"],"ecosystem_specific":{"binaries":[{"binary_name":"libimager-perl","binary_version":"1.006+dfsg-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-8669.json"}},{"package":{"name":"libimager-perl","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/libimager-perl?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.011+dfsg-1","1.011+dfsg-1build1"],"ecosystem_specific":{"binaries":[{"binary_version":"1.011+dfsg-1build1","binary_name":"libimager-perl"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-8669.json"}},{"package":{"name":"libimager-perl","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/libimager-perl?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.012+dfsg-1build1","1.012+dfsg-2","1.012+dfsg-2build1"],"ecosystem_specific":{"binaries":[{"binary_version":"1.012+dfsg-2build1","binary_name":"libimager-perl"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-8669.json"}},{"package":{"name":"libimager-perl","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/libimager-perl?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.019+dfsg-2","1.020+dfsg-1","1.022+dfsg-1","1.023+dfsg-1","1.023+dfsg-1build1","1.023+dfsg-1build2"],"ecosystem_specific":{"binaries":[{"binary_name":"libimager-perl","binary_version":"1.023+dfsg-1build2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-8669.json"}},{"package":{"name":"libimager-perl","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/libimager-perl?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.027+dfsg-1"],"ecosystem_specific":{"binaries":[{"binary_name":"libimager-perl","binary_version":"1.027+dfsg-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-8669.json"}},{"package":{"name":"libimager-perl","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/libimager-perl?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.027+dfsg-1","1.029+dfsg-1"],"ecosystem_specific":{"binaries":[{"binary_name":"libimager-perl","binary_version":"1.029+dfsg-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-8669.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N"},{"type":"Ubuntu","score":"medium"}]}