#1151664 libimager-perl: CVE-2026-112202

Package:
src:libimager-perl
Source:
src:libimager-perl
Submitter:
Salvatore Bonaccorso
Date:
2026-10-22 18:43:02 UTC
Severity:
normal
Tags:
#1151664#5
Date:
2026-10-22 18:41:58 UTC
From:
To:
Hi,

The following vulnerability was published for libimager-perl.

CVE-2026-112202[0]:
| 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.


If you fix the vulnerability please also make sure to include the
CVE (Common Vulnerabilities & Exposures) id in your changelog entry.

For further information see:

[0] https://security-tracker.debian.org/tracker/CVE-2026-112202
https://www.cve.org/CVERecord?id=CVE-2026-112202
[1] https://lists.security.metacpan.org/cve-announce/msg/44514169/
[2] https://github.com/tonycoz/imager/security/advisories/GHSA-v4hp-5h6w-9897
[3] https://github.com/tonycoz/imager/commit/dec96f12b3d8a7fd94e86264953a5e4919dd6036

Please adjust the affected versions in the BTS as needed.

Regards,
Salvatore