The High Cost of Unbounded Loops: Denial of Service An unbounded loop vulnerability is a type of security flaw that can occur in smart contracts when a loop does not have a defined maximum iteration limit.