AI-generated analysisPublished automatically and not human-verified. Validated context appears in community notes below.
← Watch feed
High 76 Bitcoin

gossipd: be more robust against channel_update spamming.

Public commit record

What the developer wrote

Authored by Rusty Russell

65/100 · Adequate
gossipd: be more robust against channel_update spamming.

Reported-by: chandrapratap376@gmail.com
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Provides an explanatory body
The short version

What changed, and why it matters

This update fixes a memory exhaustion weakness in Core Lightning's gossip daemon. An unauthenticated remote peer could send a flood of fake Lightning channel identifiers, causing the node to keep allocating memory until the process crashed or the host ran out of memory. The patch caps two internal queues at 10,000 entries so memory use stays bounded.

Recommended action

Upgrade to Core Lightning v26.06rc2 or later. Until upgraded, restrict untrusted peer connections and monitor gossipd memory usage.

Security signals we found

01

Unbounded memory growth in network-facing daemon

02

Remote peer can influence memory allocation via protocol messages

03

Denial-of-service via memory exhaustion

04

Resource cap added to limit attack surface

05

Responsible disclosure by independent researcher

Risk score

Why this scored 76/100

Our methodology →
Potential impact 22/30
Exploitability 18/25
Stealth signal 10/15
Affected reach 12/15
Confidence 9/10
Evidence quality 5/5
Primary-source trail

Evidence and disclosure record

Verified links used to place this patch in context. External claims remain attributed to their publishers.

Vendor advisory · Primary

gossipd: be more robust against channel_update spamming

Upstream patch capping the unknown-SCID map and pending daemon queue at 10,000 entries. The commit explicitly credits Chand Pratap as the reporter.

Research disclosure · Primary

Twin Memory Exhaustion DoS Vulnerabilities in Core Lightning

Responsible disclosure showing that an unauthenticated remote Lightning peer could supply unique bogus channel IDs, grow gossipd's unknown-SCID map without bound, exhaust host memory, and crash the node. The researcher rates the issue Medium/High and advises operators to upgrade.

Release notes

Core Lightning v26.06rc2

Core Lightning release notes state that gossipd was made more robust against channel_update spamming. The fix is included in subsequent v26.06 releases.

Human-validated context

Community notes

Notes can correct, qualify, or add evidence to the AI analysis. Every note shown here has been validated by a human moderator.

No validated notes yet.

The AI analysis stands alone for now. Submit a note if you can add evidence or important context.