The product performs a calculation that can produce an integer overflow or wraparound, when the logic assumes that the resulting value will always be larger than the original value. This can introduce other weaknesses when the calculation is used for resource management or execution control.
1
cwe_id
122
name
Heap-based Buffer Overflow
description
A heap overflow condition is a buffer overflow, where the buffer that can be overwritten is allocated in the heap portion of memory, generally meaning that the buffer was allocated using a routine such as malloc().
2
cwe_id
189
name
Numeric Errors
description
Weaknesses in this category are related to improper calculation or conversion of numbers.