Impermax V3 Hack

Reported loss $300K
Base
Flashloan Exploit

What happened

On April 26, 2025, a flash-loan attacker exploited an Impermax V3 collateral-valuation discrepancy on Base, stealing around $300,000 and leaving additional liquidity at risk. The attacker inflated uncollected Uniswap V3 fees, borrowed against the overstated collateral, then auto-compounded at a wrong tick to make the position underwater and dilute lenders through bad-debt restructuring.

How it happened

  1. The attacker used a flash loan to create a low-liquidity Uniswap V3 collateral position and push its tick to an extreme price.
  2. Repeated swaps accumulated large uncollected fees, overstating the collateral's value.
  3. The attacker borrowed from Impermax against that fee-inflated position.
  4. They reinvested the fees at the wrong tick, leaving the position underwater when the tick returned.
  5. Calling restructureBadDebt closed the position and diluted lenders, allowing value extraction from the available liquidity.

Protocol details

Classification Protocol Logic / Yield Aggregator / Token & Share Accounting
Protocol Type Lending
Implementation language Solidity

Security review history

Understand the attack patterns

Build your security review skills

Work through hands-on labs covering real exploit mechanics, review techniques, and defensive patterns.