
{"id":254738,"date":"2026-11-23T14:45:00","date_gmt":"2026-11-23T14:45:00","guid":{"rendered":"https:\/\/mycryptomania.com\/?p=254738"},"modified":"2026-11-23T14:45:00","modified_gmt":"2026-11-23T14:45:00","slug":"bitcoin-core-patches-node-stall-bug-found-by-blocks-ai-scanner","status":"publish","type":"post","link":"https:\/\/mycryptomania.com\/?p=254738","title":{"rendered":"Bitcoin Core Patches Node-Stall Bug Found by Block\u2019s AI Scanner"},"content":{"rendered":"<p><a href=\"https:\/\/bitcoinmagazine.com\/\">Bitcoin Magazine<\/a><\/p>\n<p><a href=\"https:\/\/bitcoinmagazine.com\/news\/bitcoin-core-patches-ai-found-node-bug\">Bitcoin Core Patches Node-Stall Bug Found by Block\u2019s AI Scanner<\/a><\/p>\n<div><\/div>\n<p class=\"wp-block-paragraph\">Bitcoin Core developers have <a href=\"https:\/\/bitcoincore.org\/en\/2026\/11\/20\/disclose-orphan-inv-stall\/\" target=\"_blank\" rel=\"noopener\">disclosed and patched<\/a> a medium-severity bug that let an attacker temporarily freeze a node\u2019s processing of blocks and transactions, a flaw first flagged by an AI scanner built by Block\u2019s Spiral.<\/p>\n<p class=\"wp-block-paragraph\">The vulnerability, tracked as CVE-2026-117348, is fixed in Bitcoin Core versions 30.5, 31.3 and 32.1. The 30.5 and 31.3 releases shipped Friday alongside the public advisory, while 32.1 has carried the fix since Oct. 27.<\/p>\n<p class=\"wp-block-paragraph\">Affected versions run from 29.0 through 29.5, 30.0 through 30.4 and 31.0 through 31.2. The 29.x series has reached end of life and will not get a fix, so operators on that branch need to move to a newer release.<\/p>\n<h2 class=\"wp-block-heading\">How the Core bug worked<\/h2>\n<p class=\"wp-block-paragraph\">Bitcoin Core keeps \u201corphan\u201d transactions, whose parent transactions it has not yet seen, and asks peers that announce them for the missing pieces. Since version 29.0, the software builds a list of an orphan\u2019s parents and checks each one against its mempool and filters before deciding what to request.<\/p>\n<p class=\"wp-block-paragraph\">A single inv message can carry up to 50,000 entries, and the software did not skip duplicates. An attacker could send a node an orphan with thousands of missing parents, then send messages repeating that transaction\u2019s ID 50,000 times.<\/p>\n<p class=\"wp-block-paragraph\">\u201cEach such message stalls the node for over a dozen seconds, during which it processes no messages from other peers, including blocks,\u201d the advisory said. Sending more messages could stretch the disruption out.<\/p>\n<p class=\"wp-block-paragraph\">The fix makes the node process each transaction announced in an inv message only once. The advisory describes a temporary denial-of-service problem and does not describe any way to steal bitcoin or permanently damage a node. It also does not say whether the bug was ever exploited.<\/p>\n<p class=\"wp-block-paragraph\">For a business running an affected node, the stalls could still matter. An exchange could be slow to credit deposits, and a miner could keep working on an outdated view of the chain while its node is stuck.<\/p>\n<h2 class=\"wp-block-heading\">An AI-found bug under a faster disclosure policy<\/h2>\n<p class=\"wp-block-paragraph\">The advisory credits an automated LLM scan run through Elias Rohrer\u2019s Project Loupe at Spiral, Block\u2019s open-source bitcoin development arm. Bitcoin Core developer Gregory Sanders validated the finding and brought it to the project\u2019s security team.<\/p>\n<p class=\"wp-block-paragraph\">Loupe is a <a href=\"https:\/\/www.projectloupe.org\/about\" target=\"_blank\" rel=\"noopener\">free scanner<\/a> that runs AI agents over open-source bitcoin code and only reports findings backed by a working test case. Bitcoin Core, BDK, LDK, rust-bitcoin, Cashu, Blockstream Jade, bitcoinj and SRI signed up for its first round of scans. Rohrer said on a recent podcast that Spiral started the project around March and began continuous scanning in May, with Bitcoin Core in the first batch.<\/p>\n<p class=\"wp-block-paragraph\">Loupe reported the issue on July 8. A developer known as Stutxo independently reported it on Aug. 4, the same day Sanders opened a pull request with the fix, which was merged two days later. The fix was backported to the 30.x and 31.x branches on Nov. 17.<\/p>\n<p class=\"wp-block-paragraph\">Bitcoin Core rated the bug \u201ceasily discoverable.\u201d Under a policy the project <a href=\"https:\/\/bitcoinmagazine.com\/news\/bitcoin-core-ends-long-embargoes\" target=\"_blank\" rel=\"noopener\">adopted in October<\/a>, flaws in that category get fixes backported to every maintained version and a public advisory as soon as patched releases ship, rather than a months-long embargo.<\/p>\n<p class=\"wp-block-paragraph\">Security work across bitcoin software has been busy this fall, from a Linux kernel flaw that <a href=\"https:\/\/bitcoinmagazine.com\/news\/matt-corallo-flags-critical-linux-kernel-flaw-lightning-labs-ships-lnd-mitigation\" target=\"_blank\" rel=\"noopener\">prompted a Lightning fix<\/a> to a new <a href=\"https:\/\/bitcoinmagazine.com\/news\/blockstream-shrincs-security-shrincs\" target=\"_blank\" rel=\"noopener\">security analysis<\/a> of a post-quantum signature proposal. Rohrer has said Loupe produces a high volume of reports, which some projects found noisy, and that the team is working to cut false positives.<\/p>\n<p class=\"wp-block-paragraph\">This is not Loupe\u2019s first Bitcoin Core finding. Developers on an <a href=\"https:\/\/bitcoinops.org\/en\/podcast\/2026\/11\/03\/\" target=\"_blank\" rel=\"noopener\">Optech podcast<\/a> on Nov. 3 discussed three earlier Core security advisories that the scanner had found. Other researchers reported some of the same issues, but only after Loupe did.<\/p>\n<p>This post <a href=\"https:\/\/bitcoinmagazine.com\/news\/bitcoin-core-patches-ai-found-node-bug\">Bitcoin Core Patches Node-Stall Bug Found by Block\u2019s AI Scanner<\/a> first appeared on <a href=\"https:\/\/bitcoinmagazine.com\/\">Bitcoin Magazine<\/a> and is written by <a href=\"https:\/\/bitcoinmagazine.com\/authors\/micahzimmerman\">Micah Zimmerman<\/a>.<\/p>","protected":false},"excerpt":{"rendered":"<p>Bitcoin Magazine Bitcoin Core Patches Node-Stall Bug Found by Block\u2019s AI Scanner Bitcoin Core developers have disclosed and patched a medium-severity bug that let an attacker temporarily freeze a node\u2019s processing of blocks and transactions, a flaw first flagged by an AI scanner built by Block\u2019s Spiral. The vulnerability, tracked as CVE-2026-117348, is fixed in [&hellip;]<\/p>\n","protected":false},"author":0,"featured_media":254739,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[],"class_list":["post-254738","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-discovery"],"_links":{"self":[{"href":"https:\/\/mycryptomania.com\/index.php?rest_route=\/wp\/v2\/posts\/254738"}],"collection":[{"href":"https:\/\/mycryptomania.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mycryptomania.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"replies":[{"embeddable":true,"href":"https:\/\/mycryptomania.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=254738"}],"version-history":[{"count":0,"href":"https:\/\/mycryptomania.com\/index.php?rest_route=\/wp\/v2\/posts\/254738\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/mycryptomania.com\/index.php?rest_route=\/wp\/v2\/media\/254739"}],"wp:attachment":[{"href":"https:\/\/mycryptomania.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=254738"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mycryptomania.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=254738"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mycryptomania.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=254738"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}