CurseForge · Minecraft mod
MC Java Safety Check
Checks whether your Java has the Java4Shell flaw (CVE-2026-114938) and, only if it does, shows how to fix it. Checked on your PC only; nothing is sent anywhere.
Quick answer
Which MC Java Safety Check release matches 1.21.1 NeoForge?
MC Java Safety Check v0.1.0 targets 1.21.1 with NeoForge. The project page does not say whether this file belongs on the client, dedicated server, or both. No extra mods listed for this file.
Where it goes
Is MC Java Safety Check required on the client, server, or both?
The project page does not say whether this file belongs on the client, dedicated server, or both.
The source does not explicitly classify this release as client-only or server-only.
What else does MC Java Safety Check v0.1.0 need?
MC Java Safety Check v0.1.0 on 1.21.1 NeoForge. Every mod below is checked against that same setup.
This file does not list any required mods. Do not add a library just because a different file uses it.
This file does not list any required or optional mods.
Before you install it
Add MC Java Safety Check without breaking your instance.
Built for MC Java Safety Check v0.1.0 on 1.21.1 NeoForge. Pick another file and the loader, install side or required mods may change.
- 01
Stick to this file
Use MC Java Safety Check v0.1.0. It targets 1.21.1 with NeoForge; another release may have different loader, side or dependency requirements.
- 02
Bring the mods it needs
This file does not list any required mods. Do not add a library just because a different file uses it.
- 03
Put it on the correct side
The project page does not say whether this file belongs on the client, dedicated server, or both.
- 04
Pick the file you checked
Use the “Get this file” button beside MC Java Safety Check v0.1.0. It opens that exact file at the source.
About this project
What does MC Java Safety Check add?
This mod is designed specifically for the Dungeon Train modpack / mod, but can be used independently.
What it does
Java4Shell (CVE-2026-114938) is a publicly reported flaw in the fast Base64 decoder of some Java versions on newer Intel and AMD processors. Minecraft decodes Base64 for things like skins and server icons, so a hostile multiplayer server could use it to crash your game or run code on your computer.
MC Java Safety Check looks at the Java your game is running on when you reach the title screen. Only if that Java is affected, it shows a card that says what it found, links the official CERT-EU advisory, and offers two fixes:
- Update Java. Steps for the launcher or Java vendor this game actually uses: restart the Minecraft Launcher, CurseForge or ATLauncher, re-download Java in the Modrinth App or Prism Launcher, or get a newer build from the vendor you installed it from.
- Use Arguments. The JVM argument
-XX:-UseBASE64Intrinsics, with a Copy button and the place your launcher keeps its arguments. It switches off only the faulty part of Java.
Once a fix is in place, the card stops appearing by itself. "Continue anyway" asks once more, and "Don't show me again" is remembered for that Java only.
On a server, it writes the same check to the log when the server starts.
Who sees the card
Only players for whom every condition holds:
- an x86-64 processor with AVX-512,
- an affected Java: 17.0.6 or newer, 21, 25 or 27, below 17.0.21.1, 21.0.13.1, 25.0.5.1 or 27.0.1.1,
- the Base64 shortcut switched on (the default).
Apple silicon, older processors and fixed Javas never see it.
What it doesn't do
- It never runs the flaw or tests your PC with an attack. It only reads Java's version and settings.
- It doesn't change Java or your launcher for you. You make the fix yourself, in a minute.
- It never asks for passwords or payment.
- It doesn't send anything over the network. Links open only when you click them.
Setup
- NeoForge 1.21.1. No other mods needed.
- Install it on the client, the server or both. Each side works on its own.
- A modpack can name itself on the card ("My Pack: Java Safety Check") with
senderNameinconfig/mcjavasafetycheck-client.toml. - Text in 22 languages. Translations other than English are AI-made.
To check it is running, look for [MC Java Safety Check] in latest.log.
Licence
PolyForm Shield 1.0.0. Source: GitHub.
Project description from CurseForge.
Pick your setup
MC Java Safety Check by Minecraft version and loader
Choose the version and loader you play, then open the matching release.
Check the dependencies, then try the file in a copied instance before changing a world you care about.
Recent files
MC Java Safety Check versions and loaders
MC Java Safety Check v0.1.0
mcjavasafetycheck-neoforge-0.1.0.jar
20 Nov 2026
Looking for an older file? The official CurseForge project page is in Resources.