sec_₿sec.21ideas.org
bitcoin core · Bitcoin Core
Patch availableNode operators28 October 2026

Bitcoin Core: unbounded memory growth caused by “paused” peers without BIP 31 support

Bitcoin Core adds announcements to the send queue even for peers marked as paused because the queue is full. Peers that do not support nonced ping (BIP 31) are not disconnected after the 20-minute timeout, so a malicious peer can pretend to be one and deliberately read messages slowly — memory grows without limit, estimated by the source at up to 2 MB per hour per inbound peer and up to 5 MB per hour per outbound peer. The project rates the issue as Medium severity and easy to detect; nodes using -blocksonly are affected significantly less because transaction announcements make up most of the queue. Fixes have been released in versions 29.5, 30.4, 31.2 and 32.1.

Actions to take

Bitcoin Core node operators: if your installation lacks these fixes, update to 29.5, 30.4, 31.2 or 32.1 (for your branch) soon, using the usual node shutdown and startup procedure. Nodes using -blocksonly are affected less, but still need the fix. No action is required for anyone already running a build with this fix. Details are in the advisory linked in the post.