CVE
CVE-2026-93019
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
Severity
Critical
Base CVSS
9.1
Fixed in
74ed50e0625f9f51054e595bb4a8da92c1e0d571
Description
Imager versions before 1.036 for Perl exit the process reading a TGA with a colour map length of 32768 or more in tgapaletteread.
The reader unpacks the two-byte colour map length into a signed short, so a length of 32768 or more becomes negative. tgapaletteread() casts that value to sizet and asks mymalloc() for a size near SIZEMAX. The allocation fails and Imager's allocator calls exit(3).
Reading an attacker-supplied file through Imager->read() triggers an uncatchable exit.
Severity scores
Source
Severity
Base score
CVSS version
Score vector
NVD
Critical
9.1
3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
OSV
0
3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
Endor Labs
Required action
Known ransomware campaign use
References
http://www.openwall.com/lists/oss-security/2026/09/18/9, https://cpan.org/modules, https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/93xxx/CVE-2026-93019.json, https://github.com/tonycoz/imager/security/advisories/GHSA-p4vw-rc54-p2c2, https://metacpan.org/release/TONYC/Imager-1.036/changes, https://nvd.nist.gov/vuln/detail/CVE-2026-93019, https://github.com/tonycoz/imager/commit/74ed50e0625f9f51054e595bb4a8da92c1e0d571.patch, https://github.com/tonycoz/imager
Basic information
Base CVSS
9.1
EPSS probability
0.0
EPSS percentile
0.50363
Introduced version
0
Fix available
74ed50e0625f9f51054e595bb4a8da92c1e0d571
Endor Patches
Fix critical vulnerabilities instantly
Secure your app without upgrading: detect a compatible fix, apply safe remediation, and ship it in a single pull request.
Fix without upgradingGet a demo of Endor Labs today.