Bitcoin Core maintainers have revealed and resolved a medium-severity security flaw that allowed a malicious actor to temporarily halt a node from handling blocks and transactions, an issue originally uncovered by an artificial intelligence scanner created by Block’s Spiral.
This vulnerability, designated as CVE-2026-117348, is addressed in Bitcoin Core releases 30.5, 31.3, and 32.1. The 30.5 and 31.3 updates launched on Friday alongside the public advisory, while version 32.1 has included the patch since October 27.
Vulnerable editions span from 29.0 through 29.5, 30.0 through 30.4, and 31.0 through 31.2. Because the 29.x branch has reached its end of life and will not receive a patch, node operators on that track must upgrade to a newer version.
How the Core bug operated
Bitcoin Core retains orphan transactions, whose parent transactions it has not yet observed, and requests the missing components from peers that advertise them. Starting with version 29.0, the software compiles a list of an orphan’s parents and evaluates each one against its mempool and filters prior to determining what to fetch.
A single inventory message can contain up to 50,000 items, and the software previously failed to filter out duplicates. A malicious actor could transmit an orphan possessing thousands of absent parents to a node, followed by messages duplicating that transaction identifier 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 security bulletin noted. Transmitting additional messages could prolong the interruption.
The remedy forces the node to process each transaction announced inside an inventory message only once. The advisory outlines a temporary denial-of-service glitch and does not mention any method for stealing bitcoin or permanently damaging a node, nor does it state whether the bug was ever exploited in the wild.
For a commercial enterprise operating an affected node, these delays could still prove problematic. An exchange might experience sluggishness when crediting user deposits, and a miner might continue operating on an outdated perspective of the blockchain while its node remains frozen.
An AI-discovered flaw under a quicker disclosure framework
The announcement credits an automated large language model scan executed via Elias Rohrer’s Project Loupe at Spiral, which is Block’s open-source bitcoin development division. Bitcoin Core contributor Gregory Sanders verified the discovery and escalated it to the project’s security team.
Loupe functions as a complimentary scanner that deploys AI agents across open-source bitcoin software and exclusively flags discoveries supported by a functional test case. Bitcoin Core, BDK, LDK, rust-bitcoin, Cashu, Blockstream Jade, bitcoinj, and SRI participated in its initial testing phase. Rohrer stated during a recent podcast that Spiral initiated the project around March and commenced continuous scanning in May, with Bitcoin Core included in the inaugural group.
Loupe flagged the problem on July 8. A developer known as Stutxo independently reported the same issue on August 4, which was the exact day Sanders submitted a pull request containing the patch, which was subsequently merged two days later. The fix was backported to the 30.x and 31.x branches on November 17.
Bitcoin Core categorized the vulnerability as “easily discoverable.” Under guidelines the project implemented in October, vulnerabilities in that classification receive backports for every maintained release along with a public advisory immediately after patched builds are released, avoiding a prolonged multi-month embargo.
Security operations across the bitcoin software landscape have remained active this autumn, ranging from a Linux kernel security flaw that triggered a Lightning patch to a novel security evaluation concerning a post-quantum signature proposal. Rohrer has noted that Loupe generates a high volume of alerts, which some development teams found overwhelming, and mentioned that the crew is actively working to minimize false positives.
This incident is not Loupe’s initial find within Bitcoin Core. Contributors on an Optech podcast on November 3 reviewed three prior Core security bulletins uncovered by the scanner. Although other independent researchers identified certain identical problems, they did so only after Loupe had already flagged them.
Originally published at https://bitcoinmagazine.com/news/bitcoin-core-patches-ai-found-node-bug.