Bitcoin Forum
November 27, 2026, 10:00:47 PM *
News: Latest Bitcoin Core release: 32.1 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Core Lighting Network Dos vulnerability affecting version 0.12.0 through 26.06.7  (Read 4 times)
Sparkplug90 (OP)
Newbie
*
Online Online

Activity: 4
Merit: 0


View Profile
Today at 09:45:52 PM
 #1

Evidently there's a Dos vulnerability discovered by security researcher Nishant Bansal affecting CLN versions 0.12.0 from August 2022 through to version 26.06.7 from August 2026 which apparently allows the attacker to crash a victim's node, which by exploiting the bug can be done continuously which puts the channel funds at risk.
A malicious peer could open a channel by providing another channel’s funding outpoint. Since channel_id is derived from that outpoint, according to BOLT2, two channels would thus have matching IDs. CLN runs a channeld subdaemon for each channel, while connectd routes messages to the correct subdaemon based on their channel_id. Since CLN assumes the uniqueness of channel_id, collisions led the node to crash. Everyone is advised to upgrade to version 26.06.8 where the bug is fixed or the latest version 26.06.10.
 
My question is that if lightning implementations should be designed in such a way that allows peer controlled input to crash an entire node in the first place? I mean, shouldn't the  implementation should be designed to detect duplicate channel IDs and reject it or disconnect the offending peer without bringing down the entire node? So malformed peer messages are unable to trigger a process wide crash through an internal assertion?
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!