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

wallet: anchor reserve: handle wallet.use_change being off

Public commit record

What the developer wrote

Authored by SomberNight

73/100 · Adequate
wallet: anchor reserve: handle wallet.use_change being off

fixes https://github.com/spesmilo/electrum/issues/10231
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Provides an explanatory body✓ Links an issue, advisory, or supporting reference
The short version

What changed, and why it matters

This commit fixes a crash in Electrum's transaction builder when a user has Lightning anchor channels enabled but has disabled change addresses. Previously, the code assumed a change address would always be available and tried to access the first item of an empty list, causing an error. The fix falls back to reusing an input address for the required reserve output when no change address exists.

Recommended action

No immediate security response needed; this is a robustness fix. Users with Lightning anchor channels and use_change disabled should update to avoid transaction-building failures. Review whether address reuse for reserve UTXOs has privacy implications for such wallets.

Security signals we found

01

Denial-of-service vector: unhandled IndexError crashes transaction creation

02

Address reuse as intentional fallback for Lightning UTXO reserve requirement

03

Fixes a user-reported bug (issue #10231) but no explicit security framing by vendor

Risk score

Why this scored 34/100

Our methodology →
Potential impact 8/30
Exploitability 5/25
Stealth signal 4/15
Affected reach 6/15
Confidence 7/10
Evidence quality 4/5
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.