CVE-2026-112202
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.
How to fix
- Imager1.040 or later
- Imager-File-GIF1.006 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| Imager | v < 1.040 | 1.040 |
| Imager-File-GIF | v < 1.006 | 1.006 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.