Skip to main content
← All vulnerabilities
CVE-2026-112202GHSA-V4HP-5H6W-9897

Imager::File::GIF versions before 1.006 for Perl allow out-of-bounds reads when consolidating GIF images

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.006, 1.040
None on Exploit-DB, Metasploit or GitHub

Summary

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.

Timeline

  1. CVE published
  2. Record last updated
  3. First seen by cve.now

Affected versions

  • Imager-File-GIF

    fixed in 1.006

  • Imager

    fixed in 1.040

References 4

GitHub · tonycoz/imager

metacpan.org