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

Integer Coercion Error

Integer coercion refers to a set of flaws pertaining to the type casting, extension, or truncation of primitive data types.

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

2CVEs of this type in the archive
0critical (CVSS ≥ 9)
2high severity (7–8.9)
Sep 5, 2026latest published

What it is

Integer coercion refers to a set of flaws pertaining to the type casting, extension, or truncation of primitive data types.

Impact on systems

ScopeImpact
Availability DoS: Resource Consumption (CPU), DoS: Resource Consumption (Memory), DoS: Crash, Exit, or Restart
Integer coercion often leads to undefined states of execution resulting in infinite loops or crashes.
Integrity, Confidentiality, Availability Execute Unauthorized Code or Commands
In some cases, integer coercion errors can lead to exploitable buffer overflow conditions, resulting in the execution of arbitrary code.
Integrity, Other Other
Integer coercion errors result in an incorrect value being stored for the variable in question, or possible violating integrity of the data.

How to prevent it

Requirements A language which throws exceptions on ambiguous data casts might be chosen.
Architecture and Design Design objects and program flow such that multiple or complex casts are unnecessary
Implementation Ensure that any data type casting that you must use is entirely understood in order to reduce the plausibility of error in use.

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

CWE-192 CVEs published per year

2026: year in progress, updated every hour

Show the data as a table
YearCVE
20221
20261

All CWE-192 CVEs

2 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.