Bitcoin Core fixes AI-found bug that could stall nodes with one repeated ID

2 min read
Bitcoin Core fixes AI-found bug that could stall nodes with one repeated ID
PrimeXBT Editorial Team
Reviewed by PrimeXBT

Topics in article

Bitcoin Core released versions 30.5 and 31.3 to fix a medium-severity bug that an AI scanner from Block's Spiral found. The flaw could let an attacker temporarily stop a node from processing network messages by repeating one transaction ID 50,000 times.

An AI tool built by Jack Dorsey's Block found a way to temporarily stop a bitcoin node from processing messages from the network. The trick feeds the node one transaction ID, repeated 50,000 times.

Bitcoin Core disclosed the bug on Friday as CVE-2026-117348 and released versions 30.5 and 31.3 with fixes. The advisory credits an automated AI scan run through Elias Rohrer's Project Loupe at Spiral, Block's open-source development unit.

How one repeated ID stalls a node

A node holds on to orphan transactions, which spend coins from an earlier transaction the node has not seen yet. Since version 29.0, when another node announces an orphan, the software builds a list of its missing parent transactions and checks its records before deciding what to request.

Nodes announce transactions in batches of up to 50,000 entries, and the software did not skip repeated entries. An attacker could first send an orphan transaction with thousands of missing parents, then repeat its ID 50,000 times in one announcement, so the receiving node would run the expensive checks over and over.

According to the advisory, "Each such message stalls the node for over a dozen seconds". During that time the node processes no messages from other nodes, including new blocks, and further messages could prolong the disruption.

Possible effects and the fix

An exchange relying on an affected node could be delayed in crediting deposits, while a miner could waste computing power working on an outdated view of the blockchain. Core developers rated the bug as medium severity and easily discoverable.

Under the security policy it adopted on Oct. 22, easily discoverable flaws receive fixes across maintained versions as soon as possible, with a public advisory alongside the releases. The fix makes the node process each transaction announced in a batch only once.

However, the retired 29.x branch will not get a fix, according to The Defiant.

Sources: CoinDesk, The Defiant (snippet-based)

Trading involves risk.

Author

PrimeXBT
Our Editorial Team consists of leading experts with a proven record in the fields of trading, cryptocurrencies, blockchain and finance. We thoroughly research the sources of information in order to provide readers with quality content that serves edu...
Read author’s articles
Alert Triangle Risk Disclaimer
Disclaimer: Some past publications may be outdated. We recommend following our news to stay up to date with the latest information. For any questions, feel free to contact our support team via the chat below.
The content provided here is for informational purposes only. It is not intended as personal investment advice and does not constitute a solicitation or invitation to engage in any financial transactions, investments, or related activities. Past performance is not a reliable indicator of future results.
The financial products offered by the Company are complex and come with a high risk of losing money rapidly due to leverage. These products may not be suitable for all investors. Before engaging, you should consider whether you understand how these leveraged products work and whether you can afford the high risk of losing your money.
The Company does not accept clients from the Restricted Jurisdictions as indicated in our website/ T&C. Some services or products may not be available in your jurisdiction.
The applicable legal entity and its respective products and services depend on the client’s country of residence and the entity with which the client has established a contractual relationship during registration.

Today in markets

Browse Crypto News

Register Now

Trading involves risk

Get started in minutes

Our clients love how fast and simple our sign-up is. It takes just a few minutes to get started!

Get Started Get Started
Get started in minutes

Need Help?

Risk Warning:
Trading in leveraged products carries a high level of risk and may not be suitable for all investors.