Tuesday, November 24, 2026SubscribeMastheadAbout
Cali ReporterCalifornia · National · West Coast · Good News

Advertisement

Business

Bitcoin Lightning Developers Address Software Vulnerability

A critical software flaw in the Bitcoin Lightning Network has been patched by developers, preventing nodes from losing track of settled payment records after restarting.

Portrait of Grace Lindqvist
Markets & Wall Street · November 20, 2026
Share

AI-generated stock-style editorial illustration; not a photograph of the reported event.
AI-generated stock-style editorial illustration; not a photograph of the reported event.

A software flaw in the Bitcoin Lightning Network, specifically within the LND implementation, could have caused nodes to lose track of settled payment updates after restarting, threatening the integrity of Lightning channel records (1). The vulnerability stemmed from an error in how the software saved and restored channel updates, leading to a counter that tracked acknowledged updates resetting at 65,536 entries (1). This issue could have disrupted payment-channel accounting and the accuracy of settlement records, as nodes might have reconstructed incomplete payment records after a restart (1). [1]

Developers identified that Lightning peers could potentially trigger the flaw by repeatedly sending transaction fee updates and commitment signatures while withholding a required revocation message (1). This behavior allowed the list of pending acknowledgments to grow without being cleared, increasing the risk of reaching the overflow threshold (1). The vulnerability was addressed in the v0.21.8-beta and v0.20.8-beta releases, which include checks to prevent oversized update lists from being written to storage (1). [1]

To ensure consistency in Lightning channels, developers introduced modifications to how LND reads existing records, allowing nodes to recover complete update lists saved by older versions when the underlying data passes validation (1). The fix was merged into LND's main development branch on Nov. 5 and included in both November releases (1). However, the project's disclosures do not identify any confirmed exploitation or financial losses associated with the flaw (1). [1]

A software flaw in the Bitcoin Lightning Network, specifically within the LND implementation, could have caused nodes to lose track of settled payment updates after restarting, threatening the integrity of Lightning channel records (1). The flaw was identified due to a counter that tracked acknowledged updates from a connected Lightning peer, which used a 16-bit unsigned integer to store the number of entries. This limited the counter to a maximum of 65,535 entries, and once the list reached 65,536 entries, the counter reset to zero, even though the updates were still stored on disk (1). [1]

Advertisement

Upon restarting, a node could interpret the reset counter as an empty list and omit a previously settled hashed timelock contract (HTLC), a conditional payment mechanism that helps secure transactions across Lightning channels (1). Developers identified that Lightning peers could potentially trigger the flaw by repeatedly sending transaction fee updates and commitment signatures while withholding a required revocation message (1). This behavior allowed the list of pending acknowledgments to grow without being cleared, as demonstrated in a unit test that generated 201 stored updates after 200 rounds of messages (1). [1]

To address the problem, developers introduced checks that prevent oversized update lists from advancing the channel state or being written to storage (1). They also modified how LND reads existing records, allowing nodes to recover complete update lists saved by older versions when the underlying data passes validation (1). The fix was merged into LND's main development branch on Nov. 5 before being included in both November releases (1). [1]

A software flaw in the Bitcoin Lightning Network, specifically within the LND implementation, could have caused nodes to lose track of settled payment updates after restarting, threatening the integrity of Lightning channel records (1). The flaw stemmed from an error in how the software saved and restored channel updates, leading to potential disruptions in payment-channel accounting and the accuracy of settlement records (1). [1]

The vulnerability involved a counter that tracked acknowledged updates from a connected Lightning peer, which used a 16-bit unsigned integer to store the number of entries. Once the list reached 65,536 entries, the counter reset to zero, even though LND continued writing the updates to storage (1). Upon restarting, a node could interpret that zero as an empty list and omit a previously settled hashed timelock contract (HTLC), a conditional payment mechanism that helps secure transactions across Lightning channels (1). [1]

Advertisement

Developers identified a way peers could trigger the overflow by repeatedly sending transaction fee updates and commitment signatures while withholding a required revocation message (1). This behavior allowed the list of pending acknowledgments to grow without being cleared, potentially leading to the overflow threshold being reached (1). [1]

To address the problem, developers introduced checks that prevent oversized update lists from advancing the channel state or being written to storage (1). They also modified how LND reads existing records, allowing nodes to recover complete update lists saved by older versions when the underlying data passes validation (1). [1]

A software flaw in the Bitcoin Lightning Network, specifically within the LND implementation, could have caused nodes to lose track of settled payment updates after restarting, threatening the integrity of Lightning channel records (1). The flaw involved a counter that tracked acknowledged updates from a connected Lightning peer, which used a 16-bit unsigned integer to store the number of entries (1). Once the list reached 65,536 entries, the counter reset to zero, even though LND continued writing the updates to storage (1). [1]

Upon restarting, a node could interpret that zero as an empty list and omit a previously settled hashed timelock contract (HTLC), a conditional payment mechanism that helps secure transactions across Lightning channels (1). Developers identified a way peers could trigger the overflow by repeatedly sending transaction fee updates and commitment signatures while withholding a required revocation message (1). The developer reproduced the behavior in a unit test, generating 201 stored updates after 200 rounds of messages (1). [1]

Advertisement

Crucially, the accumulated entries survived reconnects, suggesting that repeatedly disconnecting and reconnecting would not necessarily prevent the list from eventually reaching the overflow threshold (1). The potential weakness matters because Lightning depends on both parties maintaining consistent payment-channel states (1). Losing track of a settled update could undermine the records used to reconcile channel obligations (1). [1]

Sources

CryptoSlate

Prepared with AI assistance from the cited sources.

The Cali Reporter newsletter

The stories worth your time.

California, the country, and what comes next. Join our free newsletter for reporting that keeps you informed.

By joining, you agree to receive the Cali Reporter newsletter. Unsubscribe at any time. Privacy policy.

More in Business

Advertisement