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

Merge PR 'Populate non-witness UTXOs in bump PSBTs' (#5471)

Public commit record

What the developer wrote

Authored by Matt Corallo

81/100 · Strong
Merge PR 'Populate non-witness UTXOs in bump PSBTs' (#5471)

from bot/5377-populate-non-witness-utxos-in-bu-bdab8f into main

Reviewed-on: https://git.rust-bitcoin.org/lightningdevkit/rust-lightning/pulls/5471
Reviewed-by: Matt Corallo <matt@noreply.git.rust-bitcoin.org>
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Provides detailed explanatory context✓ Links an issue, advisory, or supporting reference
The short version

What changed, and why it matters

This change fixes how transaction fee-bumping PSBTs (Partially Signed Bitcoin Transactions) are built in LDK. Previously, when a non-witness UTXO (a non-SegWit coin) was used as an input, the PSBT only had a witness UTXO field populated for SegWit inputs and left non-witness inputs without the required non_witness_utxo data. The patch now correctly fills in the previous full transaction (non_witness_utxo) for legacy/non-witness inputs. This is a correctness fix that can affect whether hardware wallets and signers accept and properly sign fee-bump transactions, which matters for Lightning channel security (timely confirmation of commitment/HTLC transactions).

Recommended action

Review whether any deployed LDK-based signer or wallet relies on non-witness UTXOs in fee-bump transactions; upgrade to include this fix. Validate that PSBTs produced for non-SegWit confirmed UTXOs now include non_witness_utxo and are accepted by downstream signers. No immediate emergency response is indicated, but treat as a correctness fix in a security-critical path.

Security signals we found

01

PSBT input metadata correctness fix

02

Non-witness UTXO now populated for legacy inputs in fee-bump transactions

03

Affects CPFP anchor and HTLC transaction signing paths

04

Could prevent signing failures or incorrect sighash computation on non-SegWit inputs

05

No explicit vendor security disclosure or CVE in commit materials

Risk score

Why this scored 35/100

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