{"id":"CVE-2024-38359","aliases":["EUVD-2024-2003","GHSA-9gxx-58q6-42p7","GO-2024-2943"],"status":"published","title":"Lightning Network Daemon Onion Bomb","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 \u003e 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.","severity":{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","level":"medium","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-10","score":0.00572,"percentile":0.47625,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-20"],"published":"2024-06-20T19:18:25Z","modified":"2026-10-28T02:31:06Z","fixes":[{"ecosystem":"Go","package":"github.com/lightningnetwork/lnd","fixed_in":["0.17.0-beta"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"Go","package":"github.com/lightningnetwork/lnd","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.17.0-beta"}]}]},{"source":"osv","ecosystem":"Go","package":"github.com/lightningnetwork/lnd","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.17.0-beta"}]}]},{"source":"osv","ecosystem":"Go","package":"github.com/lightningnetwork/lnd","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.17.0-beta"}]}]}],"products":[{"vendor":"lightning_network_daemon_project","product":"lightning_network_daemon"},{"vendor":"lightningnetwork","product":"lnd"}],"references":[{"url":"https://github.com/lightningnetwork/lnd/security/advisories/GHSA-9gxx-58q6-42p7","tags":["x_refsource_CONFIRM","x_transferred","advisory","web"]},{"url":"https://delvingbitcoin.org/t/dos-disclosure-lnd-onion-bomb/979","tags":["x_refsource_MISC","x_transferred","web"]},{"url":"https://github.com/lightningnetwork/lnd/releases/tag/v0.17.0-beta","tags":["x_refsource_MISC","x_transferred","web"]},{"url":"https://lightning.network","tags":["x_refsource_MISC","x_transferred","web"]},{"url":"https://morehouse.github.io/lightning/lnd-onion-bomb","tags":["x_refsource_MISC","x_transferred","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-38359","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-9gxx-58q6-42p7"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/38xxx/CVE-2024-38359.json","tags":["advisory"]},{"url":"https://github.com/lightningnetwork/lnd","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2024-38359","title":"Lightning Network Daemon Onion Bomb","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 \u003e 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.","status":"published","published":"2024-06-20T22:16:00.428Z","modified":"2024-08-02T04:04:25.238Z","cvss":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","level":"medium","assessor":"cna"}],"cwes":["CWE-20"],"updated_at":"2026-11-02T14:34:16.007021Z"}],"euvd":[{"id":"EUVD-2024-2003","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 \u003e 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.","status":"published","published":"2024-06-20T22:16:00Z","modified":"2024-08-02T04:04:25Z","cvss":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-03T03:50:18.901913Z"}],"ghsa":[{"id":"GHSA-9gxx-58q6-42p7","title":"Lightning Network Daemon (LND)'s onion processing logic leads to a denial of service","description":"### Impact\n\nA parsing vulnerability in lnd's onion processing logic led to a DoS vector due to excessive memory allocation.  \n\n### Patches\n\nThe issue was patched in lnd [v0.17.0](https://github.com/lightningnetwork/lnd/releases/tag/v0.17.0-beta). Users should update to a version \u003e= v0.17.0 to be protected. \n\n### References\n\nDetailed blog post: https://morehouse.github.io/lightning/lnd-onion-bomb/\n\nDeveloper discussion: https://delvingbitcoin.org/t/dos-disclosure-lnd-onion-bomb/979","status":"published","published":"2024-06-20T19:18:25Z","modified":"2024-11-18T16:26:47Z","cvss":[{"version":"4.0","score":7.1,"vector":"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","level":"high"},{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","level":"medium"}],"cwes":["CWE-20"],"updated_at":"2026-11-02T14:38:20.012356Z"}],"nvd":[{"id":"CVE-2024-38359","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 \u003e 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.","status":"published","published":"2024-06-20T23:15:52.7Z","modified":"2026-06-17T07:39:59.42Z","cvss":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","level":"medium","assessor":"secondary"}],"cwes":["CWE-20"],"updated_at":"2026-11-02T14:10:07.173605Z"}],"osv":[{"id":"CVE-2024-38359","title":"Lightning Network Daemon Onion Bomb","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 \u003e 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.","status":"published","published":"2024-06-20T22:16:00.428Z","modified":"2026-10-28T02:31:06.466410399Z","cvss":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","level":"medium"}],"cwes":["CWE-20"],"updated_at":"2026-11-02T15:44:41.133403Z"},{"id":"GHSA-9gxx-58q6-42p7","title":"Lightning Network Daemon (LND)'s onion processing logic leads to a denial of service","description":"### Impact\n\nA parsing vulnerability in lnd's onion processing logic led to a DoS vector due to excessive memory allocation.  \n\n### Patches\n\nThe issue was patched in lnd [v0.17.0](https://github.com/lightningnetwork/lnd/releases/tag/v0.17.0-beta). Users should update to a version \u003e= v0.17.0 to be protected. \n\n### References\n\nDetailed blog post: https://morehouse.github.io/lightning/lnd-onion-bomb/\n\nDeveloper discussion: https://delvingbitcoin.org/t/dos-disclosure-lnd-onion-bomb/979","status":"published","published":"2024-06-20T19:18:25Z","modified":"2026-09-10T03:50:15.086090051Z","cvss":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","level":"medium"},{"version":"4.0","score":7.1,"vector":"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","level":"high"}],"cwes":["CWE-20"],"updated_at":"2026-11-02T15:46:43.875515Z"},{"id":"GO-2024-2943","title":"Lightning Network Daemon (LND)'s onion processing logic leads to a denial of service in github.com/lightningnetwork/lnd","description":"Lightning Network Daemon (LND)'s onion processing logic leads to a denial of service in github.com/lightningnetwork/lnd","status":"published","published":"2024-07-01T19:59:12Z","modified":"2026-03-03T04:55:31.024897Z","updated_at":"2026-11-02T15:47:01.453823Z"}]}}
