CVEvulnerability

CVE-2020-26896

8.2 HIGH Published 2020-10-21 Modified 2026-06-17 Official page ↗
Status
Modified
Published
2020-10-21
Last modified
2026-06-17
Assigner
[email protected]
CVSS 3.1 ([email protected])
8.2 HIGH — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:N
CVSS 2.0 ([email protected])
5.8 MEDIUM — AV:N/AC:M/Au:N/C:P/I:P/A:N
Weaknesses
CWE-354

Description

Prior to 0.11.0-beta, LND (Lightning Network Daemon) had a vulnerability in its invoice database. While claiming on-chain a received HTLC output, it didn't verify that the corresponding outgoing off-chain HTLC was already settled before releasing the preimage. In the case of a hash-and-amount collision with an invoice, the preimage for an expected payment was instead released. A malicious peer could have deliberately intercepted an HTLC intended for the victim node, probed the preimage through a colluding relayed HTLC, and stolen the intercepted HTLC. The impact is a loss of funds in certain situations, and a weakening of the victim's receiver privacy.

Affected configurations

• lightning network daemon project lightning network daemon (< 0.11.0) • lightning network daemon project lightning network daemon 0.11.0

Related

Weakness · CWE (1)

  • CWE-354 Improper Validation of Integrity Check Value weakness

References