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

Published Nov 17, 2022
·
Updated

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.

Affected Software

2 affected components
Btcd Project Btcd<0.23.3
Lightning Network Daemon Project Lightning Network Daemon<0.15.4

Event History

Nov 17, 2022
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
DescriptionSeverityWeakness

Frequently Asked Questions

1

What is the severity of CVE-2022-39389?

CVE-2022-39389 has been classified as a medium severity vulnerability.

2

How do I fix CVE-2022-39389?

To fix CVE-2022-39389, users should upgrade to Lightning Network Daemon version v0.15.4 or later.

3

What is the impact of CVE-2022-39389?

The impact of CVE-2022-39389 is that affected nodes may enter a degraded state and experience disruptions.

4

Which software versions are affected by CVE-2022-39389?

CVE-2022-39389 affects all versions of the Lightning Network Daemon prior to v0.15.4 and btcd versions before 0.23.3.

5

How can I tell if my node is vulnerable to CVE-2022-39389?

You can determine if your node is vulnerable to CVE-2022-39389 by checking if you are using Lightning Network Daemon versions older than v0.15.4.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203