r/admincraft • u/TheVibeCurator Admincraft • 6d ago
News JVM CVE: JAVA SERVERS AFFECTED
CVE-2026-114938
There is a bug in how the JVM decodes Base64-encoded information on servers capable of using the AVX-512 instruction set.
To mitigate, add `-XX:-UseBASE64Intrinsics` to your startup flags and restart all of your servers.
Once all versions of Java have been patched, this will no longer be required (though this may take several hours or days). Monitor for patches.
More info here: https://calif.io/java4shell/
If you want to receive pings when new CVEs like this impact the community, you can join the Admincraft Discord and self-assign the Security pings role.
•
u/DefectiveSage Admincraft 5d ago
Credit to the Pufferfish host, who notified their Discord server about this exploit and provided instructions on how to patch the exploit temporarily.
You should update your Java as soon as possible, as many Java distributions have already patched said exploit.
Pterodactyl yolks/java docker images has said flag forcefully set as per this commit
5
u/celestialcitymc Server Owner | Celestial City 6d ago
the discord invite link seems to be invalid
55
u/Ictoan42 6d ago
Is there any info on what the attack vector is for an untrusted client? I'm not informed on where Minecraft uses b64 in the protocol
28
u/GinaBun 5d ago
This is definitely not even close to being as bad as log4shell. And as far as I've looked around, the single attack vector in modern versions I can prove seem to be the server icon, meaning an RCE from a malicious server to a client may be possible with no surfaces for client->server.
People are saying player heads too but I'm not so sure if that's true, favicon was the single surface I could see.
12
u/Tyfyter2002 6d ago
I get why they don't, but I really wish they had in-depth explanations of the vulnerability on CVE pages
10
u/BannockHatesReddit_ 6d ago edited 6d ago
"No exploitation in the wild has been reported as of the time of writing"
This is more like the php exploit except at the beginning before it had a demonstrated vector. Not nearly as urgent as the log4j2 rce. Rn it's only a DoS exploit.
9
u/Impossible-Car3786 5d ago
Comparing this to Log4Shell is not realistic. It requires AVX-512 to be enabled, which is something thats still quite rare due to:
- Only new-ish CPUs supporting it
- Instructions have to be available, which is not the case for general VM cpu types (used by most VPS/shared hosts)
Checking if you currently have the instructions enabled can be easily done via `lscpu | grep avx512`, disabling it is just as easy via grub argument, or just not allowing java to use it via glibc hwcaps.
8
u/kev6261337 Pufferfish.Host - Ryzen 9 5950x Minecraft Hosting! 6d ago
Most of this is word-for-word copied from our announcement. Some credit would have been nice ;)
2
u/_4rcadia 5d ago
Good news: AVX-512 is not widely enabled. Check your chip first if you own the machine. You might not need to take any action!
1
u/Human-Equivalent-154 5d ago
Every 3 seconds calif releases new exploit
1
u/Master5723 4d ago
Two things to check after adding the flag. First, it has to go before -jar: anything after the jar name is passed to the server as an argument and the JVM never sees it. Some host panels append custom flags after the jar, so look at the full command they generate. Second, confirm it actually took effect on the running process with
jcmd <pid> VM.flags | grep -i base64. Also note that the other thread suggests -XX:UseAVX=2, which turns off far more than the vulnerable intrinsic and can cost performance on AVX-512 CPUs.1
u/Professional_Trip574 6d ago
Hmm, que permet donc de faire cette faille? Se mettre op? Ou autre?
0
u/iyute 5d ago
My CPU doesn’t support AVX-512
-11
u/nshire 6d ago edited 6d ago
Tldr: not on AMD AM4 processors or anything other than 11th gen Intel on desktop