What’s Vulnerable › Vulnerabilities
CVE-2024-38359: Lightning Network Daemon Onion Bomb
- Severity: medium (CVSS 6.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.6% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2024-06-20 · updated 2026-06-17
- Weakness: CWE-20
Description
The Lightning Network Daemon (lnd) - is a complete implementation of a Lightning Network node. A parsing vulnerability in lnd's onion processing logic and lead to a DoS vector due to excessive memory allocation. The issue was patched in lnd v0.17.0. Users should update to a version > v0.17.0 to be protected. Users unable to upgrade may set the `--rejecthtlc` CLI flag and also disable forwarding on channels via the `UpdateChanPolicyCommand`, or disable listening on a public network interface via the `--nolisten` flag as a mitigation.
Affected products
- Lightning Network Daemon Project Lightning Network Daemon: before 0.17.0 — fixed in 0.17.0
How to fix
Upgrade to a fixed version: Lightning Network Daemon Project Lightning Network Daemon 0.17.0. Check the vendor advisory for mitigations.
References
- https://delvingbitcoin.org/t/dos-disclosure-lnd-onion-bomb/979
- https://github.com/lightningnetwork/lnd/releases/tag/v0.17.0-beta
- https://github.com/lightningnetwork/lnd/security/advisories/GHSA-9gxx-58q6-42p7
- https://lightning.network
- https://morehouse.github.io/lightning/lnd-onion-bomb
- https://delvingbitcoin.org/t/dos-disclosure-lnd-onion-bomb/979
- https://github.com/lightningnetwork/lnd/releases/tag/v0.17.0-beta
- https://github.com/lightningnetwork/lnd/security/advisories/GHSA-9gxx-58q6-42p7
- https://lightning.network
- https://morehouse.github.io/lightning/lnd-onion-bomb
Get alerted when CVE-2024-38359 or the next vulnerability affects your stack