# CVE-2022-39389: Witness Block Parsing DoS Vulnerability in lnd

- Severity: High 8.2 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.44%, higher than 73% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2022-11-17T00:00:00.000Z
- Modified: 2026-06-17T04:58:16.087Z
- Also known as: GHSA-hc82-w9v8-83pr
- Weaknesses: CWE-20
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- lightningnetwork lnd:  < v0.15.4-beta
- github.com/lightningnetwork/lnd (Go): before 0.15.4-beta
- btcd_project btcd: before 0.23.3
- lightning_network_daemon_project lightning_network_daemon: before 0.15.4

## Every score

- GitHub_M: CVSS:3.1 8.2 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H`
- GitHub: CVSS:3.1 8.2 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H`
- NVD: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L`

## References

- <https://github.com/lightningnetwork/lnd/issues/7096> (exploit, issue-tracking, patch, third-party-advisory, web)
- <https://github.com/lightningnetwork/lnd/security/advisories/GHSA-hc82-w9v8-83pr> (third-party-advisory, web)
- <https://github.com/lightningnetwork/lnd/pull/7098> (patch, third-party-advisory, web)
- <https://github.com/lightningnetwork/lnd/releases/tag/v0.15.4-beta> (release-notes, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-39389> (advisory)
- <https://github.com/lightningnetwork/lnd> (package)

## Sources

- CVE List: [CVE-2022-39389](https://www.cve.org/CVERecord?id=CVE-2022-39389), CVE Terms of Use, modified 2025-04-22
- GitHub Advisory Database: [GHSA-hc82-w9v8-83pr](https://github.com/advisories/GHSA-hc82-w9v8-83pr), CC-BY-4.0, modified 2023-11-08
- NVD: [CVE-2022-39389](https://nvd.nist.gov/vuln/detail/CVE-2022-39389), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-39389 · Whole record: https://cve.day/CVE-2022-39389.json · Rebuilt by cve.day 2026-11-25T22:58:16.575Z
