by Chand-raSummary
This post details two distinct Denial-of-Service (DoS) vulnerabilities discovered in Core Lightning (CLN). Both vulnerabilities allowed a remote peer to trigger unbounded memory growth, ultimately leading to Out-of-Memory (OOM) system crashes.
The first vulnerability affected theconnectddaemon and was patched in release v26.04. The second, related vulnerability affected thegossipddaemon and has been patched in release v26.06rc2. Both vulnerabilities stem from work initiated during my Summer of Bitcoin 2025 internship. All node operators are strongly advised to ensure they are running the latest patched versions.Background
Core Lightning utilizes a multi-daemon architecture designed to isolate faults. The Lightning Network relies on a “gossip” protocol to propagate network state, including channel announcements, channel updates, and node announcements.
In CLN’s architecture, the connect daemon (connectd) receives external messages from peers and passes them to the gossip daemon (gossipd), which is responsible for managing the global view of the network. Because the network is inherently noisy, both daemons must operate with high efficiency. Furthermore, since they process untrusted external inputs, they must be robust against malicious message floods.
...read more at delvingbitcoin.org
pull down to refresh
related posts