Home / lightningnetwork / lnd / CVE-2022-39389
CVE-2022-39389: is it exploited, and which versions of lightningnetwork lnd are affected and fixed?
CVE-2022-39389 is an improper input validation vulnerability in lightningnetwork lnd. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 15:09 UTC). Affected: github.com/lightningnetwork/lnd before 0.15.4-beta (GitHub advisory GHSA-hc82-w9v8-83pr). Fixed in 0.15.4-beta (GitHub advisory GHSA-hc82-w9v8-83pr). Severity: High (8.2, CVSS 3.1, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 15:09 UTC, CVE record November 19, 2026, 07:14 UTC and NVD November 19, 2026, 07:43 UTC.
What is CVE-2022-39389?
Witness Block Parsing DoS Vulnerability in lnd
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.
From the CVE record by GitHub_M, last updated April 22, 2025, 16:07 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| lightningnetwork | lnd | < v0.15.4-beta |
As the CVE record by GitHub_M states it, last updated April 22, 2025. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| Go | github.com/lightningnetwork/lnd | < 0.15.4-beta | 0.15.4-beta | GHSA-hc82-w9v8-83pr |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated November 18, 2022. Summary: Witness Block Parsing DoS Vulnerability.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| btcd project | btcd | before 0.23.3 | application |
| lightning network daemon project | lightning network daemon | before 0.15.4 | application |
NVD analysis (status Modified), last modified June 17, 2026, 04:58 UTC.
How severe is CVE-2022-39389?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 8.2 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H | GitHub_M |
| Medium 6.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2022-39389 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: poc; automatable: yes; technical impact: partial (CISA ADP, April 22, 2025)
- EPSS
- 1.44% probability of exploitation activity in the next 30 days, percentile 74.1 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-20 Improper Input Validation
Where are the vendor advisories and references?
- https://github.com/lightningnetwork/lnd/security/advisories/GHSA-hc82-w9v8-83pr
- https://github.com/lightningnetwork/lnd/issues/7096
- https://github.com/lightningnetwork/lnd/pull/7098
- https://github.com/lightningnetwork/lnd/releases/tag/v0.15.4-beta
When was it published, and where is the official record?
- Reserved
- September 2, 2022
- Published
- November 17, 2022, 00:00 UTC
- CVE record updated
- April 22, 2025, 16:07 UTC by GitHub_M
- NVD
- Modified, last modified June 17, 2026, 04:58 UTC
- Last checked
- CVE list November 19, 2026, 07:14 UTC; NVD November 19, 2026, 07:43 UTC; KEV December 3, 2026, 15:09 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect lnd?
- Jun 20, 2024CVE-2024-38359 lightningnetwork lnd: improper input validation
Questions about CVE-2022-39389
Is CVE-2022-39389 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 15:09 UTC. FIRST's EPSS gives it a 1.44% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of lightningnetwork lnd are affected by CVE-2022-39389?
github.com/lightningnetwork/lnd before 0.15.4-beta, per the GitHub advisory GHSA-hc82-w9v8-83pr. The tables above give every range the sources list.
Which version fixes CVE-2022-39389?
0.15.4-beta, per the GitHub advisory GHSA-hc82-w9v8-83pr. Check the vendor's advisory before you rely on it.
How severe is CVE-2022-39389?
High (8.2, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2022-39389?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.