{"api_version":"1","generated_at":"2026-07-23T13:42:11+00:00","cve":"CVE-2022-39389","urls":{"html":"https://cve.report/CVE-2022-39389","api":"https://cve.report/api/cve/CVE-2022-39389.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2022-39389","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2022-39389"},"summary":{"title":"CVE-2022-39389","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.","state":"PUBLIC","assigner":"security-advisories@github.com","published_at":"2022-11-17 22:15:00","updated_at":"2022-11-22 16:49:00"},"problem_types":["CWE-20"],"metrics":[],"references":[{"url":"https://github.com/lightningnetwork/lnd/releases/tag/v0.15.4-beta","name":"https://github.com/lightningnetwork/lnd/releases/tag/v0.15.4-beta","refsource":"MISC","tags":[],"title":"Release lnd v0.15.4-beta · lightningnetwork/lnd · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://github.com/lightningnetwork/lnd/pull/7098","name":"https://github.com/lightningnetwork/lnd/pull/7098","refsource":"MISC","tags":[],"title":"mod+build: bump btcd version to v0.23.3 and bump lnd version to v0.15.4-beta by guggero · Pull Request #7098 · lightningnetwork/lnd · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://github.com/lightningnetwork/lnd/issues/7096","name":"https://github.com/lightningnetwork/lnd/issues/7096","refsource":"MISC","tags":[],"title":"[bug]: CRITICAL! Unable to process chain reorg / too many witness items to fit into max message size · Issue #7096 · lightningnetwork/lnd · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://github.com/lightningnetwork/lnd/security/advisories/GHSA-hc82-w9v8-83pr","name":"https://github.com/lightningnetwork/lnd/security/advisories/GHSA-hc82-w9v8-83pr","refsource":"CONFIRM","tags":[],"title":"Witness Block Parsing DoS Vulnerability  · Advisory · lightningnetwork/lnd · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-39389","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-39389","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2022","cve_id":"39389","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"btcd_project","cpe5":"btcd","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2022","cve_id":"39389","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"lightning_network_daemon_project","cpe5":"lightning_network_daemon","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"CVE_data_meta":{"ASSIGNER":"security-advisories@github.com","ID":"CVE-2022-39389","STATE":"PUBLIC","TITLE":"Witness Block Parsing DoS Vulnerability in lnd"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"lnd","version":{"version_data":[{"version_value":" < v0.15.4-beta"}]}}]},"vendor_name":"lightningnetwork"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"impact":{"cvss":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":8.2,"baseSeverity":"HIGH","confidentialityImpact":"NONE","integrityImpact":"LOW","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H","version":"3.1"}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-20: Improper Input Validation"}]}]},"references":{"reference_data":[{"name":"https://github.com/lightningnetwork/lnd/security/advisories/GHSA-hc82-w9v8-83pr","refsource":"CONFIRM","url":"https://github.com/lightningnetwork/lnd/security/advisories/GHSA-hc82-w9v8-83pr"},{"name":"https://github.com/lightningnetwork/lnd/issues/7096","refsource":"MISC","url":"https://github.com/lightningnetwork/lnd/issues/7096"},{"name":"https://github.com/lightningnetwork/lnd/pull/7098","refsource":"MISC","url":"https://github.com/lightningnetwork/lnd/pull/7098"},{"name":"https://github.com/lightningnetwork/lnd/releases/tag/v0.15.4-beta","refsource":"MISC","url":"https://github.com/lightningnetwork/lnd/releases/tag/v0.15.4-beta"}]},"source":{"advisory":"GHSA-hc82-w9v8-83pr","discovery":"UNKNOWN"}},"nvd":{"publishedDate":"2022-11-17 22:15:00","lastModifiedDate":"2022-11-22 16:49:00","problem_types":["CWE-20"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"LOW","availabilityImpact":"LOW","baseScore":6.5,"baseSeverity":"MEDIUM"},"exploitabilityScore":3.9,"impactScore":2.5}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:lightning_network_daemon_project:lightning_network_daemon:*:*:*:*:*:*:*:*","versionEndExcluding":"0.15.4","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:btcd_project:btcd:*:*:*:*:*:*:*:*","versionEndExcluding":"0.23.3","cpe_name":[]}]}]}},"legacy_mitre":{"record":null,"notes":[]}}}