Vulnerability Description
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.
CVSS Score
MEDIUM
Related Weaknesses (CWE)
References
- https://github.com/tonycoz/imager/commit/dec96f12b3d8a7fd94e86264953a5e4919dd603
- 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
FAQ
What is CVE-2026-112202?
CVE-2026-112202 is a vulnerability with a CVSS score of 6.5 (MEDIUM). 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 col...
How severe is CVE-2026-112202?
CVE-2026-112202 has been rated MEDIUM with a CVSS base score of 6.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-112202?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.