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.
CVSS Score
CRITICAL
Related Weaknesses (CWE)
References
- https://github.com/tonycoz/imager/commit/74ed50e0625f9f51054e595bb4a8da92c1e0d57
- https://github.com/tonycoz/imager/security/advisories/GHSA-p4vw-rc54-p2c2
- https://metacpan.org/release/TONYC/Imager-1.036/changes
- http://www.openwall.com/lists/oss-security/2026/09/18/9
- https://github.com/tonycoz/imager/security/advisories/GHSA-p4vw-rc54-p2c2
FAQ
What is CVE-2026-93019?
CVE-2026-93019 is a vulnerability with a CVSS score of 9.1 (CRITICAL). 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 sho...
How severe is CVE-2026-93019?
CVE-2026-93019 has been rated CRITICAL with a CVSS base score of 9.1/10. This is considered a critical vulnerability requiring immediate attention.
Is there a patch for CVE-2026-93019?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.