Bitcoin Core developers have patched a medium-severity bug that could temporarily freeze a node's processing of blocks and transactions, a flaw initially identified by an AI scanner built by Block's Spiral. The vulnerability, tracked as CVE-2026-117348, affects Bitcoin Core versions 29.0 through 29.5, 30.0 through 30.4, and 31.0 through 31.2, and has been fixed in versions 30.5, 31.3, and 32.1, according to Bitcoin Magazine.

Key takeaways

  • A medium-severity bug in Bitcoin Core could temporarily stall a node's processing of blocks and transactions.
  • The vulnerability, CVE-2026-117348, was first flagged by an AI scanner named Loupe, developed by Block's Spiral.
  • Affected Bitcoin Core versions range from 29.0 to 31.2, with fixes released in versions 30.5, 31.3, and 32.1.
  • The bug allowed an attacker to send duplicate transaction IDs, causing a node to stall for over a dozen seconds per message.
  • This incident highlights a new, faster disclosure policy for "easily discoverable" flaws in Bitcoin Core, ensuring quicker fixes.

How the Bitcoin Core Bug Operated

The recently patched bug in Bitcoin Core centered on how nodes handle "orphan" transactions, which are transactions whose parent transactions have not yet been seen. Since version 29.0, the software would build a list of an orphan's parents and check each one against its mempool and filters before requesting missing pieces from peers. The vulnerability arose because a single inventory (inv) message, which announces transactions, can carry up to 50,000 entries, and the software did not skip duplicates.

An attacker could exploit this by sending a node an orphan transaction with thousands of missing parents, then repeatedly sending messages with that transaction's ID up to 50,000 times. Each such message could stall the node for over a dozen seconds, during which it would not process messages from other peers, including blocks. Sending multiple such messages could extend this disruption, creating a temporary denial-of-service situation. The fix ensures that the node processes each transaction announced in an inv message only once.

AI's Role in Discovering the Vulnerability

The vulnerability was initially flagged by an AI scanner named Loupe, developed by Project Loupe at Spiral, Block's open-source Bitcoin development arm. Loupe is a free scanner that uses AI agents to analyze open-source Bitcoin code and reports findings only when backed by a working test case. Bitcoin Core developer Gregory Sanders validated the finding and brought it to the project's security team. Loupe reported the issue on July 8, with another developer independently reporting it on August 4.

Spiral started Project Loupe around March and began continuous scanning in May, with Bitcoin Core included in the first batch of projects. This is not Loupe's first contribution to Bitcoin Core security; developers on an Optech podcast on November 3 discussed three earlier Core security advisories that the scanner had found. While other researchers sometimes reported the same issues, Loupe often identified them first, demonstrating the potential of AI in proactive security auditing.

Patch Releases and Disclosure Policy

The vulnerability, tracked as CVE-2026-117348, has been addressed in Bitcoin Core versions 30.5, 31.3, and 32.1. Versions 30.5 and 31.3 were released on Friday, November 21, 2026, alongside a public advisory, while version 32.1 had already included the fix since October 27, 2026. Affected versions span from 29.0 through 29.5, 30.0 through 30.4, and 31.0 through 31.2. Operators using the 29.x series, which has reached its end of life, are advised to upgrade to a newer release as it will not receive a fix.

Bitcoin Core rated this bug as "easily discoverable." Under a new policy adopted in October, flaws in this category now receive fixes backported to every maintained version, along with a public advisory issued as soon as the patched releases ship, rather than undergoing a months-long embargo period. This faster disclosure policy aims to enhance the security posture of the Bitcoin network by expediting the release of critical updates.

What This Means for Bitcoin Holders and Node Operators

For individual Bitcoin holders, this specific bug did not pose a direct threat of bitcoin theft or permanent node damage. The advisory explicitly states that it describes a temporary denial-of-service problem. However, for businesses and services running affected nodes, the stalls could have practical implications. For example, a cryptocurrency exchange might experience delays in crediting deposits, potentially impacting user experience and operational efficiency. Similarly, a miner operating a stuck node could continue working on an outdated view of the blockchain, leading to wasted computational effort.

This incident underscores the importance of running updated Bitcoin Core software. Node operators should ensure they are using the latest patched versions (30.5, 31.3, or 32.1) to maintain network health and prevent potential disruptions. The proactive identification of such bugs, especially through advanced tools like AI scanners, contributes to the overall resilience and security of the Bitcoin network, benefiting all participants.

Ongoing Security Efforts and Future Outlook

The discovery and swift patching of this bug highlight the continuous and evolving security work within the Bitcoin ecosystem. This fall has seen significant security activity across various Bitcoin-related software, including a Linux kernel flaw that prompted a Lightning Network fix and new security analyses of post-quantum signature proposals. The use of AI tools like Loupe, which produces a high volume of reports, indicates a shift towards more automated and comprehensive security auditing.

While some projects initially found Loupe's reports to be "noisy," its team is actively working to reduce false positives, aiming to refine its effectiveness. The increasing integration of AI in identifying vulnerabilities, as seen with Project Loupe, suggests a future where automated tools play a more prominent role in maintaining the security and integrity of open-source projects like Bitcoin Core. This proactive approach is crucial for safeguarding the network against emerging threats and ensuring its long-term stability.

Sources