On 11/18/2026 3:33 PM, Simon Clubley wrote:
> On 2026-11-18, Arne Vajhøj <ar…@vajhoej.dk> wrote:
>> (now we started the *Shell discussion) >> >> Yesterday the internet started buzzing about a new serious Java >> vulnerability Java4Shell. >> >> Base on what I have read then the vulnerability is in: >> * base64 decoding (which due to HTTP Basic Authentication means >> that it impacts all HTTP servers among other) >> * impacts x86-64 >> * impacts at least Java 17, 21 and 25 - possible also very late >> builds of 8 >> >> The fix is to either update to a patched version or run Java with: >> -XX:-UseBASE64Intrinsics >> >> The vulnerability was introduced when the normal Java code for base64 >> decoding was replaced by an assembler version utilizing AVX-512. That >> assembler code has a bug so that certain invalid input causes memory >> corruption that can lead to RCE.
> > Seriously not impressed by this based on what I have read so far. > > Someone has forgotten the purpose of Java and the mission-critical > environments this language is used in and has made the wrong tradeoff > here for a little bit of optimisation. > > This is the kind of thing that should have stayed as pure Java in the > name of robustness and security. Somebody _really_ screwed up here by > hand-writing assembly language code to replace this. > > This is the mindset of arrogance over the mindset of security and robustness. > > Very seriously not impressed.
I find it very hard to imagine any application where base64 decoding is performance critical. So likely the change made the base64 decoding 10 times faster and the overall application 0.01% faster. Arne