Paper/Archive/CVE-2026-93019

CVE-2026-93019

CPANSec — 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

Description · from the CVE record

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.

Affected

ProductAffectedFixed inSource
Imager< 1.0361.036CNA

Scores by source

CISA ADP9.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
CISA ADPSSVCExploitation: poc · Automatable: yes · Technical impact: partial

References

exploitgithub.com/tonycoz/imager/security/advisories/GHSA-p4vw-rc54-p2c2patchgithub.com/tonycoz/imager/commit/74ed50e0625f9f51054e595bb4a8da92c1e0d571.patchrefmetacpan.org/release/TONYC/Imager-1.036/changesrefopenwall.com/lists/oss-security/2026/09/18/9