Description
Imager versions before 1.037 for Perl exit the process reading a raw image with an out-of-range raw_datachannels value in i_readraw_wiol. Nothing range-checks raw_datachannels. The line buffer is sized as the image width times the channel count with no overflow check, so a negative or very large count requests an excessive allocation. When it fails, Imager's allocator calls exit(3). Passing an untrusted raw_datachannels value to Imager->read() triggers an uncatchable exit.
Affected products
tonycoz: imager
References4
- github.com/tonycoz/imager/security/advisories/GHSA-g549-r73g-x7… Vendor Advisory
- github.com/tonycoz/imager/commit/21b0df9eef1dffe1fdcd3706bfea9f… Patch
- metacpan.org/release/TONYC/Imager-1.037/changes Release Notes
- www.openwall.com/lists/oss-security/2026/10/01/9 Mailing ListThird Party Advisory
Metrics
- CVSS 3.1
-
7.5
HIGH
Score source: CNA
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - EPSS — exploit probability
- 0% percentile: 34 · as of 10 November 2026
- CWE
- CWE-190CWE-789
Could this be exploited in your environment?
A patch closes the known hole. A penetration test shows what an attacker can still reach — with proof.