Skip to content

Bound Clans member attribute encoding - #19399

Merged
elad335 merged 2 commits into
RPCS3:masterfrom
acts-1631:clans-member-base64-fix
Sep 4, 2026
Merged

Bound Clans member attribute encoding#19399
elad335 merged 2 commits into
RPCS3:masterfrom
acts-1631:clans-member-base64-fix

Conversation

@acts-1631

Copy link
Copy Markdown
Contributor

When the Clans client handles sceNpClansUpdateMemberInfo, clans_client::update_member_info Base64-encodes the guest-provided binAttr1 using binData1Size. binAttr1 is a fixed 16-byte array, but the size was passed through unchecked and the output capacity was set to UINT32_MAX. A guest can provide a larger length, causing WolfSSL to read beyond the fixed attribute and write past the 33-byte stack buffer.

Reject sizes larger than binAttr1 before encoding and pass the actual output-buffer capacity to WolfSSL. Encoding failures are returned as invalid arguments.

@elad335
elad335 requested a review from RipleyTom September 3, 2026 19:15
@elad335
elad335 enabled auto-merge (rebase) September 4, 2026 05:37
@elad335
elad335 merged commit 7be182e into RPCS3:master Sep 4, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants