Imager::File::GIF versions before 1.006 for Perl allow out-of-bounds reads when consolidating GIF images. With `gif_consolidate => 1`, palette indices from the image are used without checking the colour table's bounds. The i_readgif_low routine reads beyond the heap allocation and copies the bytes into output pixels. The default GIF reader is not affected. The same code ships bundled in the Imager distribution. An attacker supplying a crafted GIF can disclose adjacent heap memory through the decoded output and may crash the process.
Fix
Nothing published yet: no patch, vendor advisory or mitigation reference on NVD, no vendor advisory in the News for this CVE, not in CISA's KEV, no fixed package version. BaselineWatch does not guess at one.
Change history 6
- StatusPublished → Awaiting AnalysisNVD modified 2026-10-22 17:21
- StatusReceived → PublishedNVD modified 2026-10-21 02:11
- References+1 references (now 5)NVD modified 2026-10-21 03:17
- StatusPublished → ReceivedNVD modified 2026-10-21 03:17
- StatusReceived → PublishedNVD modified 2026-10-20 22:37
- First seenunscoredNVD modified 2026-10-20 23:17
Affected (CPE criteria) 0
NVD has not attached CPE configurations yet.
References 5
- https://github.com/tonycoz/imager/commit/dec96f12b3d8a7fd94e86264953a5e4919dd6036.patch
- https://github.com/tonycoz/imager/security/advisories/GHSA-v4hp-5h6w-9897
- https://metacpan.org/release/TONYC/Imager-1.040/changes
- https://metacpan.org/release/TONYC/Imager-File-GIF-1.006/changes
- http://www.openwall.com/lists/oss-security/2026/10/21/1