Bugs

Bugs we’ve found. Security findings also get a full write-up under advisories.

28 bugs · 12 fixed · 4 implementations

LND 6 · 2 fixed

BugImpactStatusReportedCreditLinks
Failure to reject open_channel with zero feerate_per_kwgriefreported
Empty channel_type TLV negotiates a legacy channelspecreported
Failure to reject absurdly high channel feeratesspecreported
Absent channel_type TLV negotiates a legacy channelspecfixed
Incorrect signature verification edge casespecreported
Gossiper shutdown deadlock in discoverylivenessfixed,

Core Lightning 13 · 5 fixed

BugImpactStatusReportedCreditLinks
openingd aborts on funding_created with a zero funding_txidcrashreported
accept_channel sets channel_reserve_satoshis below our own dust_limit_satoshiscrashreported
Failure to reject tx_add_output amounts above the total bitcoin supplycrashreported
Failure to reject open_channel where the funder cannot pay the commitment feespecreported
channeld leaves tx_sigs_allowed uninitialized on startupuninitfixed
dualopend leaves state->reconnected uninitialized on startupuninitfixed
Failure to reject absurdly high channel reservesspecreported
Failure to reject option_scid_alias on an announced channelspecreported
Failure to reject dust_limit_satoshis below 354 satspecreported
Zombie connection after lightningd ignores connectd_peer_spokelivenessreported
marginal_feerate() overflows instead of saturatingubfixed
Duplicate funding outpoint creates channels with the same channel_idspecfixed
openingd crashes on assertion when funding_satoshis exceeds the wally maximumcrashfixed

LDK 2 · 1 fixed

BugImpactStatusReportedCreditLinks
Failure to reject absurdly high channel reservesspecreported
to_self_delay size omitted from DelayedPaymentOutput weight calculationdebug-assertfixed

Eclair 6 · 4 fixed

BugImpactStatusReportedCreditLinks
Failure to reject open_channel where the funder cannot pay the commitment feespecreported
Failure to reject option_scid_alias on an announced channelspecreported
Failure to reject funding_satoshis > MAX_MONEYspecfixed
Failure to validate channel_reserve_satoshis against dust_limit_satoshisspecfixed
Incorrect signature verification edge casesspecfixed
Malformed messages silently dropped instead of closing the connectionspecfixed

BOLT spec 1 · 0 fixed

BugImpactStatusReportedCreditLinks
Incorrect HTLC deductions in Appendix C/F test vectorsspecreported