Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft malicious SGI image
-
DeliveryDeliver to image-parsing app
-
ExploitApp calls Imager->read
-
Execution16-bit RLE guard bypassed in read_rgb_16_rle
-
PersistHeap over-read past buffer
-
ImpactProcess crash (DoS)
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Bounds checking, read limits
MITRE ATT&CK
1 technique across 1 tactic: Collection The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires the target to parse an attacker-supplied SGI/RGB image through Imager->read using the bundled Imager::File::SGI reader, and the malicious file must contain a 16-bit RLE literal run with a pixel count in the window data_left/2 < count <= data_left; the 8-bit RLE path cannot trigger it. Limiting factors: the CVSS vector is AV:L with UI:R, so a user or an application workflow must actively supply and open the crafted file - there is no purely remote, no-interaction path unless a service auto-ingests untrusted images. No authentication is indicated (PR:N), and no non-default configuration is needed beyond the application choosing to decode SGI input. |
| Impact | The provided CVSS 3.1 vector (AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H, score 7.1) frames this as a local, low-complexity, unauthenticated issue that requires user interaction - specifically, the application or user must feed a malicious SGI file to Imager->read. The realistic dominant impact is a process crash (denial of service); the C:H rating is arguably generous since the over-read data is consumed while decoding an image the parser then rejects, so meaningful confidentiality disclosure is uncertain - verify whether over-read bytes can surface in output. No EPSS score, KEV entry, or public POC is present in the supplied data, so exploitation pressure appears low and opportunistic rather than active. The practical priority is moderate: it matters most for services that automatically parse untrusted images with Imager (e.g., upload handlers), where AV:L can effectively become remotely reachable even though the CVSS vector is scored local. |
| Exploit ScenarioDerived | An attacker crafts an SGI image containing a 16-bit RLE literal run whose pixel count falls between data_left/2 and data_left, then delivers it to a target that decodes images with Imager (for example, an avatar or document upload endpoint). When the application calls Imager->read on the file, the reader over-reads past the buffer and crashes the worker process before the malformed image is rejected. No public exploit code is identified at time of analysis, and the local attack vector with required user/application interaction limits weaponization. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 06, 2026
Heap out-of-bounds read in the Perl Imager module (versions before 1.032) lets a crafted SGI image over-read past a decode buffer and crash the process. The flaw lives in the bundled Imager::File::SGI reader's read_rgb_16_rle routine, where a 16-bit RLE literal run is length-checked in pixels but consumed as two bytes per pixel, defeating the bounds guard. No public exploit is identified at time of analysis and it is not listed in CISA KEV; a vendor patch shipped in 1.032.
RemediationAI
Upgrade to Imager 1.032 or later, which contains the fix - Vendor-released patch: version 1.032, corresponding to upstream commit f28de02770dfc26ffbdc32048970ed84babbf730 (patch at https://github.com/tonycoz/imager/commit/f28de02770dfc26ffbdc32048970ed84babbf730.patch). Review the release notes at https://metacpan.org/release/TONYC/Imager-1.032/source/Changes and the disclosure at https://seclists.org/oss-sec/2026/q3/60. If you cannot immediately upgrade, avoid passing untrusted or attacker-controlled SGI images to Imager->read, or restrict accepted formats to exclude SGI/RGB in any image-upload pipeline; the trade-off is loss of SGI support for legitimate files. Where feasible, sandbox or resource-limit the process that decodes untrusted images so an over-read crash cannot take down a shared service.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Imager is a widely-used CPAN image-processing library for Perl that bundles format-specific readers, including Imager::File::SGI for the SGI/RGB image format. The root cause is CWE-125 (out-of-bounds read): in read_rgb_16_rle, each literal RLE run is validated with 'if (count > data_left)', but count expresses a pixel count while each 16-bit sample is decoded as inp[0]*256 + inp[1], advancing two bytes per pixel. Any run where data_left/2 < count <= data_left passes the guard yet consumes 2*count bytes, reading beyond the input buffer. The 8-bit RLE path is not affected because there one pixel maps to exactly one byte, so the pixel count and byte count coincide.
Know when the next one hits your stack
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H
Local file must be fed to the parser (AV:L, UI:R, PR:N); dominant impact is a crash (A:H), with only limited over-read exposure (C:L) and no integrity effect.
Primary rating from Vendor (9b29abf9-4ab0-4765-b253-1875cd9b441e).
CVSS VectorVendor: 9b29abf9-4ab0-4765-b253-1875cd9b441e
Lifecycle Timeline
3DescriptionCVE.org
Imager versions before 1.032 for Perl have a heap out-of-bounds read in the bundled Imager::File::SGI reader via a 16-bit RLE literal run in read_rgb_16_rle.
read_rgb_16_rle guards each literal run with if (count > data_left), but count is a pixel count while every 16-bit sample consumes two bytes. The copy loop reads inp[0] * 256 + inp[1] and advances two bytes per pixel, so a run with data_left / 2 < count <= data_left passes the guard yet consumes 2 * count bytes and reads past the end of the buffer. The 8-bit path is unaffected because there one pixel is one byte.
Reading a crafted SGI image through Imager->read triggers the over-read before the parser rejects the malformed image, which can crash the process.
Executive ViewAI
The Perl Imager module versions before 1.032 contain a heap buffer read vulnerability in SGI image processing that enables denial-of-service attacks, risking service unavailability for applications that parse image files. Organizations using Imager in production should prioritize deployment of the vendor patch to restore process stability and prevent application crashes from maliciously-crafted image input.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
EUVD-2026-41872
GHSA-pmgh-mrwc-qw67
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB