Security Fundamentals · Vulnerabilities and exploitation
Integer Overflow
Also known as: Integer Wraparound, Unsigned Wraparound
An arithmetic result exceeds the range its integer type can represent. Unsigned arithmetic wraps to a smaller value, so a check such as start + length <= limit may approve an out-of-range operation. Compare each value with the remaining bound before adding.