Bitcoin Core, the mainstream Bitcoin node software, disclosed a new vulnerability on November 20: as long as an attacker repeats the same transaction identification code 50,000 times in a message, the node can be shut down for more than ten seconds, during which time new blocks will not be processed. according to Bitcoin Core Official Security Bulletin, this vulnerability was also found by AI automatic scanning, and patched versions 30.5 and 31.3 were released on the same day.
This is the second time in a month. Chain News reported at the end of October that Bitcoin Core Reveal three AI-found vulnerabilities at once, all three come from the same AI scanning project.
Repeat a transaction identification code 50,000 times, and the node will be shut down for more than ten seconds.
When a Bitcoin node receives a transaction but has not seen the previous transaction it wants to spend, it will first put it into the "orphan transaction" area, and then notify the connection object of the transaction about the missing part.
The official announcement states that starting from version 29.0, every time the connected object reports an orphan transaction, the node will list all the previous transactions it is missing, compare the memory pool with the recently viewed transaction records one by one, and then decide whether to request it.
The problem is the notification message. A message can list up to 50,000 transactions, and legacy nodes will not skip transactions listed repeatedly. An attacker can first send an orphan transaction that lacks thousands of previous transactions, and then repeat its identification code 50,000 times in the same message, and the node will repeat the same comparison 50,000 times.
The announcement reads: "Each such message will cause the node to shut down for more than ten seconds." During this period, the node does not process any messages from other connected objects, including new blocks; if the attacker continues to send messages, the shutdown will be extended. The fix is to process each transaction in the same message only once.
CoinDesk reported that if the nodes used for transactions are affected, deposits may be delayed; miners may use outdated blockchain status to mine, wasting computing power. Bitcoin Core lists the vulnerability as a moderate risk and categorizes it as "easy to find."
Affected versions: 29.0 to 31.2, 29.x no longer patched
Affected are versions 29.0 to 29.5, 30.0 to 30.4, and 31.0 to 31.2. The patched versions are 30.5, 31.3 and 32.1, with version 32.1 already containing the patch when it was released on October 27. The 29.x series has stopped maintenance and will no longer be patched. Nodes still running version 29 must be upgraded to the new series to avoid this.
It was notified in July and made public in November.
According to the timeline of the announcement, Spiral’s AI scanning program reported this issue on July 8, and another developer Stutxo also independently reported it on August 4. Bitcoin Core developer Gregory Sanders proposed the patch on the same day, and it was merged into the mainline on August 6.
The patch was first launched with version 32.1 on October 27. It was ported to two old series, 30.x and 31.x, on November 17. Versions 30.5 and 31.3 were released on the 20th and announced publicly on the same day.
Caught again by Spiral's AI scan
According to the announcement, this vulnerability was found through automatic scanning of large language models and was led by Elias Rohrer from Spiral, the Bitcoin development team of Jack Dorsey's Block. Project Loupe, then verified by Sanders and then reported to the Bitcoin Core security team.
Bitcoin Core only revised its vulnerability disclosure policy on October 22. The developer who proposed the change, Antoine Poinsot, said at the time that the number of vulnerability notifications that were “easily (re)discovered” had increased, mainly because large language models significantly lowered the threshold for finding certain problems. Under the new policy, easily discovered vulnerabilities will be patched to all versions still under maintenance, released as soon as possible, and security bulletins will be issued at the same time. The same is true this time.
this article AI finds loopholes in Bitcoin nodes again: the same transaction is repeated 50,000 times, and the node is shut down for more than ten seconds first appeared in Chain News ABMedia。




