# CVE-2024-38359: Lightning Network Daemon Onion Bomb

- Severity: Medium 6.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/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.06%, higher than 64% of CVEs (2026-11-30)
- Published: 2024-06-20T19:18:25.000Z
- Modified: 2026-09-10T03:50:15.086Z
- Also known as: GHSA-9gxx-58q6-42p7, GO-2024-2943
- Weaknesses: CWE-20
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- lightningnetwork lnd: < 0.17.0
- lightning_network_daemon_project lightning_network_daemon: before 0.17.0
- github.com/lightningnetwork/lnd (Go): before 0.17.0-beta

## Every score

- GitHub_M: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:3.1 6.5 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:4.0 High `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N`

## References

- <https://github.com/lightningnetwork/lnd/security/advisories/GHSA-9gxx-58q6-42p7> (advisory, web)
- <https://delvingbitcoin.org/t/dos-disclosure-lnd-onion-bomb/979> (web)
- <https://github.com/lightningnetwork/lnd/releases/tag/v0.17.0-beta> (web)
- <https://lightning.network> (web)
- <https://morehouse.github.io/lightning/lnd-onion-bomb> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-38359> (advisory)
- <https://github.com/lightningnetwork/lnd> (package)

## Sources

- CVE List: [CVE-2024-38359](https://www.cve.org/CVERecord?id=CVE-2024-38359), CVE Terms of Use, modified 2024-08-02
- GitHub Advisory Database: [GHSA-9gxx-58q6-42p7](https://github.com/advisories/GHSA-9gxx-58q6-42p7), CC-BY-4.0, modified 2026-09-10
- Go Vulnerability Database: [GO-2024-2943](https://pkg.go.dev/vuln/GO-2024-2943), CC-BY-4.0, modified 2026-03-03
- NVD: [CVE-2024-38359](https://nvd.nist.gov/vuln/detail/CVE-2024-38359), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-38359 · Whole record: https://cve.day/CVE-2024-38359.json · Rebuilt by cve.day 2026-11-25T22:58:42.089Z
