Hacks
Curve DEX, 30 July 2023
Data as of 22 November 2026
DefiLlama's record lists Curve DEX on 30 July 2023, with $61.7M lost on Ethereum, classed as Reentrancy, technique Vyper Compiler Bug. By amount it is the 60th largest of 1,373 incidents in the record, and the 8th largest of 2023. 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$61.7M
- Date30 July 2023
- ClassReentrancy
- TechniqueVyper Compiler Bug
What happened
Between 13:10 and 22:00 UTC on 30 July 2023 a series of exploits took funds from several Curve liquidity pools on Ethereum, according to the post-mortem published by LlamaRisk, which Vyper’s developers describe as Curve’s official one (LlamaRisk; Vyper). The pools hit were JPEG’d’s pETH/ETH, Metronome’s msETH/ETH, Alchemix’s alETH/ETH and Curve’s own CRV/ETH pool (LlamaRisk; Chainalysis). The alETH/ETH attack alone took 7,258.70 ETH and 4,821.55 alETH, which LlamaRisk valued at about $13.6m and $9m (LlamaRisk).
How it worked
The fault lay in Vyper, the compiler used to build the pools. Vyper versions
0.2.15, 0.2.16 and 0.3.0 produced broken re-entrancy locks: instead of giving
every function that shared a @nonreentrant key the same storage slot, the
compiler gave each function its own slot, so a lock set in one function did
not block another
(Vyper). The bug was introduced in
July 2021 and fixed in version 0.3.1 later that year, but its impact on
contracts already compiled with the affected versions was not recognised
until the attacks
(Vyper;
LlamaRisk).
The affected pools were compiled with those versions and paired with native ETH, which they send using a raw call that hands control to the recipient (LlamaRisk). In the first attack, on pETH/ETH at 13:10 UTC, the exploiter took an 80,000 WETH flash loan from Balancer, added 40,000 ETH of liquidity and then removed it; while the pool was sending out ETH, the attacker re-entered it to add liquidity again, and the new pool tokens were calculated from the pre-burn balances (LlamaRisk). That gave the attacker pool tokens amounting to a fraudulent claim on the pool’s contents; after repaying the loan it kept 6,106.65 WETH, about $11m (LlamaRisk).
Afterwards
MEV bots front-ran some of the attacks; one operator, c0ffeebabe.eth, returned the 2,879.65 ETH it removed from the CRV/ETH pool to Curve, and also returned funds taken from Metronome’s pool (LlamaRisk; Chainalysis). Curve’s emergency DAO cannot pause pools or move user funds, but was expected to stop CRV emissions to the affected pools, and Curve advised users to leave Arbitrum’s Tricrypto pool as a precaution (LlamaRisk). Within a week one attacker returned about $12.7m in alETH and ETH to Alchemix, and JPEG’d confirmed receiving most of its stolen funds, about $10m (Chainalysis). When its deadline for the voluntary return of the rest passed on 6 August, Curve offered its $1.85m bounty to anyone able to identify the hacker (Chainalysis).
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 Ethereum and files the target as DeFi Protocol.
In DefiLlama's record
| Date | Incident | Class | Technique | Chains | Amount |
|---|---|---|---|---|---|
| 2023-07-30 | Curve DEX | Reentrancy | Vyper Compiler Bug | Ethereum | $61.7M |
More from the record: every incident in 2023, Reentrancy, and the whole record.
Other large incidents in 2023
| Date | Incident | Class | Technique | Chains | Amount |
|---|---|---|---|---|---|
| 2023-09-23 | Mixin Network | Frontend & Infrastructure | Database Breach | Mixin | $200.0M |
| 2023-03-13 | Euler V1 | Token & Share Accounting | Donation Attack | Ethereum | $197.0M |
| 2023-11-10 | Poloniex | Social Engineering | Malware | Tron, Ethereum, Bitcoin | $126.0M |
| 2023-07-07 | Multichain | Key Compromise | Validator Key Compromised | Moonriver, BSC, Fantom | $126.0M |
| 2023-06-03 | Atomic Wallet | Frontend & Infrastructure | Supply Chain Attack | Ethereum, Tron, BSC, Bitcoin, Polkadot, Avalanche | $100.0M |
| 2023-11-22 | Heco Bridge | Key Compromise | Hot Wallet Key Compromised | Ethereum | $86.6M |
| 2023-12-31 | Orbit Bridge | Input Validation | Signature Verification Flaw | Ethereum | $81.7M |
| 2023-07-26 | AlphaPo | Key Compromise | Hot Wallet Key Compromised | Ethereum, Tron | $60.0M |
| 2023-09-12 | CoinEx | Key Compromise | Hot Wallet Key Compromised | Ethereum, BSC, Bitcoin, Tron, Kadena, Solana, Dagger, XRPL, BitcoinCash, Polygon, Stellar, Arbitrum | $55.0M |
Source: DefiLlama, retrieved 22 November 2026, under its open methodology. Figures are a dated snapshot, not a live feed.