293
Relevant to the view "Software Development" (CWE-699)
Nature Type ID Name Page
MemberOf 189 Numeric Errors 2312
Weakness Ordinalities
Primary :
Applicable Platforms
Language : C (Prevalence = Often)
Language : C++ (Prevalence = Often)
Background Details
Due to how addition is performed by computers, if a primitive is incremented past the maximum
value possible for its storage space, the system will not recognize this, and therefore increment
each bit as if it still had extra space. Because of how negative numbers are represented in binary,
primitives interpreted as signed may "wrap" to very large negative values.
Likelihood Of Exploit
Medium
Common Consequences
Scope Impact Likelihood
Availability DoS: Crash, Exit, or Restart
DoS: Resource Consumption (CPU)
DoS: Resource Consumption (Memory)
DoS: Instability
CWE Version 4.14
CWE-128: Wrap-around Error
CWE-128: Wrap-around Error