CVE-2026-93019
criticalImager 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.
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:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H Affected products
Not reported by the source (unknown — not "none").
Weakness classification (CWE)
Source: NVD / CISA. “NVD-CWE-Other” and “NVD-CWE-noinfo” mean NVD could not assign a specific weakness.
Mitigation & advisories
No vendor advisory or patch reference tagged by NVD. Check the references below.
References
- https://github.com/tonycoz/imager/commit/74ed50e0625f9f51054e595bb4a8da92c1e0d571.patch 9b29abf9-4ab0-4765-b253-1875cd9b441e
- https://github.com/tonycoz/imager/security/advisories/GHSA-p4vw-rc54-p2c2 9b29abf9-4ab0-4765-b253-1875cd9b441e
- https://metacpan.org/release/TONYC/Imager-1.036/changes 9b29abf9-4ab0-4765-b253-1875cd9b441e
- http://www.openwall.com/lists/oss-security/2026/09/18/9 af854a3a-2127-422b-91ae-364da2661108
- https://github.com/tonycoz/imager/security/advisories/GHSA-p4vw-rc54-p2c2 134c704f-9b21-4f2e-91b3-4a467353bcc0
