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

Receive: fix stale subaddress selection after switching accounts

Public commit record

What the developer wrote

Authored by Cole Munz

73/100 · Adequate
Receive: fix stale subaddress selection after switching accounts

subaddressListView.currentIndex was only reset when it equaled -1
(the initial sentinel), so switching to an account with fewer
addresses left the Receive page showing the old index and its label
while the QR/address itself already reflected the new account's
primary address. onPageCompleted also hardcoded index 0 when setting
current_address instead of using the selected index, so the shown
address could disagree with the selected row's label even within the
same account after revisiting the page.

Validate currentIndex against the current account's address count on
page load, and share the address/label sync logic between the
selection handler and onPageCompleted so both stay consistent.
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Provides detailed explanatory context
The short version

What changed, and why it matters

This is a user-interface bug fix in the Monero wallet's Receive page. When a user switched between accounts, the page could show a label and QR code from one account while the displayed address belonged to another account, because the selected list row was not updated to match the new account. The fix makes sure the selected row and displayed address/label stay in sync. It is a consistency bug, not a cryptographic or network vulnerability.

Recommended action

Treat as a normal bug fix. No urgent security response is indicated. Users should update to a build containing this commit to avoid address/label mismatch when switching accounts. If a security advisory is desired, it should describe the issue as a UI consistency bug rather than a critical vulnerability.

Security signals we found

01

UI state desynchronization between displayed address and label/QR code

02

Potential user confusion leading to incorrect payment address being shared

03

No evidence of memory corruption, remote code execution, or cryptographic weakness

Risk score

Why this scored 25/100

Our methodology →
Potential impact 4/30
Exploitability 2/25
Stealth signal 6/15
Affected reach 3/15
Confidence 7/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.