Posted by NishantBansal2003
Nov 15, 2026/17:46 UTC
A particular version of the closed-channel bug allowed an attacker to exploit the system without incurring any cost. By sending an error message on the first channel, the attacker could cause that channel to be added to the closed channel map. Repeating this action would eventually reach the same critical assertion, potentially leading to a persistent crash loop. Experiments confirmed this scenario, and documentation was updated to reflect the most severe possible impact, using one of the most straightforward attack vectors.
The testing tool smite failed to detect this vulnerability because, at the relevant time, it lacked support for sending error messages to the target application. This limitation prevented triggering the specific sequence that would lead to the bug. However, development is underway to introduce this capability, as indicated in this pull request.
Additionally, the same assertion could be triggered by providing different outpoints that ultimately mapped to the same channel_id, not just by reusing outpoints. The original fix only checked for matches among live outpoints, but a more comprehensive solution should have validated the channel_id itself. Such collisions between outpoint and channel_id represent a simple yet significant vulnerability, which has hopefully been addressed in all relevant implementations by now. While smite discovered the channel_id collision issue in one other Lightning Network (LN) implementation, no further instances have been found elsewhere, suggesting that most implementations currently handle this case correctly.
TLDR
We’ll email you summaries of the latest discussions from high signal bitcoin sources, like bitcoin-dev, lightning-dev, and Delving Bitcoin.
We'd love to hear your feedback on this project.
Give Feedback