Hacks
Cetus CLMM, 22 May 2025
Data as of 22 November 2026
DefiLlama's record lists Cetus CLMM on 22 May 2025, with $223.0M lost on Sui, classed as Token & Share Accounting, technique Arithmetic Error. By amount it is the 20th largest of 1,373 incidents in the record, and the 2nd largest of 2025. The account below is ours, written from the sources it links; the figures are DefiLlama's, as of 22 November 2026, and the record does not say whether they are before or after any recovery.
- Amount recorded$223.0M
- Date22 May 2025
- ClassToken & Share Accounting
- TechniqueArithmetic Error
What happened
On 22 May 2025 an attacker drained the concentrated-liquidity (CLMM) pools of Cetus, a decentralised exchange on Sui. Cetus later wrote that the attacker “exploited a vulnerability in a CLMM-dependent open source library, drained assets from our major pools, and conducted a large number of on-chain swaps, severely disrupting pool prices and balances” (Cetus recovery plan). Halborn estimated the loss at $223 million (Halborn).
How it worked
To open a liquidity position, a Cetus user names an amount of liquidity and the contract works out how many tokens must be deposited for it. Part of that calculation shifts an intermediate value left by 64 bits, guarded by a function, checked_shlw, meant to reject any value that would overflow. Halborn found that the guard compared the input with 0xFFFFFFFFFFFFFFFF << 192 instead of 1 << 192, so some values that would overflow passed. In Move, an overflowing addition or multiplication aborts the transaction, but a left shift does not: the excess bits are silently dropped (Dedaub).
Dedaub walked through one attack transaction. The attacker borrowed 10 million haSUI through a flash swap, opened a position in the narrow tick range 300000 to 300200, and asked for liquidity of roughly 2^113. The truncated calculation said one unit of token was enough. The attacker paid that single unit, removed the inflated liquidity over several transactions, repaid the flash swap and kept about 5.7 million SUI from that pool. Dedaub also traced the history. An OtterSec audit of an earlier version written for Aptos flagged a missing overflow check in early 2023, and the fix was checked_shlw. When the code was ported to Sui a few months later, a bug was introduced into checked_shlw itself, and later audits did not catch it.
Afterwards
Funds the attacker still held on Sui, in two accounts, were frozen. At Cetus’s request the Sui Foundation ran an on-chain vote of validators on a protocol upgrade that would let one designated address act as each attacker account for a single pre-specified transaction, moving the funds to a 4-of-6 multisig whose keys are split between Cetus, the Sui Foundation and the auditor OtterSec. Validators representing 90.9% of stake voted yes and the vote closed early (Sui Foundation).
Cetus relaunched at 03:00 UTC on 8 June 2025. It refilled the affected pools with the recovered assets, about $7 million from its treasury and a 30 million USDC loan from the Sui Foundation, which restored them to between 85% and 99% of their liquidity. It is covering the rest with 15% of the CETUS token supply, including all of the team’s remaining unvested tokens. Cetus said the attacker had ignored its white-hat offer and begun laundering funds, and that legal action was under way in several jurisdictions with law enforcement involved (Cetus recovery plan).
Account reviewed 22 November 2026. The facts in it come from the sources linked in the text; the figures above are DefiLlama's record, which places it on Sui and files the target as DeFi Protocol.
In DefiLlama's record
| Date | Incident | Class | Technique | Chains | Amount |
|---|---|---|---|---|---|
| 2025-05-22 | Cetus CLMM | Token & Share Accounting | Arithmetic Error | Sui | $223.0M |
More from the record: every incident in 2025, Token & Share Accounting, Arithmetic Error, and the whole record.
Other large incidents in 2025
| Date | Incident | Class | Technique | Chains | Amount |
|---|---|---|---|---|---|
| 2025-02-21 | Bybit | Social Engineering | Signer Phishing | Ethereum | $1.4B |
| 2025-11-03 | Balancer V2 | Token & Share Accounting | Rounding Error | Ethereum, Arbitrum, Base, Polygon, Sonic, Optimism | $128.0M |
| 2025-04-20 | Bitget | Market Manipulation | Market Maker Bot Exploited | — | $100.0M |
| 2025-01-23 | Phemex | Key Compromise | Hot Wallet Key Compromised | Ethereum, Solana, XRPL, Bitcoin, BSC, Sui, Base, Tron, Arbitrum, Avalanche, Polygon, Optimism, zkSync Era | $85.0M |
| 2025-06-18 | Nobitex | Social Engineering | Malware | Tron, Ethereum, BSC, Avalanche, Arbitrum, Polygon, Bitcoin | $82.0M |
| 2025-04-01 | UPCX | Access Control | Proxy Upgrade Hijack | Ethereum | $70.0M |
Source: DefiLlama, retrieved 22 November 2026, under its open methodology. Figures are a dated snapshot, not a live feed.