CWE-196Variant

Unsigned to Signed Conversion Error

Draft in the CWE catalog · 9 CVEs mapped

9
CVEs mapped
7.5
Median CVSS
What it is

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.

Recent examples
5.9cvss
CVE-2026-106567

CVE-2026-106567 - MEDIUM Severity Vulnerability

ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to 7.1.2-32 and 6.9.13-57, a crafted PSD file can trigger an integer-conversion error in the PSD decoder on 32-bit builds, causing an infinite loop and denial of service. This issue is fixed in versions 7.1.2-32 and 6.9.13-57.

MEDIUMno explanation yet
0%
epss
9.1cvss
CVE-2026-93019

CVE-2026-93019 - CRITICAL Severity Vulnerability

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.

CRITICALno explanation yet
1%
epss
5.1cvss
CVE-2026-58317

Unsigned to Signed Conversion Error (CWE-196) vulnerability exists in TTSSH2 plugin of Tera Term provided by TeraTerm Project

Unsigned to Signed Conversion Error (CWE-196) vulnerability exists in TTSSH2 plugin of Tera Term provided by TeraTerm Project. When Tera Term attempts to establish an SSH connection to a server set up by an attacker, out-of-bounds read/write may occur. As a result, the contents of adjacent memory regions may be transmitted to the server, and Tera Term may behave unexpected or terminate abnormally.

MEDIUMno explanation yet
0%
epss
The record
Technical detail
CWE ID
CWE-196
Abstraction
Variant
Structure
Simple
Status
Draft
References (1)