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
Summary
| CVE | CVE-2026-102504 |
|---|---|
| State | PUBLISHED |
| Assigner | CPANSec |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-10-01 14:17:20 UTC |
| Updated | 2026-10-08 13:17:42 UTC |
| 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. |
Risk And Classification
Primary CVSS: v3.1 7.5 HIGH from ADP
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS: 0.003920000 probability, percentile 0.312430000 (date 2026-10-08)
Problem Types: CWE-190 | CWE-789 | CWE-789 CWE-789 Memory Allocation with Excessive Size Value | CWE-190 CWE-190 Integer Overflow or Wraparound
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | ADP | DECLARED | 7.5 | HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| 3.1 | 134c704f-9b21-4f2e-91b3-4a467353bcc0 | Secondary | 7.5 | HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
CVSS v3.1 Breakdown
Attack Vector
NetworkAttack Complexity
LowPrivileges Required
NoneUser Interaction
NoneScope
UnchangedConfidentiality
NoneIntegrity
NoneAvailability
HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD Known Affected Configurations (CPE 2.3)
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| www.openwall.com/lists/oss-security/2026/10/01/9 | af854a3a-2127-422b-91ae-364da2661108 | www.openwall.com | Mailing List, Third Party Advisory |
| github.com/tonycoz/imager/commit/21b0df9eef1dffe1fdcd3706bfea9f133803167... | 9b29abf9-4ab0-4765-b253-1875cd9b441e | github.com | Patch |
| github.com/tonycoz/imager/security/advisories/GHSA-g549-r73g-x7x6 | 9b29abf9-4ab0-4765-b253-1875cd9b441e | github.com | Vendor Advisory |
| metacpan.org/release/TONYC/Imager-1.037/changes | 9b29abf9-4ab0-4765-b253-1875cd9b441e | metacpan.org | Release Notes |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
Vendor Comments And Credit
Discovery Credit
CNA: ahanwate (en)
Additional Advisory Data
| Source | Time | Event |
|---|---|---|
| CNA | 2026-09-30T00:00:00.000Z | Version 1.037 released with fix. |
Solutions
CNA: Upgrade to Imager 1.037 or later.
There are currently no legacy QID mappings associated with this CVE.