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.
Published: 2026-10-20
Score: 6.5 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Analysis and contextual insights are available on OpenCVE Cloud.

Remediation

Vendor Solution

Upgrade to Imager-File-GIF 1.006 or later, or to Imager 1.040 or later if the bundled copy is in use.


Vendor Workaround

Disable the gif_consolidate read option when processing untrusted GIF images.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 30 Oct 2026 14:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Fri, 30 Oct 2026 13:30:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L'}


Wed, 21 Oct 2026 03:30:00 +0000

Type Values Removed Values Added
References

Tue, 20 Oct 2026 22:45:00 +0000

Type Values Removed Values Added
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.
Title Imager::File::GIF versions before 1.006 for Perl allow out-of-bounds reads when consolidating GIF images
Weaknesses CWE-125
References

Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: CPANSec

Published:

Updated: 2026-10-30T13:03:18.800Z

Reserved: 2026-10-19T10:02:31.268Z

Link: CVE-2026-112202

cve-icon Vulnrichment

Updated: 2026-10-21T02:11:40.235Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-10-20T23:17:01.690

Modified: 2026-10-30T13:18:28.917

Link: CVE-2026-112202

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-21T12:15:18Z

Weaknesses