CVE-2026-112202: CWE-125 Out-of-bounds Read
Description
CVE-2026-112202 is an out-of-bounds read vulnerability in Imager::File::GIF versions before 1.006 for Perl. When the gif_consolidate option is enabled, the code reads palette indices without verifying bounds, causing reads beyond allocated heap memory. This can lead to disclosure of adjacent heap memory and potential process crashes. The default GIF reader is not affected. The vulnerability exists in the bundled Imager distribution as well.
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
Imager::File::GIF versions prior to 1.006 for Perl contain an out-of-bounds read vulnerability (CWE-125) when consolidating GIF images with the gif_consolidate option enabled. The vulnerability arises because palette indices from the image are used without bounds checking against the color table, causing the i_readgif_low routine to read beyond the allocated heap memory and copy those bytes into output pixels. This can result in disclosure of adjacent heap memory and may cause the process to crash. The default GIF reader is unaffected. The vulnerable code is also included in the Imager distribution.
Potential Impact
An attacker who supplies a specially crafted GIF image with the gif_consolidate option enabled can cause the application to read beyond allocated heap memory. This may lead to disclosure of adjacent heap memory contents, potentially leaking sensitive information, and can also cause the process to crash, resulting in denial of service.
Mitigation Recommendations
No explicit patch or remediation information is provided in the available data. Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, avoid enabling the gif_consolidate option when processing untrusted GIF images or apply other application-level mitigations to restrict or sanitize input.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- CPANSec
- Date Reserved
- 2026-10-19T10:02:31.268Z
- State
- PUBLISHED
Threat ID: 6ad7f0302cdf04f6566d6491
Added to database: 10/20/2026, 22:50:24 UTC
Last enriched: 10/20/2026, 23:03:37 UTC
Last updated: 10/20/2026, 23:04:04 UTC
Views: 7
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.