Technology News • • 5-8 minutes

One Message With 50,000 Repeated IDs Froze a Bitcoin Node. An AI Scanner Found It

Diego Cortés
Diego Cortés
Full Stack Developer & SEO Specialist
Share:
One Message With 50,000 Repeated IDs Froze a Bitcoin Node. An AI Scanner Found It
Image generated with AI

One message can freeze your Bitcoin node for over twelve seconds, and the flaw sat in plain sight for a hundred days. It is CVE-2026-117348, the advisory landed on November 20, and an AI scanner found it.

What Happened, in One Sentence and Three Dates

A remote peer could temporarily stop block and transaction processing by repeatedly announcing the same orphan transaction with many missing parents. The advisory went public on November 20 as medium severity, with an uncomfortable admission attached: it is "easily discoverable". Affected: 29.0 through 29.5, 30.0 through 30.4 and 31.0 through 31.2; fixed in 30.5, 31.3 and 32.1. Reported on July 8, fixed in August, disclosed in November.

The Mechanism: A List Walked 50,000 Times

The Orphanage and the inv Message

When a node receives a transaction whose parents it has not seen yet, it parks it in the orphanage and asks the announcing peer for the missing parents. Since version 29.0, when a peer announces a transaction by wtxid and that transaction is already in the orphanage, the node builds the parent list and checks each one against its mempool and its recently-seen transaction filters to decide whether to request them. A single inv message carries up to 50,000 entries, and duplicates were not skipped: the same wtxid 50,000 times was processed 50,000 times. The attack: an orphan with thousands of missing parents, then inv messages repeating its wtxid, each one stalling the node for over a dozen seconds.

What "Stalled" Means: It Is Not a Crash

No coins were at risk: the flaw lives in peer-to-peer message handling, not in consensus or keys. The node does not fall over, it stops answering: while it processes that message it reads nothing from other peers, blocks included. CoinDesk lists two possible outcomes rather than demonstrated damage.

The Detection Chain: Scanner, Validator, PR, Backports

Project Loupe, Spiral's Automated Scan

The find came from Project Loupe, the LLM-driven automated scan Spiral launched in May for free on open-source bitcoin projects. It only reports flaws backed by a demonstrable test case and does not name the model.

Two Reports, One Fix, 135 Days

Loupe reported on July 8, and Gregory Sanders validated it and took it to the security team. On August 4, the researcher known as Stutxo reported the same thing independently, and that day Sanders opened pull request 35878, with no mention of a vulnerability: "there is no reason we should process conflicting advertisements for transactions". The fix merged on August 6 and shipped in 32.1 on October 27; backports landed on November 17 and the maintained releases shipped on the 20th, alongside the advisory, because policy waits for a patched release on every live branch.

What Node Operators Have to Do

Upgrade to 30.5, 31.3 or 32.1

On 30.x or 31.x the jump is short: 30.5 or 31.3. If you have been on 32.1 since October 27, you were covered before the advisory. The fix is small: process each transaction announced in an inv message only once.

The 29.x Branch Has No Fix

The 29.x series has been end-of-life since October 27 and will not be patched. There is nothing to wait for there: you have to move to another branch.

The Engineering Lesson: Untrusted Input and Bounded Work

The 50,000-entry cap bounds the message size, not the work its contents generate. Deduplicating before processing costs a few lines; skipping it costs a dozen seconds of blindness per message.

What the Advisory Does Not Say

It reports no exploitation, and there is no public evidence of any. It does not identify the AI model. And it does not explain why the backports took eleven weeks: detection was fast, deployment was not.

Conclusion

Finding flaws is now the cheap half of the process and shipping installable releases is still the expensive one: the same bottleneck Satya Nadella described when he said AI finds flaws faster than we can patch them. If you run services that accept data from strangers, this week's task list is short: upgrade, and review what you do with the lists a third party hands you.

Categories