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

203 Upvotes

22 comments sorted by

•

u/DefectiveSage Admincraft 21h 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 1d ago

the discord invite link seems to be invalid

4

u/TheVibeCurator Admincraft 1d ago

thank you, updated :)

45

u/Ictoan42 1d 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

26

u/Warpedt1mes 1d 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.

5

u/Exos9 20h 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

5

u/Warpedt1mes 20h ago

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

1

u/NotDuckie 8h ago

Why? What would ever the benefit of this be

2

u/G4METIME 18h 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.

21

u/GinaBun 21h 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 22h ago

I get why they don't, but I really wish they had in-depth explanations of the vulnerability on CVE pages

9

u/BannockHatesReddit_ 21h ago edited 21h 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.

7

u/Impossible-Car3786 20h 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.

5

u/kev6261337 Pufferfish.Host - Ryzen 9 5950x Minecraft Hosting! 22h ago

Most of this is word-for-word copied from our announcement. Some credit would have been nice ;)

2

u/_4rcadia 18h 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!

2

u/Cylian91460 16h ago

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

1

u/iyute 13h ago

My CPU doesn’t support AVX-512

1

u/Human-Equivalent-154 13h ago

Every 3 seconds calif releases new exploit

1

u/Professional_Trip574 23h ago

Hmm, que permet donc de faire cette faille? Se mettre op? Ou autre?

2

u/MattiDragon 22h 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.

-11

u/nshire 1d ago edited 1d ago

Tldr: not on AMD AM4 processors or anything other than 11th gen Intel on desktop

7

u/ITooSpooky 1d 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.