CVE-2026-93019
Integer Overflow Denial of Service in Imager for Perl
Critical 9.1 No auth needed
Follow: this CVE We alert you by email or Slack (account required).
- Priority
- 70
- CVSS 3.1
- 9.1
- EPSS
- —
- Auth required
- No
- Published
- Sep 18, 2026
- Updated
- Sep 18, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: yes · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
What happens
Imager for Perl before version 1.036 exits the process when reading TGA files with a color map length of 32768 or more. An attacker can supply a malformed TGA file to trigger an uncatchable process exit, causing denial of service.
Show the original NVD text
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.
What to do
Patch available · fixed versions: 1.036
Update Imager to version 1.036 or later.
- Check whether you run any of the affected products and follow the vendor advisory.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Official sources
References
Links published by the sources. Open them with care.