project loupe bitcoin bug: AI Scan Finds Node-Stall Flaw, Bitcoin Core Patches It
The project loupe bitcoin bug, CVE-2026-117348, let a peer stall a node by repeating one orphan ID 50,000 times; Bitcoin Core credits an automated LLM scan at Block's Spiral and shipped fixes.

- Fixes shipped in Bitcoin Core 30.5, 31.3 and 32.1. Affected versions are 29.0 to 29.5, 30.0 to 30.4 and 31.0 to 31.2, per the advisory.
- Each malicious message could stall a node for "over a dozen seconds," during which it processes nothing from other peers, including new blocks.
- Bitcoin Core rated the bug Medium severity and "easily discoverable," which triggers fast public disclosure under its newer policy.
in this block
The project loupe bitcoin bug is a real-world win for AI code scanning. Bitcoin Core disclosed CVE-2026-117348 on Nov. 20, a flaw that let a peer stall a node by announcing one orphan transaction ID up to 50,000 times. The advisory says the issue was found through an automated LLM scan in Project Loupe at Spiral, Block's open-source unit.
What actually happened
Bitcoin nodes keep "orphan" transactions, payments whose parent transactions they have not seen yet, and ask peers for the missing parents. Since version 29.0, when a peer announces an orphan, Bitcoin Core builds a list of the orphan's parents and checks each one against its mempool and recent-transaction filters.
The Bitcoin Core advisory explains the catch. A single announcement message can hold up to 50,000 entries, and duplicates were not skipped. An attacker could send an orphan with thousands of missing parents, then repeat its ID 50,000 times. The node would run the same expensive checks over and over.
CoinDesk explained the practical risk: an exchange running an affected node could be slow to credit deposits, and a miner could waste hash power on an outdated view of the chain. The fix is simple. Each transaction in an announcement is now processed only once.
How AI found the project loupe bitcoin bug
The attribution line is the spicy part. The advisory says the issue "was discovered through an automated LLM scan, as part of Elias Rohrer's Project Loupe at Spiral." Gregory Sanders validated the finding and brought it to the Bitcoin Core security team.
CoinDesk described Loupe as an open-source scanner from Block's Spiral that uses AI agents to examine bitcoin code. So this is not a demo or a benchmark. It is a credited CVE in the most battle-tested codebase in crypto.
The timeline in the advisory:
- July 8, 2026: Project Loupe reports the issue.
- Aug. 4: a researcher known as Stutxo independently reports it, and Sanders opens a fix.
- Aug. 6: the fix is merged.
- Oct. 27: Bitcoin Core 32.1 ships with the fix.
- Nov. 20: versions 30.5 and 31.3 ship, and the bug goes public.
The 29.x series has reached end of life and will not get a fix.
Why the disclosure was fast
Bitcoin Core's security policy now treats bugs that can be found "with minimal effort, such as through a simple LLM prompt" differently. Those get point releases for each maintained version as soon as possible, with an advisory, instead of the usual embargo. We covered that shift in our bitcoin core ai bugs story.
The logic is blunt: if AI makes a bug cheap to rediscover, hiding the fix buys less time. This CVE is a live example of the policy working as written. It also shows that defenders can use the same tools attackers might. Notably, a human researcher found the same bug independently a month after Loupe did, which suggests the AI was not seeing something invisible to people, just finding it sooner and cheaper.
For a different kind of AI security story, see our piece on the artex ai hacking tool.
What to do as a reader
If you run a node, or depend on one, the project loupe bitcoin bug has a clear fix:
- Upgrade to Bitcoin Core 30.5, 31.3 or 32.1, or newer.
- If you are still on 29.x, plan a move to a maintained version. No patch is coming for it.
- Exchanges and miners should check their infrastructure, since stalls hit deposit crediting and block templates.
- Regular holders do not need to do anything with their coins, and wallets that do not run their own node are not affected by the stall at all. This was a node availability bug, not a way to steal funds.
AI found it, humans verified it, nodes got patched. That is how it should work.
Not financial advice. DYOR, ser.