WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
295578
Uint8Array.fromBase64 fails to reject invalid input
https://bugs.webkit.org/show_bug.cgi?id=295578
Summary
Uint8Array.fromBase64 fails to reject invalid input
Nikita Skovoroda
Reported
2025-07-08 01:44:36 PDT
E.g. 'A' (incomplete input), 'A==' (invalid input) `Uint8Array.fromBase64` is shipped and this affects both macOS Safari 18.4 and nightly JSC builds (297100, from
https://build.webkit.org/#/builders/1223
)
https://tc39.es/proposal-arraybuffer-base64/spec/#sec-frombase64
* 10.3, step 10.b.i * 10.3, step 10.e See
https://github.com/tc39/test262/pull/4533
for tests
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2025-07-08 10:54:09 PDT
<
rdar://problem/155346981
>
Shu-yu Guo
Comment 2
2025-07-11 18:27:38 PDT
Pull request:
https://github.com/WebKit/WebKit/pull/47926
daniel
Comment 3
2025-07-12 10:29:12 PDT
It looks like the bug is upstream, in simdutf, see
https://github.com/simdutf/simdutf/pull/822
Will get fixed soon.
EWS
Comment 4
2025-07-14 08:16:06 PDT
Committed
297335@main
(c5b50b5798c5): <
https://commits.webkit.org/297335@main
> Reviewed commits have been landed. Closing PR #47926 and removing active labels.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug