Bitcoin

AI-found Bitcoin Core bug hits 53% of reachable nodes

A Bitcoin Core flaw found by an AI scan can stall nodes. On November 21, 11,354 of 21,482 reachable nodes still ran affected versions, Bitnodes data shows.

In brief

  • Bitcoin Core 29.x reached end of life on October 27 and will not get a fix, and 4,591 nodes ran it.
  • Fixes are in 30.5, 31.3 and 32.1, but about 20 hours after release only 22 nodes ran 30.5 and 33 ran 31.3.
  • Project Loupe reported the bug on July 8, 135 days before public disclosure.
found Bitcoin Core bug hits 53% of reachable nodes

Why it matters

A peer can temporarily stop an affected node from processing blocks and transactions. Bitcoin Core fixes are available in 30.5, 31.3 and 32.1, but operators still running 29.x must move to a newer major release because their series will not receive a fix.

A denial-of-service flaw in Bitcoin Core, found by an automated AI scan in July, lets a peer stop a node from processing blocks and transactions, and 52.9% of reachable Bitcoin nodes were still running an affected version on November 21. The project disclosed the bug as CVE-2026-117348 on November 20, the day it shipped fixes in versions 30.5 and 31.3. A Bitnodes snapshot taken at 07:21 UTC on November 21 counted 11,354 of 21,482 reachable nodes on affected releases.

The disclosure says that since version 29.0, when a peer announces a transaction the node already holds as an orphan, Bitcoin Core builds the orphan's parent list and checks each parent against its mempool and its filters of recently seen transactions. A single inv message can carry up to 50,000 entries, and duplicates were not skipped. An attacker could send an orphan with thousands of missing parents and then repeat its ID 50,000 times. "Each such message stalls the node for over a dozen seconds, during which it processes no messages from other peers, including blocks," the disclosure says. The fix processes each announced transaction only once per message. Bitcoin Core rates the issue "Medium severity and easily discoverable." The disclosure describes a temporary stall and does not mention crashes or loss of funds.

Table

Reachable nodes on affected Bitcoin Core releases at 07:21 UTC on November 21

Scroll sideways for more columns

Affected release rangeApproximate reachable node count
29.0 to 29.54,591
30.0 to 30.41,096
31.0 to 31.25,667
All affected releases11,354

Source: Bitnodes website.

Who is still exposed

Affected versions are 29.0 to 29.5, 30.0 to 30.4 and 31.0 to 31.2. The fix is in 30.5, 31.3 and 32.1, which came out in late October. The 29.x series "has reached end of life and will not receive a fix," the disclosure says. Bitcoin Core's lifecycle page puts that end of life at October 27, 2026, when 32.x was released, under a policy of maintaining the last three major releases.

In the Bitnodes snapshot, 4,591 nodes ran 29.x and can only close the hole by moving to a newer major release. Another 1,096 ran 30.0 to 30.4 and 5,667 ran 31.0 to 31.2. About 20 hours after the patched releases, 22 nodes ran 30.5 and 33 ran 31.3, while 6,584 ran 32.x. Bitnodes reads versions from the user agent each node reports about itself and only sees reachable nodes, so the counts are approximate.

What we know

  • Affected: 29.0 to 29.5, 30.0 to 30.4 and 31.0 to 31.2; fixed in 30.5, 31.3 and 32.1 (Bitcoin Core, November 20).
  • Effect: a peer can stall block and transaction processing for over a dozen seconds per message.
  • 11,354 of 21,482 reachable nodes ran affected versions at 07:21 UTC on November 21 (Bitnodes).

What we don't know

  • Whether anyone used the flaw against nodes before the fix; the disclosure does not say.
  • How many nodes that do not accept incoming connections, which Bitnodes cannot count, run affected versions.

Found by an AI scan

The bug "was discovered through an automated LLM scan, as part of Elias Rohrer's Project Loupe at Spiral," the disclosure says, and Gregory Sanders validated the finding and passed it to the Bitcoin Core security team. Loupe reported it on July 8, Stutxo reported it independently on August 4, and Sanders opened the fix, pull request #35878, the same day. It was merged on August 6. Backports for the 30.x and 31.x branches were opened on November 17, so 135 days passed between the first report and public disclosure.

Project Loupe describes itself as a "free AI-powered vulnerability scanner for open-source bitcoin projects," created by Spiral and Block. It is credited in at least three earlier Bitcoin Core disclosures. On October 28 Bitcoin Core disclosed CVE-2026-117346, CVE-2026-117349 and CVE-2026-117350 and credited Loupe in each.

Related projects: Bitcoin

How we verified Checked against the document (Bitcoincore: Disclose orphan inv stall), the document (Bitcoincore: Lifecycle) and the document (bitcoin pull request 35878 on GitHub).

Sources

Checked by OnchainBeat · 6 links, 6 primary documents
  1. DocumentBitcoincore: Disclose orphan inv stallbitcoincore.org
  2. DocumentBitcoincore: Lifecyclebitcoincore.org
  3. Documentbitcoin pull request 35878 on GitHubgithub.com
  4. DocumentProjectloupe: Aboutprojectloupe.org
  5. DocumentBitcoincore: Disclose undo overflowbitcoincore.org
  6. DocumentBitcoincore: Disclose fpausesend oombitcoincore.org