CPANSA-Imager-2026-93019: Imager vulnerability
| Publisher | giterlizzi | Document category | csaf_security_advisory |
|---|---|---|---|
| Initial release date | 2026-09-18T00:00:00 | Engine | CSAF Perl Toolkit 0.26 |
| Current release date | 2026-09-18T00:00:00 | Build Date | |
| Current version | 1 | Status | final |
| CVSS v3.1 Base Score | 9.1 | Severity | Critical |
| Original language | Language | en | |
| Also referred to | |||
Vulnerability Description
Imager versions before 1.036 for Perl exit the process reading a TGA with a colour map length of 32768 or more in tga_palette_read.
The reader unpacks the two-byte colour map length into a signed short, so a length of 32768 or more becomes negative. tga_palette_read() casts that value to size_t and asks mymalloc() for a size near SIZE_MAX. The allocation fails and Imager's allocator calls exit(3).
Reading an attacker-supplied file through Imager->read() triggers an uncatchable exit.
Vulnerabilities
CVE-2026-93019
Vulnerability DescriptionImager versions before 1.036 for Perl exit the process reading a TGA with a colour map length of 32768 or more in tga_palette_read.
The reader unpacks the two-byte colour map length into a signed short, so a length of 32768 or more becomes negative. tga_palette_read() casts that value to size_t and asks mymalloc() for a size near SIZE_MAX. The allocation fails and Imager's allocator calls exit(3).
Reading an attacker-supplied file through Imager->read() triggers an uncatchable exit.
| Weakness | CWE-196 : Unsigned to Signed Conversion Error |
|---|
Product status
Known affected
| Product | Score | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Imager less than 1.036 |
|
Fixed
- Imager greater than or equal 1.036
giterlizzi
Namespace: https://github.com/giterlizzi/
gdt@cpan.org
References
- CPANSA-Imager-2026-93019 JSON self
https://raw.githubusercontent.com/giterlizzi/perl-CPANSA-CSAF/develop/csaf/white/2026/cpansa-imager-2026-93019.json - https://github.com/tonycoz/imager/commit/74ed50e0625f9f51054e595bb4a8da92c1e0d571.patch external
https://github.com/tonycoz/imager/commit/74ed50e0625f9f51054e595bb4a8da92c1e0d571.patch - https://github.com/tonycoz/imager/security/advisories/GHSA-p4vw-rc54-p2c2 external
https://github.com/tonycoz/imager/security/advisories/GHSA-p4vw-rc54-p2c2 - https://metacpan.org/release/TONYC/Imager-1.036/changes external
https://metacpan.org/release/TONYC/Imager-1.036/changes - http://www.openwall.com/lists/oss-security/2026/09/18/9 external
http://www.openwall.com/lists/oss-security/2026/09/18/9 - https://github.com/tonycoz/imager/security/advisories/GHSA-p4vw-rc54-p2c2 external
https://github.com/tonycoz/imager/security/advisories/GHSA-p4vw-rc54-p2c2 - CVE-2026-93019 (NVD) external
https://nvd.nist.gov/vuln/detail/CVE-2026-93019
Revision history
| Version | Date of the revision | Summary of the revision |
|---|---|---|
| 1 | Fri Sep 18 00:00:00 2026 | First release |
Sharing rules
TLP:WHITE
For the TLP version see: https://www.first.org/tlp/