CVE-2020-26896

Source
https://cve.org/CVERecord?id=CVE-2020-26896
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-26896.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2020-26896
Published
2020-10-21T02:15:12.737Z
Modified
2026-07-08T05:56:38.492811562Z
Severity
  • 8.2 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:N CVSS Calculator
Summary
[none]
Details

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.

Database specific
{
    "unresolved_ranges": [
        {
            "cpes": [
                "cpe:2.3:a:lightning_network_daemon_project:lightning_network_daemon:*:*:*:*:*:*:*:*"
            ],
            "vendor_product": "lightning_network_daemon_project:lightning_network_daemon",
            "extracted_events": [
                {
                    "fixed": "0.11.0"
                }
            ],
            "source": "CPE_RANGE"
        },
        {
            "cpes": [
                "cpe:2.3:a:lightning_network_daemon_project:lightning_network_daemon:0.11.0:-:*:*:*:*:*:*"
            ],
            "extracted_events": [
                {
                    "introduced": "0.11.0-NA"
                },
                {
                    "last_affected": "0.11.0-NA"
                }
            ],
            "vendor_product": "lightning_network_daemon_project:lightning_network_daemon",
            "source": "CPE_STRING"
        }
    ]
}
References

Affected packages

Git / github.com/lightningnetwork/lnd

Affected ranges

Type
GIT
Repo
https://github.com/lightningnetwork/lnd
Events
Database specific
{
    "cpe": [
        "cpe:2.3:a:lightning_network_daemon_project:lightning_network_daemon:0.11.0:beta_rc1:*:*:*:*:*:*",
        "cpe:2.3:a:lightning_network_daemon_project:lightning_network_daemon:0.11.0:beta_rc2:*:*:*:*:*:*",
        "cpe:2.3:a:lightning_network_daemon_project:lightning_network_daemon:0.11.0:beta_rc3:*:*:*:*:*:*",
        "cpe:2.3:a:lightning_network_daemon_project:lightning_network_daemon:0.11.0:beta_rc4:*:*:*:*:*:*"
    ],
    "extracted_events": [
        {
            "introduced": "0.11.0-beta_rc1"
        },
        {
            "last_affected": "0.11.0-beta_rc1"
        },
        {
            "introduced": "0.11.0-beta_rc2"
        },
        {
            "last_affected": "0.11.0-beta_rc2"
        },
        {
            "introduced": "0.11.0-beta_rc3"
        },
        {
            "last_affected": "0.11.0-beta_rc3"
        },
        {
            "introduced": "0.11.0-beta_rc4"
        },
        {
            "last_affected": "0.11.0-beta_rc4"
        }
    ],
    "source": "CPE_STRING"
}

Affected versions

0.*
0.11.0-beta_rc1
0.11.0-beta_rc2
0.11.0-beta_rc3
0.11.0-beta_rc4
v0.*
v0.11
v0.11.0-beta.rc1
v0.11.0-beta.rc2
v0.11.0-beta.rc3
v0.11.0-beta.rc4

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-26896.json"