Kava Lend Exploited: $3.76M Drained in Lending Pool Attack

On November 14, Kava Lend, a lending protocol within the Kava DeFi ecosystem, suffered a sophisticated attack. Exploiting a technical flaw in a deprecated BUSD market, the attacker drained a significant amount of KAVA tokens, resulting in an estimated loss of $3.76 million. The incident triggered a sharp sell-off, causing the KAVA token price to plummet nearly 40% within 24 hours.

The Exploit: Manipulating Collateral via a Pricing Flaw

The attack hinged on a subtle edge-case vulnerability. The attacker targeted a BUSD market that had been deprecated for new loans but remained technically active within the protocol.

  • Step 1: Draining Market Supply: The attacker took out a minuscule BUSD loan, pushing the market's net supply down to a near-zero value ($0.00000002).
  • Step 2: Triggering the Bug: The protocol's yield calculation function, designed to skip division when net supply is zero, failed to properly handle this "extremely small non-zero" edge case. This bug artificially inflated the attacker's deposit value by approximately 243,000 times.
  • Step 3: Creating Phantom Collateral: Leveraging this flaw, the attacker generated a false collateral value of around $1.25 billion in BUSD using only a minimal initial stake.

The Drain: Bypassing Limits with 127 Transactions

With massive phantom collateral in place, the attacker faced another hurdle: the protocol's per-transaction borrowing limit.

Using a second associated account, the attacker employed a "batch borrowing" strategy. Over a short period, this account executed 127 separate borrowing transactions, each staying within the limit, to systematically drain the KAVA pool. The protocol's KAVA reserves plummeted from roughly 55.33 million tokens to a mere 0.19 tokens, with over 55.2 million KAVA extracted.

Fund Movement and Market Impact

Following the heist, the attacker quickly bridged approximately 49.2 million KAVA tokens to BNB Chain via the LayerZero cross-chain bridge. Within an hour, the majority of these tokens were sold on the open market for about 3,006 BNB and 231,557 USDT, totaling roughly $2.09 million.

The massive, sudden sell-off severely impacted the token's price. KAVA crashed from a pre-exploit price of around $0.068 to a low of $0.042, representing a maximum drop of nearly 40%.

Official Response and Aftermath

Kava officially acknowledged the security incident, stating that the issue was "not an infinite mint bug" and was contained within the Kava Lend protocol. In response, Kava coordinated with several centralized exchange partners to temporarily suspend deposits and withdrawals of KAVA. As of now, the team has not released a final official loss figure or a detailed post-mortem report.