<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom" ><generator uri="https://jekyllrb.com/" version="3.10.0">Jekyll</generator><link href="https://lightning.community/SI/feed.xml" rel="self" type="application/atom+xml" /><link href="https://lightning.community/SI/" rel="alternate" type="text/html" /><updated>2026-06-18T10:10:31+00:00</updated><id>https://lightning.community/SI/feed.xml</id><title type="html">Lightning Labs Security Advisories</title><subtitle>These are the security advisories for Lightning Labs products. Please report any security issues to security@lightninglabs.engineering</subtitle><entry><title type="html">LND Gossip Nil-Map Panic on Zero-Timestamp Messages</title><link href="https://lightning.community/SI/2026/06/18/lnd-zero-timestamp-gossip-dos.html" rel="alternate" type="text/html" title="LND Gossip Nil-Map Panic on Zero-Timestamp Messages" /><published>2026-06-18T09:00:00+00:00</published><updated>2026-06-18T09:00:00+00:00</updated><id>https://lightning.community/SI/2026/06/18/lnd-zero-timestamp-gossip-dos</id><content type="html" xml:base="https://lightning.community/SI/2026/06/18/lnd-zero-timestamp-gossip-dos.html"><![CDATA[<h2 id="impact">Impact</h2>

<p>An unauthenticated peer could crash a victim lnd node by sending a
<code class="language-plaintext highlighter-rouge">channel_update</code> or <code class="language-plaintext highlighter-rouge">node_announcement</code> carrying a timestamp of <code class="language-plaintext highlighter-rouge">0</code>. In the
gossiper’s announcement de-duplication path, a first-seen message with
timestamp <code class="language-plaintext highlighter-rouge">0</code> skips both the discard branch and the initialization branch and
falls through to an assignment into a nil <code class="language-plaintext highlighter-rouge">senders</code> map, triggering a panic
(“assignment to entry in nil map”) that crashes the node.</p>

<p>There is no fund-loss path. The node restarts cleanly, but it can be crashed
again by repeating the attack.</p>

<h2 id="severity">Severity</h2>

<p>Scored against the <a href="https://lightning.community/SI/">Lightning Labs severity
taxonomy</a> (4-dimension rubric):</p>

<table>
  <thead>
    <tr>
      <th>Dimension</th>
      <th>Score</th>
      <th>Reasoning</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td>Impact</td>
      <td>Low</td>
      <td>Panic and crash. The node restarts cleanly; no fund-loss path and no sustained liveness invalidation.</td>
    </tr>
    <tr>
      <td>Attack Vector</td>
      <td>High</td>
      <td>Network. Any peer can deliver the malformed <code class="language-plaintext highlighter-rouge">channel_update</code> / <code class="language-plaintext highlighter-rouge">node_announcement</code> with no prior relationship.</td>
    </tr>
    <tr>
      <td>Exploitability</td>
      <td>High</td>
      <td>A single zero-timestamp message reliably triggers the panic on a default configuration.</td>
    </tr>
    <tr>
      <td>Virality</td>
      <td>Low</td>
      <td>The node crashes while batching the message for rebroadcast, before relaying it, so the attack does not self-propagate through gossip. Each victim must be targeted directly.</td>
    </tr>
  </tbody>
</table>

<p><strong>Result: T3.</strong> Rule 3 (Impact = Low, base T3); no promotion because Virality is
not High. A non-viral crash-DoS is T3 regardless of how trivially it triggers.</p>

<h2 id="patches">Patches</h2>

<p>The issue was fixed in lnd
<a href="https://github.com/lightningnetwork/lnd/releases/tag/v0.20.1-beta">v0.20.1-beta</a>
by <a href="https://github.com/lightningnetwork/lnd/pull/10469">lnd #10469</a>
(“lnwire: enforce non-zero timestamp in gossip messages”), which rejects
zero-timestamp gossip messages at parse time so they never reach the affected
code path. Users should update to a version &gt;= v0.20.1-beta to be protected.</p>

<h2 id="disclosure-timeline">Disclosure timeline</h2>

<ul>
  <li>Reported to Lightning Labs by Nishant Bansal.</li>
  <li>Reproduced and verified by Matt Morehouse using a proof-of-concept attack program.</li>
  <li>Fix merged in lnd #10469 and released in v0.20.1-beta.</li>
  <li>Public disclosure: 2026-06-18.</li>
</ul>

<h2 id="credit">Credit</h2>

<p>Reported by Nishant Bansal
(<a href="https://github.com/NishantBansal2003">@NishantBansal2003</a>).</p>

<h2 id="references">References</h2>

<ul>
  <li>Reporter writeup: <a href="https://nishantbansal2003.github.io/posts/LND-Zero-Timestamp-Gossip-DoS/">LND Zero-Timestamp Gossip DoS</a></li>
  <li>Fix: <a href="https://github.com/lightningnetwork/lnd/pull/10469">lnd #10469</a></li>
</ul>]]></content><author><name></name></author><summary type="html"><![CDATA[Impact]]></summary></entry><entry><title type="html">LND Onion Bomb</title><link href="https://lightning.community/SI/2024/06/20/lnd-onion-bomb.html" rel="alternate" type="text/html" title="LND Onion Bomb" /><published>2024-06-20T09:00:00+00:00</published><updated>2024-06-20T09:00:00+00:00</updated><id>https://lightning.community/SI/2024/06/20/lnd-onion-bomb</id><content type="html" xml:base="https://lightning.community/SI/2024/06/20/lnd-onion-bomb.html"><![CDATA[<h2 id="impact">Impact</h2>

<p>A parsing vulnerability in lnd’s onion processing logic led to a DoS vector due to excessive memory allocation.</p>

<h2 id="patches">Patches</h2>

<p>The issue was patched in lnd <a href="https://github.com/lightningnetwork/lnd/releases/tag/v0.17.0-beta">v0.17.0</a>. Users should update to a version &gt;= v0.17.0 to be protected.</p>

<h2 id="references">References</h2>

<p>Detailed blog post: <a href="https://morehouse.github.io/lightning/lnd-onion-bomb/">https://morehouse.github.io/lightning/lnd-onion-bomb/</a></p>

<p>Developer discussion: <a href="https://delvingbitcoin.org/t/dos-disclosure-lnd-onion-bomb/979">https://delvingbitcoin.org/t/dos-disclosure-lnd-onion-bomb/979</a></p>]]></content><author><name></name></author><summary type="html"><![CDATA[Impact]]></summary></entry><entry><title type="html">Witness Block Parsing DoS Vulnerability</title><link href="https://lightning.community/SI/2022/11/17/witness-block-parsing-dos-vulnerability.html" rel="alternate" type="text/html" title="Witness Block Parsing DoS Vulnerability" /><published>2022-11-17T09:00:00+00:00</published><updated>2022-11-17T09:00:00+00:00</updated><id>https://lightning.community/SI/2022/11/17/witness-block-parsing-dos-vulnerability</id><content type="html" xml:base="https://lightning.community/SI/2022/11/17/witness-block-parsing-dos-vulnerability.html"><![CDATA[<h2 id="impact">Impact</h2>

<p>All lnd nodes before version <code class="language-plaintext highlighter-rouge">v0.15.4</code> 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.</p>

<p>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.</p>

<h2 id="patches">Patches</h2>

<p>A patch is available starting with lnd <code class="language-plaintext highlighter-rouge">v0.15.4</code>.</p>

<h2 id="workarounds">Workarounds</h2>

<p>Nodes can use the <code class="language-plaintext highlighter-rouge">lncli updatechanpolicy</code> 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.</p>

<h2 id="references">References</h2>

<p><a href="https://github.com/lightningnetwork/lnd/issues/7096">https://github.com/lightningnetwork/lnd/issues/7096</a></p>

<p><a href="https://github.com/lightningnetwork/lnd/releases/tag/v0.15.4-beta">https://github.com/lightningnetwork/lnd/releases/tag/v0.15.4-beta</a></p>]]></content><author><name></name></author><summary type="html"><![CDATA[Impact]]></summary></entry></feed>