{"api_version":"1","generated_at":"2026-10-01T20:24:44+00:00","cve":"CVE-2026-102504","urls":{"html":"https://cve.report/CVE-2026-102504","api":"https://cve.report/api/cve/CVE-2026-102504.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-102504","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-102504"},"summary":{"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.","state":"PUBLISHED","assigner":"CPANSec","published_at":"2026-10-01 14:17:20","updated_at":"2026-10-01 16:17:34"},"problem_types":["CWE-190","CWE-789","CWE-789 CWE-789 Memory Allocation with Excessive Size Value","CWE-190 CWE-190 Integer Overflow or Wraparound"],"metrics":[],"references":[{"url":"http://www.openwall.com/lists/oss-security/2026/10/01/9","name":"http://www.openwall.com/lists/oss-security/2026/10/01/9","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/tonycoz/imager/commit/21b0df9eef1dffe1fdcd3706bfea9f1338031679.patch","name":"https://github.com/tonycoz/imager/commit/21b0df9eef1dffe1fdcd3706bfea9f1338031679.patch","refsource":"9b29abf9-4ab0-4765-b253-1875cd9b441e","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/tonycoz/imager/security/advisories/GHSA-g549-r73g-x7x6","name":"https://github.com/tonycoz/imager/security/advisories/GHSA-g549-r73g-x7x6","refsource":"9b29abf9-4ab0-4765-b253-1875cd9b441e","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://metacpan.org/release/TONYC/Imager-1.037/changes","name":"https://metacpan.org/release/TONYC/Imager-1.037/changes","refsource":"9b29abf9-4ab0-4765-b253-1875cd9b441e","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-102504","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-102504","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[{"source":"CNA","time":"2026-09-30T00:00:00.000Z","lang":"en","value":"Version 1.037 released with fix."}],"solutions":[{"source":"CNA","title":"","value":"Upgrade to Imager 1.037 or later.","time":"","lang":"en"}],"workarounds":[],"exploits":[],"credits":[{"source":"CNA","value":"ahanwate","lang":"en"}],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"adp":[{"providerMetadata":{"dateUpdated":"2026-10-01T15:08:20.353Z","orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE"},"references":[{"url":"http://www.openwall.com/lists/oss-security/2026/10/01/9"}],"title":"CVE Program Container"}],"cna":{"affected":[{"collectionURL":"https://cpan.org/modules","defaultStatus":"unaffected","modules":["Imager"],"packageName":"Imager","packageURL":"pkg:cpan/Imager","programFiles":["raw.c"],"programRoutines":[{"name":"i_readraw_wiol"}],"repo":"https://github.com/tonycoz/imager","versions":[{"lessThan":"1.037","status":"affected","version":"0","versionType":"custom"}]}],"credits":[{"lang":"en","type":"finder","value":"ahanwate"}],"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."}],"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":{"dateUpdated":"2026-10-01T13:11:38.558Z","orgId":"9b29abf9-4ab0-4765-b253-1875cd9b441e","shortName":"CPANSec"},"references":[{"tags":["vendor-advisory"],"url":"https://github.com/tonycoz/imager/security/advisories/GHSA-g549-r73g-x7x6"},{"tags":["patch"],"url":"https://github.com/tonycoz/imager/commit/21b0df9eef1dffe1fdcd3706bfea9f1338031679.patch"},{"tags":["release-notes"],"url":"https://metacpan.org/release/TONYC/Imager-1.037/changes"}],"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."}],"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","x_generator":{"engine":"cpansec-cna-tool 0.1"}}},"cveMetadata":{"assignerOrgId":"9b29abf9-4ab0-4765-b253-1875cd9b441e","assignerShortName":"CPANSec","cveId":"CVE-2026-102504","datePublished":"2026-10-01T13:11:38.558Z","dateReserved":"2026-09-29T11:12:58.569Z","dateUpdated":"2026-10-01T15:08:20.353Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-10-01 14:17:20","lastModifiedDate":"2026-10-01 16:17:34","problem_types":["CWE-190","CWE-789","CWE-789 CWE-789 Memory Allocation with Excessive Size Value","CWE-190 CWE-190 Integer Overflow or Wraparound"],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"102504","Ordinal":"1","Title":"Imager versions before 1.037 for Perl exit the process reading a","CVE":"CVE-2026-102504","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"102504","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"Imager versions before 1.037 for Perl exit the process reading a"}]}}}