Security658 words3 min decode

AI Scan Finds Bitcoin Core Bug That Stalls Nodes With 50,000 Repeats

Block's Project Loupe AI scan found a Bitcoin Core flaw, CVE-2026-117348, that stalls nodes for over a dozen seconds; versions 30.5 and 31.3 ship fixes.

Bitcoin nodes could be stalled by repeating one ID 50,000 times. AI found the bug
WitnessBitcoin nodes could be stalled by repeating one ID 50,000 times. AI found the bugblickpixel / pixabay

Outputs

  1. Bitcoin Core disclosed CVE-2026-117348 on Friday and released fixed versions 30.5 and 31.3.

  2. An attacker could stall a node for over a dozen seconds by repeating one transaction ID 50,000 times in a batch announcement.

  3. The bug was found by an automated AI scan through Project Loupe, run by Elias Rohrer at Spiral, Block's open-source unit.

  4. Core developers rated the bug medium severity and easily discoverable, triggering public disclosure under the Oct. 22 security policy.

  5. The flaw affected orphan-transaction handling introduced in Bitcoin Core version 29.0.

By Elena Vasquez

An automated AI scan developed at Block, Jack Dorsey's payments company, discovered a flaw in Bitcoin Core that lets an attacker freeze a node for more than a dozen seconds by repeating a single transaction ID 50,000 times. Bitcoin Core disclosed the vulnerability on Friday as CVE-2026-117348 and shipped patched releases, versions 30.5 and 31.3.

The finding came through Project Loupe, an AI bug-hunting effort run by Elias Rohrer at Spiral, Block's open-source Bitcoin development unit. Core developers rated the bug "medium severity" and, notably, "easily discoverable" — a label that carries weight under the project's new disclosure rules.

That matters because of a policy change. On October 22, Bitcoin Core adopted a security policy under which easily discoverable flaws receive fixes across all maintained versions as quickly as possible, with a public advisory released alongside the patches. The reasoning is blunt: AI tooling has made some vulnerabilities cheap for attackers to rediscover, eroding the protection that quiet fixes once provided.

How did the attack actually work?

The exploit targets how nodes handle orphan transactions. An orphan is a payment that spends coins from an earlier transaction the node has not yet seen, so the node holds it and searches for the missing parents.

Since version 29.0, when a peer announces such an orphan, Bitcoin Core builds a list of its missing parent transactions and checks its own records before deciding what to request. That check is expensive. Nodes announce transactions in batches of up to 50,000 entries, and the software did not skip duplicates within a batch.

The attack chain is simple. An attacker first sends an orphan transaction with thousands of missing parents, then repeats its ID 50,000 times within a single announcement. The receiving node performs the costly parent-checking routine over and over, once per duplicate.

"Each such message stalls the node for over a dozen seconds," the advisory said. During the stall, the node processes no messages from other peers, including new blocks. Sending further messages could extend the disruption, though the delay is temporary rather than permanent.

The fix is straightforward: the node now processes each transaction announced in a batch only once. Simpler patches tend to carry less risk of introducing new defects, though the advisory does not claim the fix is risk-free.

What were the operational consequences?

The practical fallout concentrated on businesses that depend on timely message processing. An exchange relying on an affected node could see delayed deposit crediting, since the node would not register incoming confirmations while stalled. A miner, meanwhile, could waste computing power extending an outdated view of the blockchain — hashing on a stale tip while competitors build on the current one.

Nodes are the computers that validate Bitcoin payments and relay transactions and blocks to one another, so a stall ripples outward to every service built on top of them. The attack required no privileged access, only the ability to send announcements to a node, which any network peer possesses by default.

Does this signal a shift in disclosure practice?

The episode is a concrete test of the October 22 policy, and it behaved exactly as designed: an AI-discovered flaw, judged cheap for others to rediscover, went from private fix to public advisory in one motion. The old model of withholding disclosure to buy time no longer holds when the same scan that found the bug can find it again.

Project Loupe's success also raises a question the disclosure does not address: how many comparable duplicate-handling flaws exist elsewhere in Bitcoin Core's request-processing paths. One confirmed find does not establish a pattern, but it does suggest the attack surface is being surveyed more systematically than before.

Expect the shortened disclosure window to become the norm for easily discoverable bugs, as maintainers weigh the speed of AI rediscovery against the lag of voluntary upgrades.

via cryptonews.net (Source)

More from Elena Vasquez

Elena Vasquez

Show full bio

Staff writer covering regulation, policy and their impact on crypto and web3 industry at Mempool Brief.

1,765 articles