{"id":"CVE-2026-102504","state":"PUBLISHED","title":"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","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.\n\nNothing 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).\n\nPassing an untrusted raw_datachannels value to Imager->read() triggers an uncatchable exit.","publishedAt":"2026-10-01T13:11:38.558Z","updatedAt":"2026-10-01T19:31:30.976Z","severity":{"score":7.5,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","source":"CISA-ADP"},"assigner":"CPANSec","products":["Imager"],"affected":[{"packageName":"Imager","packageURL":"pkg:cpan/Imager","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"1.037","versionType":"custom"}],"collectionURL":"https://cpan.org/modules","modules":["Imager"],"programFiles":["raw.c"],"programRoutines":[{"name":"i_readraw_wiol"}],"repo":"https://github.com/tonycoz/imager"}],"references":["https://github.com/tonycoz/imager/security/advisories/GHSA-g549-r73g-x7x6","https://github.com/tonycoz/imager/commit/21b0df9eef1dffe1fdcd3706bfea9f1338031679.patch","https://metacpan.org/release/TONYC/Imager-1.037/changes","http://www.openwall.com/lists/oss-security/2026/10/01/9"],"weaknesses":["CWE-789","CWE-190"],"ingestedAt":"2026-10-29T20:10:13.529Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/102xxx/CVE-2026-102504.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-102504","state":"PUBLISHED","datePublished":"2026-10-01T13:11:38.558Z","dateUpdated":"2026-10-01T19:31:30.976Z","assignerShortName":"CPANSec","assignerOrgId":"9b29abf9-4ab0-4765-b253-1875cd9b441e","dateReserved":"2026-09-29T11:12:58.569Z"},"containers":{"cna":{"title":"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","descriptions":[{"lang":"en","value":"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.\n\nNothing 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).\n\nPassing an untrusted raw_datachannels value to Imager->read() triggers an uncatchable exit."}],"affected":[{"packageName":"Imager","packageURL":"pkg:cpan/Imager","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"1.037","versionType":"custom"}],"collectionURL":"https://cpan.org/modules","modules":["Imager"],"programFiles":["raw.c"],"programRoutines":[{"name":"i_readraw_wiol"}],"repo":"https://github.com/tonycoz/imager"}],"references":[{"url":"https://github.com/tonycoz/imager/security/advisories/GHSA-g549-r73g-x7x6","tags":["vendor-advisory"]},{"url":"https://github.com/tonycoz/imager/commit/21b0df9eef1dffe1fdcd3706bfea9f1338031679.patch","tags":["patch"]},{"url":"https://metacpan.org/release/TONYC/Imager-1.037/changes","tags":["release-notes"]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-789","description":"CWE-789 Memory Allocation with Excessive Size Value","lang":"en","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-190","description":"CWE-190 Integer Overflow or Wraparound","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"CPANSec","orgId":"9b29abf9-4ab0-4765-b253-1875cd9b441e","dateUpdated":"2026-10-01T13:11:38.558Z"},"credits":[{"lang":"en","type":"finder","value":"ahanwate"}],"solutions":[{"lang":"en","value":"Upgrade to Imager 1.037 or later."}],"source":{"discovery":"UNKNOWN"},"timeline":[{"lang":"en","time":"2026-09-30T00:00:00.000Z","value":"Version 1.037 released with fix."}],"x_generator":{"engine":"cpansec-cna-tool 0.1"}},"adp":[{"title":"CVE Program Container","references":[{"url":"http://www.openwall.com/lists/oss-security/2026/10/01/9"}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2026-10-01T15:08:20.353Z"}},{"title":"CISA ADP Vulnrichment","metrics":[{"cvssV3_1":{"scope":"UNCHANGED","version":"3.1","baseScore":7.5,"attackVector":"NETWORK","baseSeverity":"HIGH","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","integrityImpact":"NONE","userInteraction":"NONE","attackComplexity":"LOW","availabilityImpact":"HIGH","privilegesRequired":"NONE","confidentialityImpact":"NONE"}},{"other":{"type":"ssvc","content":{"timestamp":"2026-10-01T19:31:27.061525Z","id":"CVE-2026-102504","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-10-01T19:31:30.976Z"}}]}}}