CVE Vulnerabilities

CVE-2026-93019

Unsigned to Signed Conversion Error

Published: Sep 18, 2026 | Modified: Sep 18, 2026
CVSS 3.x
N/A
Source:
NVD
CVSS 2.x
RedHat/V2
RedHat/V3
7.5 MODERATE
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Ubuntu
MEDIUM

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 Imagers allocator calls exit(3).

Reading an attacker-supplied file through Imager->read() triggers an uncatchable exit.

Weakness

The product uses an unsigned primitive and performs a cast to a signed primitive, which can produce an unexpected value if the value of the unsigned primitive can not be represented using a signed primitive.

Affected Software

NameVendorStart VersionEnd Version
Libimager-perlUbuntuupstream*

Potential Mitigations

References