CVE-2026-112202
Severity not reportedImager::File::GIF versions before 1.006 for Perl allow out-of-bounds reads when consolidating GIF images.
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.
Affected products
Not reported by the source (unknown — not "none").
Weakness classification (CWE)
Source: NVD / CISA. “NVD-CWE-Other” and “NVD-CWE-noinfo” mean NVD could not assign a specific weakness.
Mitigation & advisories
No vendor advisory or patch reference tagged by NVD. Check the references below.
References
- https://github.com/tonycoz/imager/commit/dec96f12b3d8a7fd94e86264953a5e4919dd6036.patch 9b29abf9-4ab0-4765-b253-1875cd9b441e
- https://github.com/tonycoz/imager/security/advisories/GHSA-v4hp-5h6w-9897 9b29abf9-4ab0-4765-b253-1875cd9b441e
- https://metacpan.org/release/TONYC/Imager-1.040/changes 9b29abf9-4ab0-4765-b253-1875cd9b441e
- https://metacpan.org/release/TONYC/Imager-File-GIF-1.006/changes 9b29abf9-4ab0-4765-b253-1875cd9b441e
- http://www.openwall.com/lists/oss-security/2026/10/21/1 af854a3a-2127-422b-91ae-364da2661108
