How does Bitcoin Core patch a node-crashing bug
Published 10/29/2026, 8:23:30 AM
Executive Summary
On October 28, 2026, Bitcoin Core disclosed three vulnerabilities — including a node-crashing bug — and shipped fixes the same day across all four maintained release branches (29.5, 30.4, 31.2, 32.1). The crash bug lets a malicious peer exhaust a non-Linux node's memory via TCP urgent data; it was patched by backporting the fix to every maintained branch and publishing a public advisory alongside the point releases. The batch matters because it is the first high-profile test of Bitcoin Core's revised security policy (merged Oct 22), which fast-tracks "easily discoverable" flaws in response to AI-assisted vulnerability rediscovery — and because a remote peer can knock full nodes offline, degrading the network's validation layer.
The node-crashing bug and how it was patched
The headline bug is "Unbounded memory growth through TCP urgent data on non-Linux systems" (advisory):
- What it is: A malicious peer sends TCP urgent (out-of-band) data that bypasses the read-pause/backpressure mechanism Bitcoin Core uses to slow down abusive peers. On non-Linux platforms, memory grows without bound until the node is OOM-killed.
- Who's affected: Windows, macOS, and BSD nodes. Linux nodes are not affected, so the dominant deployment platform is immune to this specific bug.
- Severity: Medium.
- Fix: Released simultaneously in 29.5, 30.4, 31.2, and 32.1. The official release page for 31.2 states it "was published on October 28, 2026" (release-31.2), while some coverage claims 31.2 and 32.1 shipped a day early on October 27 (TradingView/Crypto Briefing); Gate News reports patched versions "were released between October 27 and 28, 2026" (Gate News).
The patch mechanism itself is the part worth understanding: the fix is merged into master, then backported to every maintained major-version branch so operators don't have to upgrade several versions at once, and a point release plus a public advisory are published on the same day. This cadence is exactly why the disclosure policy changed on Oct 22.
The full batch of disclosures
| Advisory | Severity | Platform | Exploitability | Fix |
|---|---|---|---|---|
| TCP urgent data → unbounded memory growth | Medium | Non-Linux (Windows/macOS/BSD) | Malicious peer, remote DoS | 29.5, 30.4, 31.2, 32.1 |
| Slow unbounded memory growth on paused pre-BIP31 peers | Medium, "easily discoverable" | All platforms | Malicious peer denies BIP31 nonced pings, defeating the ~20-minute disconnect backstop | 29.5, 30.4, 31.2, 32.1 |
| Undo file overflow under extreme conditions | Low | Windows/32-bit worst case; file-size limit issue | "Impractical to exploit"; a miner corrupting undo data + a precise reorg | 64-bit fixed in 29.5/30.4/31.2/32.1; 32-bit and FAT32 storage still exposed |
All three advisories attribute discovery to Project Loupe, the LLM-based code scanner built by Elias Rohrer at Spiral (Block's Bitcoin arm) — the undo-overflow advisory states it "was discovered through an automated LLM scan, as part of Elias Rohrer's Project Loupe at Spiral" (undo-overflow advisory), and the TCP OOM and fpausesend-oom advisories list Project Loupe in their timelines (TCP OOM, fpausesend-oom). [Note: some third-party coverage says only two of the three were Loupe-discovered; the official advisories attribute all three.]
Why the policy change matters — and why these bugs surfaced now
The Oct 28 batch is the first high-profile test of Bitcoin Core's revised disclosure policy, merged on October 22, 2026 (crypto.news):
- The old model held vulnerabilities under long embargoes (previously up to ~a year for some classes) to give slow-updating node operators time.
- The new policy adds an "easily discoverable" attribute: for those flaws, the project "will publish a point release containing the fix for each maintained major version as soon as possible, along with a security advisory, without applying the standard severity-dependent embargo periods" (blog.satosh.ie). Multiple independent sources confirm the change: "Easily discoverable vulnerabilities will receive expedited patches across maintained versions, with public advisories issued alongside updates" (Bitcoin.com News).
- The trigger: AI-assisted rediscovery. Developer Antoine Poinsot argued that if any researcher — or an LLM prompt — can independently rediscover a bug, secrecy no longer buys upgrade time; disclosure delay only helps the attacker. These three bugs were themselves found by Project Loupe, the free AI-powered scanner created by Spiral and Block (launched May 2026; by July it reported "643 findings, 70+ fixes, and seven projects").
Why it matters
-
Remote denial-of-service against consensus infrastructure. Any network peer could crash a non-Linux full node by sending crafted traffic. Full nodes are the layer that validates the chain, serves wallets/exchanges, and enforces policy. A cheap remote crash lets attackers knock that infrastructure offline — not steal funds or rewrite history, but degrade the network's robustness and endpoint verification.
-
Update-lag risk is the counterpoint. The operative question in industry coverage is literally "Can node operators update in time?" (crypto.news): faster disclosure narrows the "patch day" advantage for operators who update immediately while widening the exposure window for the slow majority. This is an explicit tradeoff Bitcoin Core accepted in exchange for not letting AI rediscovery make embargoes pointless. Note the flip side: at least one of the batch is not fully fixed — 32-bit and FAT32 nodes remain exposed to the undo-file flaw (undo-overflow advisory).
-
It's a marker for the era of AI-accelerated vulnerability discovery. That a free LLM scanner run by a third party (Spiral) surfaced multiple memory-exhaustion bugs in ~15-year-old P2P code is itself the story behind the policy change — the attack side and the defense side are both being automated. The severity ceiling here is medium/low, and Linux — the dominant node platform — is unaffected by the worst bug, so this is not a consensus-critical emergency. But the process signal (disclosure cadence shortening, backporting discipline, same-day patch+advisory) is what kept it from being worse.
Conclusion
Bitcoin Core patched the crash bugs by backporting fixes to all four maintained branches and publishing advisories the same day the fixes shipped (Oct 27–28, 2026); it was able to do that promptly — and chose to — because of the Oct 22 policy change reacting to AI rediscovery risk. The material user action is simple: nodes on Windows/macOS/BSD should update to 29.5/30.4/31.2/32.1; operators on 32-bit or FAT32 should treat the undo-file issue as still open. There is no evidence of funds at risk or an active exploit in the wild in the sources reviewed — Linux nodes and anyone already on the patched versions were never exposed in a meaningful window. One gap: the specific GitHub PR/commit fixing the TCP urgent-data bug was not located, and the Oct 28 advisories as retrieved do not yet show CVE identifiers, so severity ratings and fix versions come from the advisory text and third-party coverage rather than NVD entries.