An AI scan found a way to crash bitcoin nodes running on Windows, macOS and BSD — and Bitcoin Core has now published the details for everyone to see. The disclosure marks the first test of Core’s new policy: stop sitting on bugs that artificial intelligence can easily find.
Bitcoin Core (Credits: CoinDesk)
AI-Discovered Bitcoin Node Crash: How the Flaw Works
The flaw was flagged by an automated scan on October 23, confirmed by developers the same day, fixed on October 27, and published publicly on October 28. It lets any computer connected to a bitcoin node on Windows, macOS or BSD flood that node with data until it runs out of memory and crashes.
The technical root is a difference in how software watches network connections. Bitcoin Core uses a select()-based backend to monitor sockets on platforms other than Linux (which uses poll()), and that code path watched sockets for exceptional conditions even when reads were paused. An attacker could trigger it by sending TCP urgent (out-of-band) data, bypassing the backpressure limits and queuing an unbounded amount of data until the node collapsed.
Linux nodes are unaffected, and a crashed node loses no funds — it simply stops validating and relaying transactions until someone restarts it. Fixes shipped in Bitcoin Core 29.5, 30.4, 31.2 and 32.1.
Three Bugs, One AI Scan: What Else Was Disclosed
The October 28 disclosure covered two more issues from the same scan, which ran a large language model through Bitcoin Core’s code as part of Project Loupe at Spiral, led by Elias Rohrer and validated by Gregory Sanders. Every finding was checked by a human contributor before reaching the security team.
The second bug — reported on September 15 and independently rediscovered by another developer six days later — lets a malicious peer claim an outdated protocol version and stall, piling messages into the victim’s memory at up to 2MB per hour per inbound connection and 5MB per hour per outbound one. The third is a low-severity undo-file overflow whose exploitation conditions are considered impractical.
Notably, no CVEs were assigned to any of the three issues — a departure from past Bitcoin Core practice.
Bitcoin Core’s New Fast-Disclosure Policy
Until last week, Core developers kept medium-severity flaws like these secret for up to a year, giving operators time to upgrade before attackers learned where to look. That changed on October 22 for bugs judged “easily discoverable”: large language models have made such bugs cheap to find, so fixes now go out as quickly as possible to every supported version with a public advisory attached.
As CoinDesk reported, the second bug showed exactly why the rules changed — an independent developer found the same flaw just six days after the scan reported it, proving these bugs don’t stay hidden long.
For node operators, the practical takeaway is straightforward: upgrade to the patched releases if you run Bitcoin Core on an affected platform.
Also Read: Ethereum Clients Patch Flaw That Could Have Let Attackers Redirect ETH Rewards
Source: CoinDesk — read the full story there.
