Vulnerability · Published Sep 18, 2026 · Assigned by CPANSec
CVE-2026-93019Imager 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
Critical 9.1
In plain English
A critical-severity security flaw in Imager. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.7% (higher than 51% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | libimager-perl | no fix listed | DEBIAN-CVE-2026-93019 |
| Debian:13 | libimager-perl | no fix listed | DEBIAN-CVE-2026-93019 |
| Debian:14 | libimager-perl | 1.036+dfsg-1 | DEBIAN-CVE-2026-93019 |
| Ubuntu:22.04:LTS | libimager-perl | no fix listed | UBUNTU-CVE-2026-93019 |
| Ubuntu:24.04:LTS | libimager-perl | no fix listed | UBUNTU-CVE-2026-93019 |
| Ubuntu:26.04:LTS | libimager-perl | no fix listed | UBUNTU-CVE-2026-93019 |
| Ubuntu:26.10 | libimager-perl | no fix listed | UBUNTU-CVE-2026-93019 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Imager | 0 – before 1.036 |
Weakness: CWE-196, CWE-789 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
References
- https://github.com/tonycoz/imager/security/advisories/GHSA-p4vw-rc54-p2c2 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