CVE-2022-39389 json
Witness Block Parsing DoS Vulnerability in lnd
published 2022-11-17 3 y ago modified 2026-06-17 4 mo ago also GHSA-hc82-w9v8-83pr , EUVD-2022-7361
- cvss
- 8.2
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.1%
- EPSS 1.1% chance of exploitation in 30 days, percentile 66%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- go github.com/lightningnetwork/lnd 0.15.4-beta
- btcd_project btcd 0.23.3
- lightning_network_daemon_project lightning_network_daemon 0.15.4
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- yes
- Technical impact
- partial
- Assessed
- 18 mo ago
Exploit prediction
1.11% chance of exploitation in the next 30 days, higher than 66% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/lightningnetwork/lnd/issues/7096 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 8.2 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H |
| NVD | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L |
| GitHub | 3.1 | 8.2 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| go | github.com/lightningnetwork/lnd | <0.15.4-beta |
0.15.4-beta |
Affected products
- lightningnetwork lnd
Classification
- Weakness
-
- CWE-20 Improper Input Validation
References
-
github.com
/lightningnetwork/lnd/pull/7098
web, patch, third-party-advisory
-
github.com
/lightningnetwork/lnd/issues/7096
web, exploit, issue-tracking, patch, third-party-advisory
-
github.com
/lightningnetwork/lnd/security/advisories/GHSA-hc82-w9v8-83pr
web, third-party-advisory
-
github.com
/lightningnetwork/lnd/releases/tag/v0.15.4-beta
web, release-notes, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2022-39389
advisory
-
github.com
/lightningnetwork/lnd
package
Sources
- CVE List CVE-2022-39389
- GitHub Advisory GHSA-hc82-w9v8-83pr
- NVD CVE-2022-39389
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.