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.
Fix
Patch, vendor advisory and mitigation references on NVD 2
- https://github.com/tonycoz/imager/commit/21b0df9eef1dffe1fdcd3706bfea9f1338031679.patch Patch
- https://github.com/tonycoz/imager/security/advisories/GHSA-g549-r73g-x7x6 Vendor Advisory
Every line above is quoted from NVD, CISA, Microsoft, the vendor's own advisory or DISA; nothing is generated.
Change history 1
- First seenCVSS 7.5 · tonycozNVD modified 2026-10-08 13:17
Affected (CPE criteria) 1
cpe:2.3:a:tonycoz:imager:*:*:*:*:*:perl:*:*
References 4
- https://github.com/tonycoz/imager/commit/21b0df9eef1dffe1fdcd3706bfea9f1338031679.patch Patch
- https://github.com/tonycoz/imager/security/advisories/GHSA-g549-r73g-x7x6 Vendor Advisory
- https://metacpan.org/release/TONYC/Imager-1.037/changes Release Notes
- http://www.openwall.com/lists/oss-security/2026/10/01/9 Mailing List, Third Party Advisory