Design: Unnecessary casts are brought about through poor design of function interaction

Implementation: Lack of knowledge on the effects of data casts is the primary cause of this flaw

Platform

Language: C, C++, Assembly

Platform: All

Required resources

Any

Severity

High

Likelihood of exploit

Medium

Several flaws fall under the category of integer coercion errors. For the most part, these errors in and of themselves result only in availability and data integrity issues. However, in some circumstances, they may result in other, more complicated security related flaws, such as buffer overflow conditions.

Risk Factors

TBD

Examples

See the Examples section of the problem type Unsigned to signed conversion error for an example of integer coercion errors.