CPANSA-Imager-File-GIF-2026-112202: Imager-File-GIF vulnerability
| Publisher | giterlizzi | Document category | csaf_security_advisory |
|---|---|---|---|
| Initial release date | 2026-10-20T00:00:00 | Engine | CSAF Perl Toolkit 0.26 |
| Current release date | 2026-10-20T00:00:00 | Build Date | |
| Current version | 1 | Status | final |
| CVSS v3.1 Base Score | Severity | ||
| Original language | Language | en | |
| Also referred to | |||
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.
Vulnerabilities
CVE-2026-112202
Vulnerability DescriptionImager::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.
| Weakness | CWE-125 : Out-of-bounds Read |
|---|
Product status
Known affected
| Product | Score | ||||
|---|---|---|---|---|---|
| Imager-File-GIF less than 1.006 |
|
Fixed
- Imager-File-GIF greater than or equal 1.006
giterlizzi
Namespace: https://github.com/giterlizzi/
gdt@cpan.org
References
- CPANSA-Imager-File-GIF-2026-112202 JSON self
https://raw.githubusercontent.com/giterlizzi/perl-CPANSA-CSAF/develop/csaf/white/2026/cpansa-imager-file-gif-2026-112202.json - https://github.com/tonycoz/imager/commit/dec96f12b3d8a7fd94e86264953a5e4919dd6036.patch external
https://github.com/tonycoz/imager/commit/dec96f12b3d8a7fd94e86264953a5e4919dd6036.patch - https://github.com/tonycoz/imager/security/advisories/GHSA-v4hp-5h6w-9897 external
https://github.com/tonycoz/imager/security/advisories/GHSA-v4hp-5h6w-9897 - https://metacpan.org/release/TONYC/Imager-1.040/changes external
https://metacpan.org/release/TONYC/Imager-1.040/changes - https://metacpan.org/release/TONYC/Imager-File-GIF-1.006/changes external
https://metacpan.org/release/TONYC/Imager-File-GIF-1.006/changes - http://www.openwall.com/lists/oss-security/2026/10/21/1 external
http://www.openwall.com/lists/oss-security/2026/10/21/1 - CVE-2026-112202 (NVD) external
https://nvd.nist.gov/vuln/detail/CVE-2026-112202
Revision history
| Version | Date of the revision | Summary of the revision |
|---|---|---|
| 1 | Tue Oct 20 00:00:00 2026 | First release |
Sharing rules
TLP:WHITE
For the TLP version see: https://www.first.org/tlp/