Skip to content

advisories: CLN crashes when two channels share a funding outpoint - #16

Merged
morehouse merged 1 commit into
lnfuzz:masterfrom
NishantBansal2003:cln-duplicate-outpoint-reconnect-dos
Nov 13, 2026
Merged

morehouse merged 1 commit into
lnfuzz:masterfrom
NishantBansal2003:cln-duplicate-outpoint-reconnect-dos

Conversation

@NishantBansal2003

Copy link
Copy Markdown
Member

No description provided.


## Timeline

- **2026-07-03:** Duplicate funding outpoint reported publicly as a spec violation in [issue #9274](https://github.com/ElementsProject/lightning/issues/9274).

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit:

Suggested change
- **2026-07-03:** Duplicate funding outpoint reported publicly as a spec violation in [issue #9274](https://github.com/ElementsProject/lightning/issues/9274).
- **2026-07-02:** Duplicate funding outpoint reported publicly as a spec violation in [issue #9274](https://github.com/ElementsProject/lightning/issues/9274).

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, it's because of our timezone difference. For me, it's still 2026-07-03, but I've updated it anyway


## Takeaways

- **Upgrade to Core Lightning v26.06.6 or later.**

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't we suggest to upgrade to v26.06.8 or later. Since in the fix section is describing a possible attack at v26.06.6.

Suggested change
- **Upgrade to Core Lightning v26.06.6 or later.**
- **Upgrade to Core Lightning v26.06.8 or later.**

@madelinevibes madelinevibes Nov 13, 2026 •

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Upgrade and always ensure your Core Lightning node is running the latest available release, subsequent releases may contain important security fixes.

On reconnect, CLN hands its connection daemon a subdaemon for each channel, but the daemon looks them up by `channel_id` and finds the first one both times, so the second trips an assertion that crashes the whole node.
The outpoint never has to exist on chain, so the attack is **free**, and the attacker can crash the node again by reconnecting after every restart.

Upgrade to [Core Lightning v26.06.6](https://github.com/ElementsProject/lightning/releases/tag/v26.06.6) or later.

@madelinevibes madelinevibes Nov 13, 2026 •

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Upgrade and always ensure your Core Lightning node is running the latest available release, subsequent releases may contain important security fixes.

@NishantBansal2003
NishantBansal2003 force-pushed the cln-duplicate-outpoint-reconnect-dos branch 2 times, most recently from f05366a to 2a233a5 Compare November 13, 2026 12:38
@NishantBansal2003 NishantBansal2003 changed the title advisories: Core Lightning crashes on reconnect over a reused outpoint advisories: CLN crashes when two channels share a funding outpoint Nov 13, 2026

@morehouse morehouse left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • I think we should shorten up the intro paragraph to focus on impact (see inline suggestions); we can get into the details in the later sections.

Signed-off-by: Nishant Bansal <nishant.bansal.282003@gmail.com>
@NishantBansal2003
NishantBansal2003 force-pushed the cln-duplicate-outpoint-reconnect-dos branch from 20203f4 to 32675ba Compare November 13, 2026 20:18
@morehouse
morehouse merged commit 166aa39 into lnfuzz:master Nov 13, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants