Java4Shell: One Bad Base64 String Can Own Your Java Server — Patch It Today

Written by

in

I do not run a lot of Java in public if I can help it, but a lot of the software other people depend on does — login systems, ticketing systems, build servers, search. That is why the flaw disclosed this week as Java4Shell matters even if you have never written a line of Java yourself.

On November 17, Oracle patched CVE-2026-114938 in its November Critical Patch Update, and CISA urged organizations to patch it immediately that same day. The bug is in Java’s hardware-accelerated Base64 decoder in the x86-64 HotSpot JVM. Calif, the firm that found it, says a short malformed Base64 string — a string of “A” characters plus a padding character — makes the decoder write 62 bytes past the end of its output buffer. Java rejects the input, but only after that write has already happened.

That is memory corruption, and Calif says it turned it into code execution without logging in on default installations of Keycloak, Atlassian Jira and Confluence, JFrog Artifactory, Jenkins, and PingFederate. Those are not obscure test apps. Keycloak and PingFederate are identity providers — the front door other systems trust. Jira, Confluence, and Jenkins sit in the middle of a lot of companies’ daily work.

Who is actually affected

Not every Java install is vulnerable, and that matters for not wasting your day. Check Point’s advisory says three things all have to be true at the same time: an unpatched runtime, a specific processor, and a path for attacker-controlled Base64 to reach Java’s standard decoder.

On the runtime side, that means unpatched OpenJDK-based builds from 17.0.6 onward on Java 17, and all Java 21, 25, and 27 builds before the fix, from any vendor. Standard Java 8 and Java 11, and Java 17 before 17.0.6, are listed as not affected.

On the processor side, the vulnerable code only runs on x86-64 chips with AVX-512 VBMI — including Intel Xeon Ice Lake through Granite Rapids, and AMD EPYC and Ryzen Zen 4 and newer. ARM64 is not affected, and neither are x86-64 chips without that feature.

On reachability, a lot of Java apps decode Base64 before authentication — in Basic authentication headers, SAML artifacts, CSRF tokens, and file uploads. That is why a login is often not needed in the first place.

How bad is it, really?

I am not going to call this the end of the world, and I am not going to wave it off either.

Here is the honest part first: as of November 18, there is no confirmed exploitation in the wild, and CISA has not added this flaw to its Known Exploited Vulnerabilities catalog. Independent labs have reproduced crashes and a memory leak, but code execution so far rests on Calif’s own demonstrations. The scores disagree too — Oracle rates it 8.1 under CVSS 3.1, Calif rates it 9.2 under CVSS 4.0, and Red Hat gave a preliminary 9.8. Do not get stuck arguing about which number is right.

What pushes this up my list is the combination: pre-login reach, identity providers at the top of the affected list, and a triggering input that has been visible publicly since September, according to Calif and reporting on the disclosure. There is no single universal exploit — each product needs its own work — but that slows down mass attacks, it does not protect a specific, valuable target. If you run one of those identity or build systems facing the internet, treat this as urgent.

What to actually do

1. Patch the Java runtime — that is the only complete fix. For Oracle Java SE, the fixed builds are 17.0.21.1, 21.0.13.1, 25.0.5.1, and 27.0.1.1 — note the extra .1, a regular November build without it is not the fix. Amazon Corretto and Azul Zulu have fixed builds out as well. As of November 18, Red Hat had not yet shipped fixes for Red Hat Enterprise Linux 8, 9, and 10, and Check Point lists Eclipse Temurin as not yet released — if you are on those, check your vendor today and use the workaround below until their build lands.

2. Patch in the right order. Identity providers first — Keycloak and PingFederate. Then Jira, Confluence, Jenkins, and Artifactory. Then any other internet-facing Java service that handles logins, tokens, or uploads. Internal systems and Java clients come after that, not instead of it.

3. Remember the bundled runtimes. A lot of products ship their own copy of Java inside the installer. Updating Java on the operating system does not fix the copy inside Jira or any other bundled app. Inventory the runtime each application actually uses, and get that product’s update from its vendor.

4. If you cannot patch today, use the startup flag. Add -XX:-UseBASE64Intrinsics to the Java startup options and restart the service. That turns off only the accelerated Base64 decoder with the bug. Check Point warns not to use -XX:DisableIntrinsic=_base64_decodeBlock on its own — it can stop Java from starting. Whichever route you take, nothing counts until the Java process has restarted, so verify the running version after the restart.

5. Watch for crashes. Failed attempts often crash the Java process. Look for unexpected restarts and new hs_err_pid log files, especially around login, token, and upload handling. A crash is not proof someone got in, but right now it is a signal worth investigating, not clearing and forgetting.

If you do not run Java servers, your action list is short: make sure the Java-based services you log into are being patched by whoever runs them, and move on. If you do run them, especially an identity provider, do not put this on next week’s list. The patch exists, the workaround exists, and the window between disclosure and someone else building a reliable exploit is exactly the window you are given to use.

Sources: Check Point, “Java4Shell (CVE-2026-114938): Check Your Java Services Now,” November 18, 2026 — https://blog.checkpoint.com/security/java4shell-cve-2026-114938-check-your-java-services-now/ — and SQ Magazine, “Java4Shell Patched by Oracle as Red Hat Fixes Lag Behind,” November 18, 2026 — https://sqmagazine.co.uk/java4shell-patched-oracle-red-hat-fixes-lag/