Detailedlikelihood: Highseverity: HighDraft
CAPEC-92Forced Integer Overflow
Abstraction
Detailed
Status
Draft
Likelihood
High
Severity
High
Description
This attack forces an integer variable to go out of range. The integer variable is often used as an offset such as size of memory allocation or similarly. The attacker would typically control the value of such variable and try to get it out of range. For instance the integer in question is incremented past the maximum possible value, it may wrap to become a very small, or negative number, therefore providing a very incorrect value which can lead to unexpected behavior. At worst the attacker can execute arbitrary code.
Related weaknesses· 7
Related attack patterns· 1
Exploits7
| Type | Target | Confidence | Tier |
|---|---|---|---|
| Weakness | Heap-based Buffer Overflowcwe-122 | 100% | live |
| Weakness | Integer Overflow to Buffer Overflowcwe-680 | 100% | live |
| Weakness | Unsigned to Signed Conversion Errorcwe-196 | 100% | live |
| Weakness | Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')cwe-120 | 100% | live |
| Weakness | Integer Overflow or Wraparoundcwe-190 | 100% | live |
| Weakness | Wrap-around Errorcwe-128 | 100% | live |
| Weakness | Incorrect Comparisoncwe-697 | 100% | live |
Related by meaning· 6
Nearest entities by semantic similarity across the cs-graph corpus.