Underflow Attack Vectors

Mechanism

Underflow attack vectors arise when arithmetic operations on unsigned integers result in values dropping below zero, causing the variable to wrap around to the maximum possible integer value within a smart contract. This discrepancy occurs frequently in decentralized finance protocols where subtraction logic lacks sufficient bounds checking. Attackers exploit this behavior to force unauthorized withdrawals or manipulate internal state balances by triggering extreme numeric overflows.