LDK merges fix for crash bug that could cost routing nodes incoming funds

Finmates · November 30, 2026

Lightning Development Kit merged a patch on Nov. 23 for a crash-recovery flaw affecting routing nodes with asynchronous storage. As of Nov. 29, no confirmed tagged release includes it, according to CryptoSlate.

Lightning Development Kit (LDK) merged a fix on Nov. 23 for a crash-recovery bug that could leave some routing nodes unable to collect funds owed to them. The change landed as pull request #5663 on LDK's main development branch, according to CryptoSlate.

The flaw hits routing nodes that run LDK without the patch and write channel recovery data in an asynchronous manner. As of Nov. 29, CryptoSlate reports that no confirmed tagged release carries the change, based on repository tags and Rust package history.

What went wrong

According to CryptoSlate, LDK could treat a recovery update as saved while the write to storage was still in progress. If the node crashed in that gap, it could restart without the information it needs to claim incoming funds.

In Bitcoin Optech's Nov. 27 bulletin, Newsletter #433, a scenario was outlined in which the incoming channel had been force-closed. Loss of funds is not automatic. CryptoSlate says it requires two further conditions. The node must have already paid the outgoing side. Its on-chain claim must then miss the expiry deadline.

How the patch works

The patch holds the update in a pending state until the write has completed. The update goes into a channel monitor, the component that holds the data a node needs to recover a channel.

The revised contract also changes the job of developers who build their own storage. Per CryptoSlate, anyone whose custom integrations flag writes as pending must now signal when full channel-monitor writes finish.

Release status

Docs.rs dates LDK 0.2.8, 0.1.14 and 0.3.0-rc4 to Nov. 11. That is before the merge, so those versions do not appear to include the change. Which release will carry it is not yet known. Operators running LDK with asynchronous storage would need to check their own setup against the project's release notes once a version is published.

CryptoSlate also points to a separate Core Lightning recovery tool. Its focus is pending payments left over after channel data has already been lost. That is a different problem from the one LDK's patch addresses, which is about preventing the data gap in the first place.

Market context

The bug concerns node software, not Bitcoin's base layer. For reference, FinMates data at 23:36 UTC on Nov. 29 showed $BTC at $59,702.00, ranked #1 by market capitalisation. The data does not link price to this issue.

What to watch

The key open items are the tagged release that includes pull request #5663 and any guidance for operators with custom storage code. It is also not yet known whether any node has lost funds because of the bug.

Sources

  • CryptoSlate: Bitcoin Lightning fix targets funds routing nodes could lose after a crash

For information only, not investment advice. Crypto prices move fast; check current data before you trade.

Tokens in this story

Read the sources

Latest news