A newly disclosed Bitcoin node vulnerability – discovered not by a human auditor but by an AI code scanner – could let a single peer freeze a Bitcoin Core node for more than a dozen seconds per message, with no upper bound on how long the stall can be stretched.
Bitcoin Core shipped a fix on November 20 for a bug in its inv (inventory) message handling: the protocol allows up to 50,000 inventory entries per announcement, and duplicate entries were not being skipped. An attacker could first push an orphan transaction with thousands of missing parents, then repeat its wtxid 50,000 times in one message, sending the node chasing the same missing parents over and over. Each message stalls processing for well over a dozen seconds – blocks included – and the trick can be repeated indefinitely.
Found by Loupe, Block’s AI Code Scanner
The bug was uncovered by Loupe (Project Loupe), the open-source, LLM-based security scanner built by Jack Dorsey’s Block at its Spiral unit. It is the latest in a fast-growing count of AI-assisted finds in Bitcoin Core: three AI-discovered flaws – including a memory-exhaustion crash affecting Windows, macOS and BSD nodes – were disclosed on October 28.
That cadence forced a policy change. On October 22, Bitcoin Core announced it will publish vulnerabilities that are easily discoverable with large language models together with their fixes, rather than holding them under the usual embargo – on the reasoning that AI tools make such bugs cheap for attackers to rediscover anyway.
Severity, Versions and the Fix
Rated medium severity, the flaw affects Bitcoin Core versions 29.0 through 31.2 and is fixed in versions 30.5, 31.3 and 32.1. The impact is a temporary denial-of-service on individual nodes rather than a halt to the Bitcoin network, but the episode underlines how quickly AI tooling is compressing the window between bug discovery and exploitation – and why node operators should prioritize the patched releases.
Source: CoinDesk, November 21, 2026; Bitcoin Core advisory; Block Spiral Project Loupe.
