Java4Shell: What the Java Flaw Means for Minecraft Servers
Java4Shell is a critical security flaw in Java that became public on November 17, 2026. In the worst case, attackers can use it to run their own code on a computer, without any password. For Minecraft, that means: if you run your own Java server, you should update Java now or apply a workaround. For kids who just play, no attack is known so far.
In short: Java 17, 21, 25 and 27 are affected on newer processors with a specific computing feature (AVX-512 VBMI). Whether a Minecraft server is safe depends on its Java version, not on Paper or plugins. Mojang’s launcher has already fixed the Java used by Minecraft 26.1 and later on macOS and Linux, but not yet on Windows (as of November 24, 2026).
Java4Shell at a glance
| Question | Answer (as of November 24, 2026) |
|---|---|
| What is it? | A bug in Java’s Base64 decoder (CVE-2026-114938) |
| How dangerous? | 9.2 out of 10 according to discoverer Calif, 8.1 according to OpenJDK |
| Affected Java versions | 17 (from 17.0.6), 21, 25, 27 |
| Affected processors | x86-64 with AVX-512 VBMI, such as AMD from Zen 4, Intel server chips from Ice Lake |
| Not affected | Java 8 and 11, ARM computers (Apple silicon), Bedrock servers |
| Fixed versions | 17.0.21.1, 21.0.13.1, 25.0.5.1, 27.0.1.1 |
| Workaround | Startup flag -XX:-UseBASE64Intrinsics |
| Known attacks? | No confirmed attacks, but test code is public |
| Statement from Mojang | None found |
What is Java4Shell?
Java is the programming language that Minecraft Java Edition and almost all Java servers run on. That’s why every Minecraft server with Paper, Spigot, Fabric or Forge needs Java installed on the computer. And that’s exactly where the bug is.
It was discovered by the security company Calif. In its report on Java4Shell, Calif describes a bug in Base64 decoding. Base64 is a way of sending data as letters, for example for logins, images or file uploads. With a specific input, Java writes past the edge of a memory area. An attacker can use this to crash the program or even run their own code.
The bug only occurs on processors with the AVX-512 VBMI feature. According to Calif and JFrog on November 17, 2026, these include AMD processors from the Zen 4 generation onward (Ryzen 7000 and newer, EPYC) and Intel server processors from Ice Lake onward. Computers with ARM chips, such as Macs with Apple silicon, are not affected.
The US cybersecurity agency CISA called for immediate patching in an alert on November 17, 2026. Oracle and OpenJDK released fixed versions the same day.
Why everyone is talking about it
The flaw reminds many people of Log4Shell, the big Java bug from 2021 that also hit Minecraft servers back then. On Hacker News, Calif’s report collected more than 1,100 points and over 330 comments on November 17, 2026. On the Reddit forum r/admincraft, where Minecraft server admins swap tips, a warning post went up the same day.
Unlike Log4Shell, though, Java4Shell needs special hardware. JFrog writes that the AVX-512 requirement shrinks the attack surface in practice. According to Broadcom (security.com) on November 18, 2026, there were no confirmed attacks yet. A test program that triggers the bug is public, however. Broadcom also warns about fake “exploit” downloads that may contain malware themselves.
Is your Minecraft server affected?
The only thing that matters is the Java version your server starts with. Updating Paper or a plugin won’t help. The guide from Computing for Geeks on November 19, 2026 stresses this too.
Which Java version a server needs depends on the Minecraft version:
| Minecraft version | Java version | Affected? |
|---|---|---|
| 26.1 and later | Java 25 | yes, below 25.0.5.1 |
| 1.20.5 to 1.21.11 | Java 21 | yes, below 21.0.13.1 |
| 1.18 to 1.20.4 | Java 17 | yes, from 17.0.6 and below 17.0.21.1 |
| 1.17.1 and older | Java 8 or 16 | no |
Nobody has publicly shown yet whether a server can actually be attacked from outside through this bug. Calif names logins and file uploads as typical entry points. Our take: on Minecraft servers, the most likely candidates are plugins with their own web interface, such as online maps or stats pages. If you can’t check the risk, just patch.
How to secure your server
Work through these steps in order.
- Check your Java version. The server console or the startup log shows which Java version the server is running on. On your own computer,
java -versionshows the installed version. - Update Java. 17.0.21.1, 21.0.13.1, 25.0.5.1 and 27.0.1.1 or newer are safe. According to Computing for Geeks, a fixed package was already available for Ubuntu on November 19, but not yet for Debian or the Temurin Windows installers.
- Apply the workaround if no update is available. Add the startup flag
-XX:-UseBASE64Intrinsicsbefore-jar. Calif, Cloudflare and JFrog recommend this. The Minecraft guide java4shell-mc-guide on GitHub also explains how to do it in the Pterodactyl server panel. - Check Docker and Pterodactyl. According to Computing for Geeks, the Docker image
itzg/minecraft-server(tagslatest,java21,java25) and the Pterodactyl images now apply the workaround automatically. Older, pinned image versions don’t. - Rented servers. With hosts and Aternos, you usually can’t change Java yourself. Ask support. We had not found a statement from Aternos or PaperMC as of November 24, 2026.
We explain how Paper and plugins work together in What Paper does for your Minecraft server. For an overview of rented servers, see Minecraft server hosting compared.
What about just playing?
No way to attack the game itself is known so far. Computing for Geeks says so, and we hadn’t found any report on it either as of November 24, 2026. JFrog does mention, however, that in individual cases Java programs that connect to a malicious server can also be vulnerable.
The Minecraft Launcher ships with its own Java. We checked Mojang’s public list of these Java packages ourselves on November 24, 2026:
- Java 25 (for Minecraft 26.1 and later): updated to 25.0.5.1 on macOS and Linux since November 18, so it’s fixed. On Windows it was still 25.0.1.
- Java 21 and Java 17 (older versions): still 21.0.7 and 17.0.15, so not fixed yet.
Whether a Windows computer is affected at all depends on the processor. Many Intel processors for home PCs don’t have AVX-512, while newer AMD Ryzen processors do. If you play with Prism Launcher or MultiMC, you can also enter the workaround there as a startup flag, according to java4shell-mc-guide. Our advice for families: leave the launcher open until it has downloaded its updates, and don’t install anything a video pitches as a “Java4Shell fix.”
What parents should know
- No need to panic about playing. The flaw mainly affects servers. No attack through normal gameplay is known so far.
- Running a server at home? Then act now. If your child runs a Java server on the family PC, Java on that computer is the way in. Update Java together or apply the workaround. An open server at home is a risk even without Java4Shell; see Minecraft server IP and port.
- Rented or free servers are easier. With providers, the operator takes care of Java updates. You’ll find a selection in Free Minecraft servers.
- Watch out for fake fixes. After big flaws, “patch tools” and supposed exploits quickly pop up that are malware themselves. Only update Java through the launcher, the host or the official Java website.
- Cost: nothing. Java updates and the workaround are free.
- Bedrock, consoles and Realms aren’t involved. Bedrock runs without Java. For how to set up Minecraft safely otherwise, see Minecraft parental controls.
Frequently asked questions
Is my child at risk when just playing Minecraft?
No attack on the game itself is known so far (as of November 24, 2026). The flaw mainly affects programs that accept data from the internet, in other words servers. Even so, keep the Minecraft Launcher up to date and stay away from unknown “fix tools.”
Which Minecraft servers are affected?
Java servers running on Java 17 (from 17.0.6), 21, 25 or 27, and only on x86-64 processors with AVX-512 VBMI, such as AMD from Zen 4 or Intel server chips from Ice Lake. What matters is the Java version, not Paper, Spigot or Fabric. Bedrock servers run without Java and are not affected.
Which Java versions are safe?
According to JFrog and Broadcom (security.com), the fixed versions are 17.0.21.1, 21.0.13.1, 25.0.5.1 and 27.0.1.1. Java 8 and 11 are not affected, and neither are computers with ARM chips such as Apple silicon Macs.
What do I do if there is no update for my server yet?
Calif, Cloudflare and JFrog name the startup flag -XX:-UseBASE64Intrinsics as a workaround. It switches off the faulty part of the code. It can make the server a little slower, but it stands in for the patch until the update arrives.
Do I need to do anything on Aternos or a rented server?
Usually there is nothing you can change yourself; that is up to the provider. We had not found a statement from Aternos as of November 24, 2026. If in doubt, ask support whether Java has been updated or secured.
Sources
Calif: Java4Shell (November 17, 2026), CISA: Critical Java Vulnerability Requires Immediate Patching (November 17, 2026), OpenJDK Vulnerability Advisory (November 17, 2026), JFrog Security Research (November 17, 2026), Broadcom / security.com (November 18, 2026), Cloudflare blog (November 18, 2026), Computing for Geeks: Java4Shell Minecraft Server Fix (November 19, 2026), java4shell-mc-guide on GitHub, r/admincraft (November 17, 2026), Mojang’s Java runtime list for the launcher (our own check on November 24, 2026). All information as of November 24, 2026.
Minecraft OP Permissions: What an Operator Can Do on a Server
What does OP mean in Minecraft? Permission levels 1 to 4, /op and /deop in Java and Bedrock, OP on Aternos, and why you never give OP to strangers.
WorldCraft: The Whole Earth 1:1 in Minecraft, Even Your House
WorldCraft rebuilds Earth at 1:1 scale as a Minecraft server: type an address, visit your own house. How to join, what it costs, what parents should know.
Minecraft Whitelist: Only Let Invited Friends on Your Server
What is a Minecraft whitelist, how do you turn it on with /whitelist, and what is the Bedrock allowlist? Commands, Aternos and tips for parents.
Minecraft Realms Pro: 50 Players for $29.99 a Month
Realms Pro is the new, biggest Realms plan for Minecraft Bedrock: up to 50 players, a dedicated server and performance stats. Price, and who it's for.
Bedrock Can't Connect to Your Server Anymore? Here's Why
Since Minecraft Bedrock 26.60, server connections run over NetherNet. Why kids suddenly can't join, and what helps with Aternos, Geyser and others.
Server IP and Port: What a Minecraft Server Address Means
What is a Minecraft server IP, what does the port (25565/19132) do, and why should your child never share your home IP? Explained simply for Java and Bedrock.
Minecraft Realms Explained: Cost, Safety and Who It's For
What is Minecraft Realms? Prices for Bedrock and Java, who can join, how safe Realms is for kids and when Aternos or your own server is the better pick.
More on this topic #Java Edition
See allSnow Golem Cape in Minecraft: How to Get It from December 1
The new Snow Golem Cape arrives December 1 via code. What it costs, why you need Minecraft Dungeons II and what parents should keep an eye on.
WorldCraft: The Whole Earth 1:1 in Minecraft, Even Your House
WorldCraft rebuilds Earth at 1:1 scale as a Minecraft server: type an address, visit your own house. How to join, what it costs, what parents should know.
Minecraft Throwing Disc: The New 2027 Weapon Explained
Mojang announced a Throwing Disc and full off-hand support for Bedrock at TwitchCon. What we know, what the videos show and what parents should know.
Horizon: Minecraft Java Rewritten in Rust – Test and Risks
Horizon is Minecraft Java 26.3 rebuilt in Rust: faster launch, more FPS on old laptops. What nkin's test shows and what parents should know before installing.
Path Tracing for Minecraft Java: Nvidia's RTX Remix Explained
Nvidia brings path tracing to Minecraft Java as a free beta mod. What RTX Remix does, which graphics card you need, and what parents should know.
Switzerland 1:1 in Minecraft: Alps Free, Whole Country CHF 15
A Swiss creator rebuilt all of Switzerland block by block in Minecraft. Here's what's free, what your PC needs and what parents should know.
AI Beats Minecraft: Four Google Agents Defeat the Ender Dragon
Four Google DeepMind AI agents beat Minecraft in 27 hours, dying 605 times along the way. How it worked, what it means and what parents should know.
Halloween in Minecraft: Seeds, Maps and Skins for Kids
Halloween in Minecraft without real horror: pumpkin heads on October 31, finding spooky biomes, kid-friendly maps and skins, plus what parents should know.
AI Mashups: Minecraft in GTA, Mario & More – Real or Fake?
Minecraft in GTA V, Mario in Minecraft: what's behind the viral AI mashups and decompilation, which projects are real and what parents should know.
Minecraft 26.3 “Wilderness Bound”: Everything New
Minecraft 26.3 Wilderness Bound explained: Dappled Forest, poplar trees, Abandoned Camps, cushions, straw beds, Realms invite codes – and what parents should know.