r/admincraft • 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.

253 Upvotes

25 comments sorted by

•

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

→ More replies (1)

5

u/celestialcitymc Server Owner | Celestial City 6d ago

the discord invite link seems to be invalid

4

u/TheVibeCurator Admincraft 6d ago

thank you, updated :)

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

33

u/Warpedt1mes 6d ago

Only for textures like skins or server icons. Only thing I can think of is crashing someone with a malicious player head as the server.

7

u/Exos9 5d ago

Some plugins (specifically TechsCode’s plugins) “encrypt” their config in base64 to force you to use their in-game configurator instead of changing the files

7

u/Warpedt1mes 5d ago

Even then the exploit would only overload the JVM resulting in a game crash.

2

u/NotDuckie 5d ago

Why? What would ever the benefit of this be

2

u/G4METIME 5d ago

I can't say if Minecraft is affected in that way, but often stuff like authentication tokens are base64 encoded. As the server needs to read them to see if someone is authorized to access anything, it will have to decode them, making the server vulnerable.

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.

1

u/Astro_turff 4d ago

I think for client -> server it’d be possible to exploit if the servers running plugins that expose a public webpage, like Dynmap or something. That’d be applicable to small-medium servers mostly. Pterodactyl panel is also vulnerable, but hopefully that’s not public facing lol.

Server -> client is less likely because the only desktop CPUs vulnerable are Ryzen 7000 and up, with no desktop intel affected.

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!

3

u/Cylian91460 5d ago

It's enabled by default on machine that supports it tho

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?

3

u/MattiDragon 6d ago

Theoretically it allows arbitrary code execution on vulnerable servers, but I don't think anyone has found a working attack vector yet. You can however attack clients through server icons and player heads. Even there you might be mostly limited to crashes without careful setups.

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

7

u/ITooSpooky 6d ago

is not good to generalise like that, while you may be right about AMD, Intel has supported AVX512 on many extreme edition cpus since the 7000 series until 11th gen, but xeon server class CPUs still have it to this day.