# 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 9.1 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.61%, higher than 50% of CVEs (2026-12-02)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-09-18T13:58:12.083Z
- Modified: 2026-09-18T18:18:17.967Z
- Weaknesses: CWE-196, CWE-789
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: CPANSec

## 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.

(As written by CVE List.)

## Affected

- Imager: before 1.036

## References

- <https://github.com/tonycoz/imager/security/advisories/GHSA-p4vw-rc54-p2c2> (exploit, vendor-advisory)
- <https://github.com/tonycoz/imager/commit/74ed50e0625f9f51054e595bb4a8da92c1e0d571.patch> (patch)
- <https://metacpan.org/release/TONYC/Imager-1.036/changes> (release-notes)
- <http://www.openwall.com/lists/oss-security/2026/09/18/9>

## Sources

- CVE List: [CVE-2026-93019](https://www.cve.org/CVERecord?id=CVE-2026-93019), CVE Terms of Use, modified 2026-09-18
- NVD: [CVE-2026-93019](https://nvd.nist.gov/vuln/detail/CVE-2026-93019), Public domain, modified 2026-09-18

---

Page: https://cve.day/CVE-2026-93019 · Whole record: https://cve.day/CVE-2026-93019.json · Rebuilt by cve.day 2026-11-25T22:59:39.589Z
