1. CVE archive
  2. Vulnerability types
  3. CWE-195
CWE-195 · #302 most frequent type in the archive

Signed to Unsigned Conversion Error

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

Part of: CWE-681 · Incorrect Conversion between Numeric Types

25CVEs of this type in the archive
0critical (CVSS ≥ 9)
11high severity (7–8.9)
Nov 17, 2026latest published

What it is

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

Impact on systems

ScopeImpact
Integrity Unexpected State, Modify Memory, Read Memory
Conversion between signed and unsigned values can lead to a variety of errors, but from a security standpoint is most commonly associated with integer overflow and buffer overflow vulnerabilities. Often, functions will return negative values to indicate a failure. When the result of a function is to be used as a size parameter, using these negative return values can have unexpected results. For example, if negative size values are passed to the standard memory copy or allocation functions, they will be implicitly cast to a large unsigned value. This may lead to an exploitable buffer overflow or underflow condition.

Source: MITRE CWE catalog · Official entry on the MITRE website

CWE-195 CVEs published per year

2026: year in progress, updated every hour

Show the data as a table
YearCVE
20201
20241
20254
202619

All CWE-195 CVEs

25 results

Dottor Marc

Is this type of vulnerability in your systems?

An archive tells you what exists; a Vulnerability Assessment tells you what is exposed on your side. Dottor Marc tests your web applications and network with automated and manual checks.