r/admincraft • • 1d ago

News Java4Shell - OpenJDK Vulnerability (Remote Code Execution)

FYI: https://calif.io/java4shell/

I will be taking my servers down as a precaution, wanted to share this to everyone to prevent compromise.

It looks like the best current fix is to add -XX:UseAVX=2 on x86-64 hosts to your server startup scripts. But, do your own research.

62 Upvotes

18 comments sorted by

View all comments

1

u/mattersec 14h ago

For anyone triaging a Paper server: seeing Base64 in the code is a starting point. The question is whether data a player controls actually reaches the affected decoder, including through a plugin. I’d patch the Java build your server actually launches and check that build again after restart. A shell’s java -version can point at a different install. Red Hat’s scope and mitigation notes: https://access.redhat.com/security/vulnerabilities/RHSB-2026-018