Bitcoin Lightning developers needed two patches to stop a potentially costly attack
In this news:
Key takeaways
- Core Lightning required two separate security patches to resolve a vulnerability causing payment node crashes.
- The flaw allowed attackers to create duplicate channel identifiers, leading to persistent node failures.
- Developers urge node operators to upgrade to the latest version to prevent potential fund loss.
Bitcoin's Core Lightning software required two security patches to eliminate a vulnerability that could repeatedly crash payment nodes and potentially expose funds held in other channels.
A Nov. 13 security disclosure revealed that an initial repair released in July failed to address a second attack method that could keep affected nodes offline even after they restarted. The vulnerability, tracked as LNF-2026-0004, affected Core Lightning, one of the software implementations used to operate nodes on Bitcoin's Lightning Network.
Vulnerability in channel identifiers
Security researcher Nishant Bansal discovered that attackers could exploit how Core Lightning assigned identifiers to payment channels, creating duplicate records that caused the software to crash. The weakness originated in the network's channel-opening process, where each payment channel receives an identifier derived from the Bitcoin transaction output that funds it.
Core Lightning could accept multiple channels referencing the same funding output, producing identical identifiers that conflicted with assumptions in its internal software. In the first attack, a malicious peer could create duplicate pending channels and crash a victim's node simply by reconnecting. The attack required no Bitcoin transaction fees because the fraudulent channels did not need on-chain funding.
Persistent attack variations
However, researchers identified a more persistent variation involving previously closed channels. By reusing an identifier associated with a closed channel and subsequently closing another channel with the same identifier, attackers could trigger a software failure that persisted across restarts. Unlike the initial attack, this method required on-chain transaction fees but could leave the node unable to recover without a software upgrade.
Why Core Lightning's first security patch failed
Core Lightning developers addressed the original vulnerability in version 26.06.6, released on July 22, after researchers privately reported the reconnection attack earlier that month. The update prevented new channels from reusing funding outputs associated with existing live channels. It also modified connection handling to prevent duplicate records already stored from triggering the original crash.
However, the protection did not extend to identifiers associated with closed channels, leaving the second attack route available. Researcher Crypt-iQ independently identified the remaining weakness, prompting developers to introduce broader safeguards in version 26.06.8, released Sept. 22. The second update expanded duplicate-identifier checks across active and closed channels belonging to different peers.
Financial risks for offline nodes
The potential financial consequences extended beyond disrupted Lightning payments. According to the advisory, nodes forced offline could lose the ability to monitor Bitcoin's blockchain for attempts to settle channels using revoked transaction states. That could allow dishonest counterparties to claim funds using outdated channel balances.
Offline nodes could also miss deadlines for collecting time-sensitive payments, placing Bitcoin held in unrelated channels at risk. The researchers did not report confirmed exploitation or financial losses. Developers have since released additional security updates, including version 26.06.10, and maintainers have urged operators to upgrade to the latest release.
Source: cryptoslate.com
Share the article:
Trending News & Crypto World
Latest Crypto News
Top Trending Cryptocurrencies on The Market
Current Price
$8.900
Market Cap
$8.2B 0.79%
24h Volume
$1.2M
Supplies
985.2M / ∞
Current Price
$0.04934
Market Cap
$7.7B 12.35%
24h Volume
$631.8M
Supplies
157.0B / ∞
Current Price
$7.600
Market Cap
$5.8B 4.92%
24h Volume
$261.7M
Supplies
1.0B / 1.0B
Current Price
$48.660
Market Cap
$5.8B 8.90%
24h Volume
$367.9M
Supplies
293.1M / 400.0M
Current Price
$295.70
Market Cap
$5.6B 19.19%
24h Volume
$43.3M
Supplies
18.8M / ∞
Current Price
$1.001
Market Cap
$5.0B -0.04%
24h Volume
$288.4K
Supplies
10.0B / 10.0B
Current Price
$0.1293
Market Cap
$4.9B 7.09%
24h Volume
$303.8M
Supplies
45.0B / 45.0B
Current Price
$0.9992
Market Cap
$4.8B 0.03%
24h Volume
$22.2M
Supplies
4.6B / ∞
Current Price
$0.1204
Market Cap
$4.3B 10.07%
24h Volume
$174.5M
Supplies
50.0B / ∞