Case file · Hack · 2025
Cetus Protocol: about $223 million
An attacker exploited a math-library bug to drain about $223 million from Sui DEX Cetus; validators froze $162 million, later returned.
- Date
- 22 May 2025
- Target
- Cetus Protocol
- Amount
- about $223 million (Cetus, via The Block)
- Networks
- Sui, Ethereum
What happened
On 22 May 2025 an attacker exploited a misapplied integer-overflow check in the inter_mate library's checked_shlw method, which validated inputs against a 256-bit limit instead of 192 bits 1. Using a flash swap, the attacker added an artificially huge liquidity position for a tiny deposit and then repeatedly withdrew liquidity to drain the pools 1. Sui validators voted to reject the attacker's transactions, freezing about $162 million, while about $60 million had already been bridged to Ethereum 1.
What happened next
Validators representing 90.9% of stake approved an upgrade moving the frozen funds to a 4-of-6 multisig held by Cetus, the Sui Foundation and OtterSec 2 3. Cetus relaunched on 8 June 2025, refilling affected pools to 85–99% of their original liquidity using the recovered funds, $7 million of its own reserves and a $30 million USDC loan from the Sui Foundation 4. The remaining losses were to be paid in CETUS tokens unlocking linearly over 12 months 4.
What it teaches
- Liquidity providers on DEXs carry smart-contract risk, including bugs in third-party libraries the protocol relies on.
- Being able to recover funds by validator vote means the chain operators can also freeze transactions; understand who holds that power.
- Compensation paid in a protocol's own token is worth only what that token is worth when it unlocks.
If you were affected
Affected liquidity providers should check the Cetus app for their CETUS token compensation, which was set to unlock linearly over 12 months 4.
Sources
- Sui DEX Cetus says overlooked flaw in open-source library used by smart contract led to $223 million exploit The Block, 27 May 2025
- Response to the Cetus Incident – Onchain Community Vote Sui, 27 May 2025
- Sui community passes governance vote to recover stolen Cetus funds blocked by validators in $223M heist The Block, 30 May 2025
- Sui DEX Cetus Protocol restarts platform after recovering from $223 million exploit The Block, 8 June 2025