CVE Catalog

CVE-2026-93019

CriticalCVSS 9.1
Published: Updated: Translated: NVD NIST

Summary

Imager versions before 1.036 for Perl exit the process when reading a TGA file with a colour map length of 32768 or more in tga_palette_read. The two-byte length is unpacked into a signed short, so 32768 or more becomes negative, then cast to size_t, causing mymalloc() to request a size near SIZE_MAX. The allocation fails and Imager's allocator calls exit(3).

Risk Assessment

Reading an attacker-supplied file through Imager->read() triggers an uncatchable process exit, resulting in a denial of service (DoS) for applications processing images.

Recommendation

Upgrade the Imager library for Perl to version 1.036 or later. Until patched, avoid processing untrusted TGA files.

Other vulnerabilities in Imager

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS