Finst

Bitcoin Core Bug Could Reveal a Wallet's IP Address

The attack was tested on testnet and also affects wallets like Sparrow, Specter, and Electrum Personal Server. Rebroadcasting old transactions is what makes the IP address visible.

Bitcoin Core Bug Could Reveal a Wallet's IP Address

Key Takeaways

  • A small Bitcoin payment can reveal the IP address of a Bitcoin Core wallet through the automatic rebroadcasting of unconfirmed transactions.
  • The attack was successfully tested 30 out of 30 times on testnet and cost about 18 to 34 cents per attempt.
  • Wallets and nodes that rely on Bitcoin Core can also be at risk, including some Tor users with regular internet connections.

A payment of less than 35 cents may be enough to find the internet address of the computer behind a Bitcoin Core wallet. According to Bitcoin Core contributor Abubakar Sadiq Ismail, that could hurt users' privacy. So far, the attack has only been tested on a testnet and not on the live Bitcoin network.

How the Leak Works

Ismail described the attack earlier this week on Delving Bitcoin, a forum for Bitcoin developers. It centers on a standard Bitcoin Core feature: if a payment still has not been confirmed after about 12 to 36 hours, the software rebroadcasts that transaction to help get it processed.

An attacker can trigger that behavior by sending a very small payment to an address that has been used before, with the lowest fee the network allows. Because that payment will likely get stuck, the node that rebroadcasts the transaction later becomes the one that can be seen. By then checking which node responds, an attacker can link a wallet to an internet connection and possibly even to a home address.

On a testnet using standard Bitcoin Core software, the method identified the correct system 30 out of 30 times. Each payment cost about 18 to 34 cents, according to Ismail, with Bitcoin trading around $60,000 (€54,700).

More Wallets Are at Risk

The exposure goes beyond Bitcoin Core itself. Wallets that rely on it, such as Sparrow in Core mode, Specter, Liana, JoinMarket, and Electrum Personal Server, can also be affected.

Even nodes running behind Tor but still using regular internet connections can leak their real IP address. In that case, the rebroadcast goes out across all networks at once. Users can turn off the behavior with the -walletbroadcast=0 setting, but then transactions have to be sent manually.

Why This Matters for Users

The report shows how small technical behavior in wallet software can still have major privacy consequences. For European Bitcoin users, that matters because many people run their own node to keep more control over their transactions and data.

Bitcoin Core has often responded quickly to security issues in the past. In this case, PR #36482 has not been released yet, while proposed opt-in variants are in separate pull requests. According to another Core contributor, Martin Zumsande, the proposed change only slightly increases the cost of an active attack. Earlier, another Bitcoin Core bug already showed how small protocol or software mistakes can have direct effects on nodes and network stability.


Disclaimer: This content is for informational purposes only and does not constitute financial, investment, legal, or tax advice. The information provided may be incomplete, inaccurate, or outdated and should not be relied upon as such. Nothing on this website should be considered a recommendation to buy, sell, or hold any cryptocurrency. Investing in crypto-assets involves risk of loss.