# Chainflip Traces $12.6 Million Vault Drain to a Memory Bug in the Open-Source libzmq Library

The cross-chain swap network has counted losses of 133.34 bitcoin, 520.22 ether and about $4 million in dollar stablecoins, but it remains paused and has set no repayment date.

- Published: 2026-11-28T05:39:43.661Z
- Canonical: https://polylog.news/crypto/2026-11-28/chainflip-traces-12-6-million-vault-drain-to-a-memory-bug-in
- Publisher: Polylog (Crypto desk)
- Section: crypto
- Sources: [CryptoSlate](https://cryptoslate.com/chainflip-identifies-who-lost-money-in-12-6-million-hack-as-recovery-plan-takes-shape/), [TokenPost](https://www.tokenpost.com/news/technology/63803), [Crypto Times](https://www.cryptotimes.io/2026/11/27/chainflip-traces-12-6m-exploit-to-validator-messaging-library-flaw/), [Crypto Economy](https://crypto-economy.com/chainflip-plans-recovery-fund-after-12-6m-crypto-hack/), [Cryptopolitan](https://www.cryptopolitan.com/chainflip-blames-third-party-library-exploit/), [PANews](https://panews.io/articles/01a21d45-b860-71b2-96c0-e89501f3d363), [CoinStats](https://coinstats.app/news/b168dd4c41ab5d62258c4617498777c3c7e477d72c20023af401840fe689fa3a_Chainflip-Loses-736K-in-Tron-USDT-Exploit-Pauses-Until-Monday)

Chainflip runs a cross-chain swap network in which a set of validators jointly controls vaults on other blockchains. The company says an attacker took about $12.6 million on November 21 by exploiting a use-after-free defect in libzmq. A use-after-free is a memory-safety bug in which a program keeps using memory after it has released it. libzmq is the core library of the ZeroMQ messaging system, and Chainflip's validator software uses it to pass messages. In its second incident report, Chainflip said its smart contracts, its threshold signing system and its State Chain logic were not at fault, [according to TokenPost](https://www.tokenpost.com/news/technology/63803).

The attacker took [133.34 bitcoin, 520.22 ether, 3.25 million USD Coin (USDC) and 758,141 Tether (USDT)](https://crypto-economy.com/chainflip-plans-recovery-fund-after-12-6m-crypto-hack/). Chainflip [identified its Bitcoin and Ethereum vaults](https://panews.io/articles/01a21d45-b860-71b2-96c0-e89501f3d363) as the point of attack and said it will not restart the protocol until a security review is complete. The 10% bounty it offered the attacker [expired on November 23](https://www.cryptopolitan.com/chainflip-blames-third-party-library-exploit/), and no funds came back. No one has publicly attributed the attack.

Chainflip has now [identified who lost money](https://cryptoslate.com/chainflip-identifies-who-lost-money-in-12-6-million-hack-as-recovery-plan-takes-shape/) and plans a recovery fund that the protocol will run itself. It will record each user's loss on-chain and settle open loans at prices from the time of the attack. It will publish separate proposals for swappers, active liquidity providers and Chainflip Labs, [Crypto Times reported](https://www.cryptotimes.io/2026/11/27/chainflip-traces-12-6m-exploit-to-validator-messaging-library-flaw/). The company has not said how much each group will receive or when.

This is Chainflip's second incident in about ten weeks. On September 12 an attacker drained 736,442 USDT from the Tron integration. The attacker attached a new memo to a transaction that validators had already signed, and the system read the memo as a separate swap instruction, [CoinStats reported](https://coinstats.app/news/b168dd4c41ab5d62258c4617498777c3c7e477d72c20023af401840fe689fa3a_Chainflip-Loses-736K-in-Tron-USDT-Exploit-Pauses-Until-Monday). Chainflip repaid those users.

Neither incident involved a flaw in on-chain contract code. The first came from how the protocol interpreted an input, and the second came from a dependency inside the node software. Attributing the fault to a widely used upstream library benefits Chainflip, because it shifts responsibility away from code the company wrote itself. If the account is accurate, it also means other projects that run libzmq in networked services carry the same exposure. Available reporting does not yet include confirmation from the library's maintainers or an independent reproduction of the root cause.

## What this means

Threshold-signature bridges inherit the memory-safety defects of every library their validators run, and contract audits never priced that risk. The likelier outcome is that other validator-run bridges audit their ZeroMQ exposure and ship patches within weeks. An independent finding that the fault lay in Chainflip's own code would undercut this read.

## What to watch

- Whether ZeroMQ's maintainers publish a security advisory for the libzmq defect. An advisory would let other projects check their exposure and confirm Chainflip's account.
- The size of Chainflip's recovery payouts. A full repayment would repeat the September precedent, and a partial payout would show users absorbing protocol losses.
- Whether the stolen bitcoin and ether move from the attacker's addresses. Movement toward exchanges would give investigators a chance to freeze funds.
