CVE-2026-112202
JSON

6.5medium

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

Severity
6.5medium CVSS:3.1 by CISA-ADP
Exploit likelihood
0.41% (higher than 37% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
CPANSec

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.

Affected

Product or packageVersionsReported by
Imager-File-GIFbefore 1.006CVE List
Imagerbefore 1.040CVE List

Classification

CWE-125

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-112202 changed 2026-10-30CVE Terms of Use
NVDCVE-2026-112202 changed 2026-10-30Public domain