Unilend V2 Hack

TOTAL LOST $200K
Low Redeem Process Exploit ethereum

What happened

On January 13, 2025, UniLend V2 (@UniLend_Finance) on Ethereum was hacked for approximately 61 stETH (~$200K).

The attacker exploited UniLend V2’s flawed sequence in redeemUnderlying, where LP tokens were burned and collateral was transferred before the pool’s token balances were updated. By depositing a large amount of USDC, the attacker secured an artificially high “lendBalance” calculation due to outdated health factor checks and rounding issues in getShareValue. Consequently, they withdrew their deposited USDC while retaining stETH collateral, netting approximately 61 stETH (~$200K) in the process.

Exploit tx:

https://etherscan.io/tx/0x44037ffc…55b6ba

Case & protocol details

Classification Protocol Logic / Borrowing and Lending
Protocol Type Lending
Smart Contract Language Solidity
Official Website v2.unilend.finance/
Protocol Twitter/X @UniLend_Finance

Practice this exploit pattern safely

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