CVE-2026-112202
published medium CVSS 3.1 · 6.5Imager::File::GIF versions before 1.006 for Perl allow out-of-bounds reads when consolidating GIF images
Package status and fixes
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 6.5 / 10
- Severity
- medium
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Imager-File-GIF | 0 to < 1.006 (affected · custom)Default: unaffected | CPANSec · cna | |
| Imager | 0 to < 1.040 (affected · custom)Default: unaffected | CPANSec · cna |
Weaknesses
1- CWE-125 CWE-125 Out-of-bounds Read
References
5- http://www.openwall.com/lists/oss-security/2026/10/21/1
- https://github.com/tonycoz/imager/commit/dec96f12b3d8a7fd94e86264953a5e4919dd6036.patch
- 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
Provider assertions
3CPANSec · cna
Imager::File::GIF versions before 1.006 for Perl allow out-of-bounds reads when consolidating GIF images
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- a27ffc6e1a405bef2f0cfe2e0569eae744ab534cdd7093d0718093f318784d2f
- Ingested
- 30 Oct 2026, 13:15:29 UTC
- Source record
- Official CVE record