Live threats

All CVEs / Btcd Project

CVE-2022-39389Btcd Project Btcd

Medium 6.5 No auth needed

Priority
54
CVSS 3.1
6.5
EPSS
1.4%
probability of exploitation in 30 days · percentile 73
Auth required
No
Published
Nov 17, 2022
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-20
SSVC (CISA)
Exploitation: proof of concept · Automatable: yes · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L

What happens

Lightning Network Daemon (lnd) is an implementation of a lightning bitcoin overlay network node. All lnd nodes before version `v0.15.4` are vulnerable to a block parsing bug that can cause a node to enter a degraded state once encountered. In this degraded state, nodes can continue to make payments and forward HTLCs, and close out channels. Opening channels is prohibited, and also on chain transaction events will be undetected. This can cause loss of funds if a CSV expiry is researched during a breach attempt or a CLTV delta expires forgetting the funds in the HTLC. A patch is available in `lnd` version 0.15.4. Users are advised to upgrade. Users unable to upgrade may use the `lncli updatechanpolicy` RPC call to increase their CLTV value to a very high amount or increase their fee policies. This will prevent nodes from routing through your node, meaning that no pending HTLCs can be present.

Original NVD text.

What to do

  1. Apply the vendor's security update for Btcd.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Go github.com/lightningnetwork/lnd < 0.15.4-beta 0.15.4-beta go get github.com/lightningnetwork/lnd@v0.15.4-beta

Per OSV / GitHub Advisories (GHSA-hc82-w9v8-83pr). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
btcd_projectbtcd< 0.23.3
lightning_network_daemon_projectlightning_network_daemon< 0.15.4

Official sources

References

Links published by the sources. Open them with care.