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
Perl Imager before 1.037 exits when a raw image has an out-of-range raw_datachannels value.
CVE-2026-102504 affects the Perl Imager library in versions before 1.037. When reading a raw image, an out-of-range raw_datachannels value causes the process to exit inside i_readraw_wiol. The issue was posted to oss-security by Stig Palmquist and is a crash or denial of service, not a reported exploitation campaign.
- CVE-2026-102504 affects Perl Imager before 1.037.
- i_readraw_wiol exits on an out-of-range raw_datachannels value.
- Impact is process termination while reading a crafted raw image.
- Reported on oss-security by Stig Palmquist.
Vulnerabilities mentionedAll →
- CVE-2026-1025047.5—Denial of service in Perl Imager before 1.037 via out-of-range raw image channel countpublished · Imager project (CPAN / Perl) Imager
| CVE | Vulnerability | CVSS | EPSS | Flags | Affected | Exposure | Published |
|---|---|---|---|---|---|---|---|
| CVE-2026-102504 | Denial of service in Perl Imager before 1.037 via out-of-range raw image channel count Imager, a Perl image-processing library, fails to validate the raw_datachannels field when reading a 'raw' format image in i_readraw_wiol, in all versions before 1.037. The value is used to size a line buffer as image width times channel count with no range or overflow check, so a negative or very large count requests an excessive allocation; when that allocation fails, Imager's internal allocator calls exit(3), terminating the entire Perl process in a way the application cannot catch or trap. An attacker triggers the flaw by getting an application that feeds untrusted files to Imager->read() to process a crafted raw image with a malicious raw_datachannels value, yielding a straightforward denial of service against services such as web apps that accept and process image uploads. Any deployment using Imager before 1.037 that reads raw-format images from untrusted sources is affected. The vulnerability has no CVSS score yet, no public proof of concept, is not in the CISA KEV catalog, and there is no evidence of exploitation in the wild. |
Posted by Stig Palmquist on Oct 01 ======================================================================== https://metacpan.org/dist/Imager https://github.com/tonycoz/imager Imager versions before 1.037 for Perl...
This source does not provide full text. Read it at seclists.org.