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
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.
CVE-2026-102504
Primary source · Revision 1
Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.
Security context
Source reference: cve:CVE-2026-102504
Structured affected-version data
Original package identities and version rules from this source.
[
{
"repo": "https://github.com/tonycoz/imager",
"modules": [
"Imager"
],
"versions": [
{
"status": "affected",
"version": "0",
"lessThan": "1.037",
"versionType": "custom"
}
],
"packageURL": "pkg:cpan/Imager",
"packageName": "Imager",
"programFiles": [
"raw.c"
],
"collectionURL": "https://cpan.org/modules",
"defaultStatus": "unaffected",
"programRoutines": [
{
"name": "i_readraw_wiol"
}
]
}
]- Related CVEs
- CVE-2026-102504
Source reference:
/cveMetadata/cveId
Publisher severity
No explicit severity was provided.
- Event
- #7735 · Revision 1
- Added to Heist Feed
- Publisher date