DeFi · Failure · Decentralised
Euler Finance
Drained in a flash-loan exploit on . A smart-contract flaw let an attacker drain the lending pools.
By Dean Fankhauser · Sources last checked
In short: On 13 March 2023 an attacker drained about $197m from Euler Finance, a DeFi lending protocol, through a flaw in one function. After three weeks of on-chain negotiation the attacker returned the funds. Euler says all recoverable funds came back, worth about $240m by then; about 1,200 ETH was lost for good. Users redeemed their share from 12 April 2023.
- Date
- 13 Mar 2023
- When funds were frozen, service stopped or the exploit happened.
- Taken in exploits
- $197m
- About $197m taken (Euler).
- Customer recovery
- See note
- No single figure. Euler says all recoverable funds were returned by 3 Apr 2023 (about $240m, because ETH rose), but about 1,200 ETH was not recovered and no per-depositor recovery is published.
- Customers affected
- Not disclosed
What happened
Euler Finance launched on Ethereum in December 2021 as a lending protocol: depositors supplied tokens to pools and earned interest from borrowers. In July 2022 Euler added a function called donateToReserves to fix an earlier bug. It let a user donate their deposit to the protocol’s reserves without checking whether the account stayed solvent afterwards.
On 13 March 2023 an attacker used a flash loan, borrowed and repaid in one transaction, to exploit that gap. By donating part of a borrowed position to the reserves, the attacker made their own account insolvent and then liquidated it at a profit. Repeating this across pools, they took about $197m. The function had been through an audit by Sherlock, which agreed to pay a claim of $4.5m to Euler.
What happened to depositors’ funds
Euler disabled the affected markets and opened talks with the attacker through messages attached to blockchain transactions. On 14 March it set a 24-hour deadline to return 90% of the funds, and it recommended a $1m reward for information. The attacker began returning funds on 18 March with 3,000 ETH. On 25 March they returned 51,000 ETH, and more followed over the next days.
The talks were not straightforward. On 21 March an address linked to the Ronin bridge exploit, which Euler attributes to North Korea’s Lazarus Group, sent the attacker a message that Euler treated as an attempt to steal the funds a second time. By 28 March, after further transfers of ETH and DAI and an on-chain apology from the attacker, Euler put the recovery at around 84%.
On 3 April 2023 Euler said all the recoverable funds had been returned. The treasury then held about 95,556 ETH and 43.1m DAI, plus insurance money from Sherlock. About 1,200 ETH was not recovered: 1,100 ETH had gone through the mixer Tornado Cash and 100 ETH had been sent to an address linked to the Ronin bridge attacker. Because ETH had risen during the talks, the returned assets were worth about $240m.
Euler then worked out what each depositor was owed. It valued each account as if its debts had been repaid at the moment the protocol was disabled, then paid out the recovered ETH, DAI and USDC in proportion to each account’s value. No account could receive more than 1.005 times its value. Where a market’s bad debt was bigger than its reserves, that market’s depositors shared the loss. Ordinary wallets claimed by signing an agreement to the redemption terms, and smart-contract accounts were handled case by case.
Recovery to date
Euler says all recoverable funds were returned, as of 3 April 2023, but about 1,200 ETH was lost for good and Euler has not published a recovery percentage that accounts for it, or a statement that every depositor received 100% of their account’s pre-exploit value. The redemption design was meant to make most depositors roughly whole, but some markets shared losses. The tracker therefore shows no single recovery figure for Euler. Redemptions opened on 12 April 2023.
Where things stand
Euler v1 is closed. The team rebuilt the protocol, and Euler v2 went live on 4 September 2024 after 31 audits, a $1.25m audit competition and a $3.5m hacking challenge. Press reports in June 2026 said unclaimed v1 redemptions could still be claimed from the redemption contract.
Euler is unusual in this tracker because the money came back. Most DeFi exploits end with funds lost for good. Audits reduce risk but do not remove it: the flaw that drained Euler had been audited.
Timeline
Each entry links to the source that states it.
- donateToReserves added to fix an earlier bug, without a health check. [1]
- Exploit drains about $197m. [1]
- Euler sets a 24-hour deadline; Sherlock agrees to pay a $4.5m claim. [6]
- Attacker returns the first 3,000 ETH. [1]
- 51,000 ETH returned. [1]
- Euler says all recoverable funds have been returned. [5]
- Redemption plan published. [3]
- Redemptions open. [2]
- Euler v2 launches after 31 audits. [8]
Legal process and status
- Process
- None
- Court
- None
- Case number
- None
- Status
- Closed. Users redeemed from 12 Apr 2023; relaunched later as Euler v2.
Running total to this date
24 failures documented from the first in the tracker to Euler Finance, 13 Mar 2023.
| What the amount measures | Total stated | Failures |
|---|---|---|
| Owed to customers and creditors | $16.4bn | 4 |
| Taken in exploits | $437m | 3 |
| Pool loans in default | $36m | 1 |
| Raised by an alleged fraud | $2bn | 1 |
Amounts are added only to amounts that measure the same thing, never into one figure. 14 of these failures have no stated amount, so each total is a floor. Recoveries are not subtracted. See the full running totals.
Sources
Court dockets, claims agents, administrators, regulators and company statements first. Press only where no primary source is available.
- War and peace: behind the scenes of Euler’s $240m recoveryEuler · Company statement
- Euler lets users redeem recovered fundsCoinDesk · Press report
- Plan for redemption of Euler fundsEuler forum · Company statement
- Plan for redemption of Euler funds, v2Euler forum · Company statement
- Euler says all recoverable funds have been returnedCoinDesk · Press report
- Sherlock to pay $4.5m to EulerThe Block · Press report
- Euler unclaimed ETH and the recovery processCrypto Briefing · Press report
- Euler launches v2 after the hackThe Block · Press report
Spotted an error or have a newer filing? Email info@bitcompare.net with the source. Figures we cannot source are shown as “Not disclosed”: we never estimate.
Further reading
- How crypto lending works
- Is stablecoin lending safe?
- Proof of reserves, and what it misses
- Is crypto insured?
Also in 2023: CoinLoan, Haru Invest, Delio.
Cite this data
Free to quote, chart and republish under CC BY 4.0, including commercially. Credit the Bitcompare crypto lender failures tracker and link to this page.
- Citation
Euler Finance: Drained in a flash-loan exploit on 13 Mar 2023. Taken in exploits: $197m. Source: Bitcompare crypto lender failures tracker (bitcompare.net/research/crypto-lender-failures/euler), checked 1 Dec 2026, CC BY 4.0.
- Chart image

https://bitcompare.net/research/crypto-lender-failures/chart.pngFailures by year across the whole tracker, rebuilt whenever the tracker changes (last 1 Dec 2026). The CSV has one row per failure, this one included. Download PNG
- Data
- Download CSV · JSONhttps://bitcompare.net/research/crypto-lender-failures/data.csv
- Licence
- Creative Commons Attribution 4.0 International (CC BY 4.0). Credit line: Source: Bitcompare crypto lender failures tracker.