CPANSA-Imager-2026-102504: Imager vulnerability
| Publisher | giterlizzi | Document category | csaf_security_advisory |
|---|---|---|---|
| Initial release date | 2026-10-01T00:00:00 | Engine | CSAF Perl Toolkit 0.26 |
| Current release date | 2026-10-01T00:00:00 | Build Date | |
| Current version | 1 | Status | final |
| CVSS v3.1 Base Score | 7.5 | Severity | High |
| Original language | Language | en | |
| Also referred to | |||
Vulnerability 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.
Vulnerabilities
CVE-2026-102504
Vulnerability 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.
| Weakness | CWE-190 : Integer Overflow or Wraparound |
|---|
Product status
Known affected
| Product | Score | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Imager less than 1.037 |
|
Fixed
- Imager greater than or equal 1.037
giterlizzi
Namespace: https://github.com/giterlizzi/
gdt@cpan.org
References
- CPANSA-Imager-2026-102504 JSON self
https://raw.githubusercontent.com/giterlizzi/perl-CPANSA-CSAF/develop/csaf/white/2026/cpansa-imager-2026-102504.json - https://github.com/tonycoz/imager/commit/21b0df9eef1dffe1fdcd3706bfea9f1338031679.patch external
https://github.com/tonycoz/imager/commit/21b0df9eef1dffe1fdcd3706bfea9f1338031679.patch - https://github.com/tonycoz/imager/security/advisories/GHSA-g549-r73g-x7x6 external
https://github.com/tonycoz/imager/security/advisories/GHSA-g549-r73g-x7x6 - https://metacpan.org/release/TONYC/Imager-1.037/changes external
https://metacpan.org/release/TONYC/Imager-1.037/changes - http://www.openwall.com/lists/oss-security/2026/10/01/9 external
http://www.openwall.com/lists/oss-security/2026/10/01/9 - CVE-2026-102504 (NVD) external
https://nvd.nist.gov/vuln/detail/CVE-2026-102504
Revision history
| Version | Date of the revision | Summary of the revision |
|---|---|---|
| 1 | Thu Oct 1 00:00:00 2026 | First release |
Sharing rules
TLP:WHITE
For the TLP version see: https://www.first.org/tlp/