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

psbt: fix path size

Public commit record

What the developer wrote

Authored by Mike Tolkachev

28/100 · Opaque
psbt: fix path size
✓ Subject identifies a change! No meaningful explanatory body! Opaque security-relevant change
The short version

What changed, and why it matters

This commit fixes a small but meaningful bug in how Jade, a hardware wallet, reads key paths from Bitcoin PSBT data. The code was passing the byte size of a buffer when it should have passed the number of 32-bit entries. Depending on how the underlying library interprets that value, this could lead to reading truncated paths, rejecting valid transactions, or possibly reading past the intended buffer. It is a defensive fix in security-sensitive parsing code, but the commit itself does not claim a specific exploitable vulnerability.

Recommended action

Treat as a security-hardening fix and include in the next firmware release. Review libwally's implementation of wally_map_keypath_get_item_path() to confirm whether the oversized count could cause an out-of-bounds write, and add regression tests covering long key paths in PSBTs. No independent CVE should be assigned without further vendor or researcher analysis.

Security signals we found

01

Buffer-size semantic mismatch in security-critical PSBT parsing

02

Use of sizeof() on uint32_t array where element count is expected

03

Code path involved in 2of3 multisig recovery key identification

04

Fix is narrowly scoped to a single function call pattern

Risk score

Why this scored 42/100

Our methodology →
Potential impact 12/30
Exploitability 8/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.