CVE-2026-102504
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.
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (0.39%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
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.
- CVSS 3.1
- 7.5 HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- EPSS
- 0.39% probability · 33th percentile
- Public exploits
- None in Exploit-DB
- CISA KEV
- Not listed
- Weakness
- CWE-190, CWE-789
- Affected
- tonycoz/imager
- Source
- 9b29abf9-4ab0-4765-b253-1875cd9b441e
EPSS moved from 0.4% on 2 October 2026 to 0.4% on 26 October 2026.
References
- https://github.com/tonycoz/imager/commit/21b0df9eef1dffe1fdcd3706bfea9f1338031679.patchPatch
- https://github.com/tonycoz/imager/security/advisories/GHSA-g549-r73g-x7x6Vendor Advisory
- https://metacpan.org/release/TONYC/Imager-1.037/changesRelease Notes
- http://www.openwall.com/lists/oss-security/2026/10/01/9Mailing List, Third Party Advisory
Source: NVD record, EPSS from FIRST.org, KEV from CISA, exploits from Exploit-DB. Refreshed daily. Download this record as JSON.