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

CVECVE-2026-102504
StatePUBLISHED
AssignerCPANSec
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-10-01 14:17:20 UTC
Updated2026-10-01 16:17:34 UTC
DescriptionImager 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

Problem Types: CWE-190 | CWE-789 | CWE-789 CWE-789 Memory Allocation with Excessive Size Value | CWE-190 CWE-190 Integer Overflow or Wraparound

References

ReferenceSourceLinkTags
www.openwall.com/lists/oss-security/2026/10/01/9 af854a3a-2127-422b-91ae-364da2661108 www.openwall.com
github.com/tonycoz/imager/commit/21b0df9eef1dffe1fdcd3706bfea9f133803167... 9b29abf9-4ab0-4765-b253-1875cd9b441e github.com
github.com/tonycoz/imager/security/advisories/GHSA-g549-r73g-x7x6 9b29abf9-4ab0-4765-b253-1875cd9b441e github.com
metacpan.org/release/TONYC/Imager-1.037/changes 9b29abf9-4ab0-4765-b253-1875cd9b441e metacpan.org
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

SourceTimeEvent
CNA2026-09-30T00:00:00.000ZVersion 1.037 released with fix.

Solutions

CNA: Upgrade to Imager 1.037 or later.

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report