{"id":"CVE-2026-8454","state":"PUBLISHED","title":"Imager::File::GIF versions through 1.002 for Perl allow a heap out of bounds (OOB) write on crafted multi-frame GIF files","description":"Imager::File::GIF versions through 1.002 for Perl allow a heap out of bounds (OOB) write on crafted multi-frame GIF files.\n\nImager::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.\n\nThe 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.","publishedAt":"2026-05-15T10:57:13.884Z","updatedAt":"2026-05-15T21:23:30.040Z","severity":{"score":5.3,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L","source":"CISA-ADP"},"assigner":"CPANSec","products":["TONYC Imager::File::GIF"],"affected":[{"vendor":"TONYC","product":"Imager::File::GIF","packageName":"Imager-File-GIF","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThanOrEqual":"1.002","versionType":"custom"}],"collectionURL":"https://cpan.org/modules","programFiles":["GIF/imgif.c"],"programRoutines":[{"name":"Imager::File::GIF::i_readgif_multi_low"}],"repo":"https://github.com/tonycoz/imager"}],"references":["https://metacpan.org/release/TONYC/Imager-File-GIF-1.003/source/Changes","https://github.com/tonycoz/imager/commit/782e9c06cc75a0f7eed383f39522f51f44598b04.patch","http://www.openwall.com/lists/oss-security/2026/05/15/15"],"weaknesses":["CWE-787"],"ingestedAt":"2026-10-29T20:13:26.108Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/8xxx/CVE-2026-8454.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-8454","state":"PUBLISHED","datePublished":"2026-05-15T10:57:13.884Z","dateUpdated":"2026-05-15T21:23:30.040Z","assignerShortName":"CPANSec","assignerOrgId":"9b29abf9-4ab0-4765-b253-1875cd9b441e","dateReserved":"2026-05-13T02:02:58.825Z"},"containers":{"cna":{"title":"Imager::File::GIF versions through 1.002 for Perl allow a heap out of bounds (OOB) write on crafted multi-frame GIF files","descriptions":[{"lang":"en","value":"Imager::File::GIF versions through 1.002 for Perl allow a heap out of bounds (OOB) write on crafted multi-frame GIF files.\n\nImager::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.\n\nThe 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":[{"vendor":"TONYC","product":"Imager::File::GIF","packageName":"Imager-File-GIF","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThanOrEqual":"1.002","versionType":"custom"}],"collectionURL":"https://cpan.org/modules","programFiles":["GIF/imgif.c"],"programRoutines":[{"name":"Imager::File::GIF::i_readgif_multi_low"}],"repo":"https://github.com/tonycoz/imager"}],"references":[{"url":"https://metacpan.org/release/TONYC/Imager-File-GIF-1.003/source/Changes","tags":["release-notes"]},{"url":"https://github.com/tonycoz/imager/commit/782e9c06cc75a0f7eed383f39522f51f44598b04.patch","tags":["patch"]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-787","description":"CWE-787 Out-of-bounds Write","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"CPANSec","orgId":"9b29abf9-4ab0-4765-b253-1875cd9b441e","dateUpdated":"2026-05-15T13:38:52.687Z"},"solutions":[{"lang":"en","value":"Upgrade to Imager::File::GIF 1.003."}],"source":{"discovery":"UNKNOWN"},"timeline":[{"lang":"en","time":"2026-05-12T00:00:00.000Z","value":"Issue identified"},{"lang":"en","time":"2026-05-13T00:00:00.000Z","value":"Issue reported to maintainer"},{"lang":"en","time":"2026-05-14T00:00:00.000Z","value":"Maintainer acknowledged the report"},{"lang":"en","time":"2026-05-15T00:00:00.000Z","value":"Fixed version released"}],"x_generator":{"engine":"cpansec-cna-tool 0.1"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"cvssV3_1":{"scope":"UNCHANGED","version":"3.1","baseScore":5.3,"attackVector":"LOCAL","baseSeverity":"MEDIUM","vectorString":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L","integrityImpact":"LOW","userInteraction":"REQUIRED","attackComplexity":"LOW","availabilityImpact":"LOW","privilegesRequired":"NONE","confidentialityImpact":"LOW"}},{"other":{"type":"ssvc","content":{"timestamp":"2026-05-15T14:24:00.591482Z","id":"CVE-2026-8454","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-05-15T14:26:44.905Z"}},{"title":"CVE Program Container","references":[{"url":"http://www.openwall.com/lists/oss-security/2026/05/15/15"}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2026-05-15T21:23:30.040Z"}}]}}}