A Bitcoin Core bug could stop a mining node from building blocks
Bitcoin Core, the software that most of the network runs, disclosed on Nov. 10 a bug that could stop a mining node from building new blocks. Its developers rated it High, the second-worst of their four severity levels.
The flaw sat in versions 28.0 to 28.2 and 29.0 to 29.1. It was fixed in October 2025, in versions 30.0, 29.2 and 28.3, and the developers have reported no attacks using it. A miner on any newer version has nothing to do.
What went wrong
Every pool builds its next block from a template: a list of waiting transactions that its node picks from its mempool, the queue of unconfirmed payments. Mining machines then race to find a valid hash for that block.
The trouble started with a reorg, when the network swaps its latest block for a competing one. The node then puts the dropped block's transactions back in its queue. A rule for a newer kind of transaction, known as TRUC or version 3, wrongly threw one of them out while keeping the transactions that spent its coins.
That left the queue holding payments from coins that no longer existed. In the advisory's words, the "assembled template fails its validity check, so a node that performed such a reorg cannot produce blocks until it is restarted."
A restart fixes it, if someone notices
The odd part is how small the cure is. Nothing is lost and no setting needs changing: restarting the node reloads a clean queue. The cost is the time before anyone notices, because a pool whose node cannot hand out a valid block cannot win the 3.125 BTC subsidy, however hard its machines work.
The bug mostly matters to nodes that build blocks. Most nodes on the network do not, and public node counts do not say which nodes belong to pools, so there is no way to tell from outside how many mining nodes were exposed.
About 9% of publicly reachable nodes still ran an affected version on Nov. 13, according to Bitnodes. Nodes older than version 28 are not hit by this bug at all, because the faulty rule arrived in 28.0, as the chart shows.

Why it is coming out now
The fix shipped more than a year ago, and the delay was deliberate. Bitcoin Core publishes details of Medium and High bugs two weeks after the last affected version reaches end of life, which gives users about a year to upgrade. For this bug, that date was Oct. 27, when the 29.x line stopped getting fixes.
Niklas Goegge found the flaw and reported it privately on Sept. 26, 2025. Greg Sanders wrote the fix.
The same batch disclosed two Medium bugs, both also fixed in the 2025 releases. One let a peer stall a node's block processing with a tampered compact block. The other gave inbound Tor connections the permissions of trusted peers on some setups.
What to watch
Version 29.x no longer gets security fixes, so a pool still on it will not be covered by the next advisory either. Bitcoin Core has also changed its rules: bugs simple enough for an AI prompt to find are now patched and disclosed right away, with no year-long wait.