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.
No advisories yet.
Solution
Upgrade to Imager 1.036 or later.
Workaround
No workaround given by the vendor.
Sat, 19 Sep 2026 01:15:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Tonycoz
Tonycoz imager |
|
| Vendors & Products |
Tonycoz
Tonycoz imager |
Fri, 18 Sep 2026 21:30:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| References |
| |
| Metrics |
cvssV3_1
|
Fri, 18 Sep 2026 14:15:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| 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. | |
| Title | 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 | |
| Weaknesses | CWE-196 CWE-789 |
|
| References |
|
Projects
Sign in to view the affected projects.
Status: PUBLISHED
Assigner: CPANSec
Published:
Updated: 2026-09-18T17:28:49.711Z
Reserved: 2026-09-17T14:56:50.796Z
Link: CVE-2026-93019
Updated: 2026-09-18T17:06:59.404Z
Status : Deferred
Published: 2026-09-18T14:19:04.480
Modified: 2026-09-18T18:18:17.967
Link: CVE-2026-93019
No data.
OpenCVE Enrichment
Updated: 2026-09-19T01:00:08Z