Out-of-bounds reads in Imager::File::GIF when consolidating GIF images
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- Low · None · Low
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CISA ADP. Fix status from CNA.
Summary
Imager::File::GIF for Perl versions before 1.006 is affected. When gif_consolidate is enabled, palette indices are used without checking the colour table bounds, which causes an out-of-bounds read (CWE-125). An unauthenticated remote attacker who supplies a crafted GIF can disclose adjacent heap memory through the decoded output or crash the process. The same code is bundled in Imager before 1.040.
Written with Claude Haiku 5.5 from the sources below · 2026-11-07
Description from the CNA
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | Imager-File-GIF | before 1.006 | 1.006 | Patch available | CNA |
| — | Imager | before 1.040 | 1.040 | Patch available | CNA |
- Imager-File-GIF Vendor— Affected before 1.006 Fixed in 1.006 Patch available CNA
- Imager Vendor— Affected before 1.040 Fixed in 1.040 Patch available CNA
Remediation
Update Imager-File-GIF to version 1.006 and Imager to version 1.040.
Written with Claude Haiku 5.5 from the sources below · 2026-11-07
- Fix · CNA Imager-File-GIF Fixed in 1.006
- Fix · CNA Imager Fixed in 1.040
Vendor assessments
Timeline
- 2026-10-21 Threatist record created from CVE-2026-112202
- 2026-10-30 CVSS score added · CISA ADP
- 2026-10-30 CISA SSVC decision points changed
- 2026-11-07 Affected versions changed · Red Hat
- 2026-11-07 CVSS score added · Red Hat
References
Sources
- CVE-2026-112202 · CVE Program
- CVE-2026-112202 · NVD
- FIRST EPSS
- CVE-2026-112202 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences