What’s Vulnerable › Vulnerabilities
CVE-2026-102504: 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
- Severity: high (CVSS 7.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.4% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-10-01 · updated 2026-10-08
- Weakness: CWE-190
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
- TONYC Imager: before 1.037 — fixed in 1.037
How to fix
Upgrade to a fixed version: TONYC Imager 1.037. Check the vendor advisory for mitigations.
References
- https://github.com/tonycoz/imager/commit/21b0df9eef1dffe1fdcd3706bfea9f1338031679.patch
- https://github.com/tonycoz/imager/security/advisories/GHSA-g549-r73g-x7x6
- https://metacpan.org/release/TONYC/Imager-1.037/changes
- http://www.openwall.com/lists/oss-security/2026/10/01/9
Get alerted when CVE-2026-102504 or the next vulnerability affects your stack