Java4Shell (CVE-2026-114938): Pre-Auth RCE Threatens Jira, Jenkins and Keycloak — Patch Your Java Now

Quick Answer

A flaw nicknamed Java4Shell (CVE-2026-114938) lets an attacker with no account run their own code on servers running Jira, Jenkins, Keycloak, Confluence, JFrog Artifactory and PingFederate. The bug sits in a fast Base64 decoder that Java uses on modern Intel and AMD server chips, and it is triggered by a single malformed login header — no password, no account, no click required.

The flaw affects Java 17.0.6 and later, plus Java 21, 25 and 27, but only on x86-64 chips with the AVX-512 VBMI feature. Oracle and the OpenJDK project released fixes on November 18, 2026, and Amazon has patched its Corretto builds. Red Hat is still preparing fixes. If you run any Java service on a modern server chip, check your Java version and CPU today, then update — or apply a one-line JVM flag as a temporary shield.

Introduction

Java runs the back office of the internet. Issue trackers, build servers, identity systems and artifact repositories — the tools every software team depends on — are overwhelmingly written in Java. When a serious flaw appears in Java itself, it does not hit one product. It hits all of them at once.

That is exactly what happened this week. Security research firm Calif disclosed a flaw it calls Java4Shell, tracked as CVE-2026-114938, that can give an unauthenticated attacker remote code execution on some of the most widely deployed Java applications in the world. The list of affected products reads like a who’s who of enterprise software: Atlassian Jira and Confluence, Jenkins, Keycloak, JFrog Artifactory and PingFederate, all exploitable without logging in.

What makes this flaw especially dangerous is how ordinary the trigger is. Servers decode Base64 data constantly — in login headers, in single sign-on tokens, in security tokens — and they do it before checking whether the sender is logged in. An attacker only needs to send a carefully malformed string to a login endpoint. There is no phishing email to open, no file to download, no user to trick.

Here is what Java4Shell is, which systems are exposed, and exactly what to do about it.

What Is Java4Shell?

Java4Shell is a memory-safety flaw in a speed-optimized version of Java’s Base64 decoder. Base64 is the encoding servers use to pack binary data — such as login credentials and security tokens — into text that can travel inside HTTP headers. Java ships with a standard decoder, but on chips that support a feature called AVX-512 VBMI, it switches to a faster, hardware-accelerated version of that decoder once the code has run often enough to be compiled for speed.

The bug is in that fast decoder. A malformed Base64 string that ends with an extra = sign makes the decoder write 62 or 63 bytes past the end of its output buffer. Java notices the string is invalid and rejects it — but only after the out-of-bounds write has already happened.

The bytes written past the end are fixed values, so an attacker cannot choose what they are. That is why early readings of the code suggested the flaw would only crash Java, not hand over control. Calif’s researchers found a way around that limit. By arranging the server’s memory so the overflow expands a neighbouring array, they turn the fixed write into a tool that can write bytes of their choosing and read back from memory — a step they call JavaBleed. From there, they say, the attack reaches the parts of Java that run code.

Independent labs have confirmed part of the chain so far. Security company Upwind reproduced the memory corruption on an AWS server running an Intel Ice Lake chip, where it damaged the next object in memory and eventually crashed Java. Blackpoint Cyber’s Adversary Pursuit Group crashed a test Spring Boot application by sending about 28,300 malformed login requests over roughly 20 seconds — without ever logging in — and used the JavaBleed step in a local test to read a secret stored next to the overflow, succeeding in all 30 runs. Neither lab has yet reproduced full remote code execution, and Calif is holding back its attack code for the six applications.

Who Is Affected?

The flaw only bites when three conditions line up: a vulnerable Java version, a chip with AVX-512 VBMI, and a path that feeds attacker-controlled Base64 into Java’s standard decoder. Here is how those conditions break down.

Vulnerable Java versions

The vulnerable code is present in Java 17.0.6 and later on the Java 17 line, and in Java 21, 25 and 27. Standard Java 8 and Java 11 do not contain it — but the Java SE 8 Performance Pack build 8u511b33-perf is affected. GraalVM for JDK 17.0.21.0.3, GraalVM for JDK 21.0.13.0.3 and GraalVM Enterprise Edition 21.3.20.0.3 are also affected.

Affected chips

The fast decoder only runs on x86-64 Intel and AMD chips that support AVX-512 VBMI. That includes Intel Xeon Ice Lake, Sapphire Rapids, Emerald Rapids and Granite Rapids chips, and AMD Zen 4 or newer chips. ARM64 chips do not run the vulnerable code at all.

Because the flaw depends on the chip, the same container image can be vulnerable on one server and safe on another. On Linux, this command shows whether a server’s chip has the four features the vulnerable code needs — all four must appear in its output:

grep -m1 '^flags' /proc/cpuinfo | tr ' ' '\n' | grep -E '^(avx512f|avx512bw|avx512vbmi|bmi2)$'

Affected applications

According to Calif, the attacks worked without a login under the default settings of Keycloak, Atlassian Jira, Atlassian Confluence, JFrog Artifactory, Jenkins and PingFederate. With a login, the flaw is also reachable in Apache Kafka Broker, Apache Solr, Elasticsearch, Gerrit and Spinnaker. The researchers say their lists are incomplete, so other Java applications that decode Base64 before authentication should be treated as exposed until proven otherwise.

There is also a second, stranger attack path. Calif says a Java program that opens a TLS connection to a malicious server can be compromised, even if the program runs no service of its own. That exploit came from another researcher, samczsun, and the researchers have not published how it reaches the decoder — but it means Java clients, not just servers, deserve attention.

How Serious Is It?

Severity scores differ, because the flaw is easy to trigger but hard to turn into full code execution. Calif rates it 9.2 out of 10 under CVSS 4.0. Oracle scores it 8.1 under CVSS 3.1, describing it as hard to exploit but requiring no login, and its CVE record warns that “successful attacks of this vulnerability can result in takeover of Oracle Java SE.” Red Hat gives a preliminary 9.8, and Amazon scores it 8.8, describing the risk as “a JVM crash for unauthenticated users or, in certain application environments, code execution by an authenticated low-privileged user.”

There is no single exploit that works everywhere. Each target needs its own memory layout and timing, and some attacks are sensitive to network delays. A proxy that waits for complete requests, as nginx does by default, blocks some attacks but not all. A failed attempt can crash Java — and an attacker can often simply try again.

The good news, for now: Canada’s Cyber Centre said this week that it was not aware of any attacks exploiting the flaw, and the flaw was not in CISA’s Known Exploited Vulnerabilities catalog when The Hacker News checked on November 18. But the clock is ticking. A malformed input that triggers the overflow was posted publicly on September 9, in a proposed fix submitted to OpenJDK’s code repository — and once patches are out, attackers can study the fix to build their own exploits. History says the window between a patch and weaponization is short.

The Fixes: Which Java Builds Are Patched

The OpenJDK project lists the flaw as fixed in this week’s releases, and Oracle’s security advisory lists the affected versions of its builds. The fixed Oracle builds are the new .1 releases:

Java build Affected versions Fixed release
Oracle Java SE 17 17.0.6 to 17.0.21.0.3 17.0.21.1
Oracle Java SE 21 21.0.13.0.3 and earlier 21.0.13.1
Oracle Java SE 25 25.0.5.0.3 and earlier 25.0.5.1
Oracle Java SE 27 27.0.1.0.3 and earlier 27.0.1.1
Amazon Corretto 17, 21, 25, 27 Earlier builds, from 17.0.6 on for Corretto 17 17.0.21.1.2, 21.0.13.1.2, 25.0.5.1.2, 27.0.1.1.4
Azul Zulu 17, 21, 25, 27 Earlier builds, from 17.0.6 on for Zulu 17 17.70.201, 21.54.201, 25.38.201, 27.30.201 (free builds)
Red Hat Enterprise Linux 8, 9, 10 and Red Hat build of OpenJDK 17, 21, 25 17.0.6 and later, including 21 and 25 None yet

Amazon has fixed its Corretto builds, and Azul’s November update fixes the flaw in Zulu. SAP released SapMachine 17.0.21.1, 21.0.13.1, 25.0.5.1 and 27.0.1.1 this week, though its release pages do not specify what they fix. Eclipse Temurin, the Microsoft Build of OpenJDK and BellSoft Liberica had not listed fixed builds when The Hacker News checked. For the Java 8 Performance Pack, the latest build is 8u513. For GraalVM, the November security releases are GraalVM for JDK 17.0.21.1, GraalVM for JDK 21.0.13.1 and GraalVM Enterprise Edition 21.3.20.1.

Red Hat has not yet released fixes for Red Hat Enterprise Linux 8, 9 and 10, or for its OpenJDK 17, 21 and 25 builds. Containers based on its images will need to be rebuilt once updated images are out.

Products that bundle their own Java runtime need an update from the product’s maker — updating the system Java will not help if the application ships its own. After updating, restart your Java services, and rebuild and redeploy container images so the running process actually uses the new build.

Can’t Patch Yet? Use a JVM Flag as a Temporary Shield

If you cannot update immediately, start the JVM with one of these flags, and remove it once the fixed build is installed:

  • -XX:-UseBASE64Intrinsics — turns off only the faster Base64 code, which removes the vulnerable path and leaves other AVX-512 speedups in place. This is the safer of the two.
  • -XX:UseAVX=2 — turns off AVX-512 entirely. Use it only on x86-64 servers, because Java on ARM64 does not recognize it and will fail to start.

In Upwind’s lab, both flags stopped the overflow on every affected version it tested. One warning: another flag, -XX:DisableIntrinsic=_base64_decodeBlock, stops Java from starting when used on its own — do not use it.

These flags are a stopgap, not a fix. Patching remains the only permanent answer, and the flags should come off once the fixed build is in place.

How to Spot Attack Attempts

Researchers suggest watching for these signs, while warning that none of them proves a compromise — and that their absence does not prove a server is safe:

  • Base64 tokens of 32 characters or more that end in = and whose length is not a multiple of 4, especially in Authorization headers.
  • Bursts of IllegalArgumentException errors from java.util.Base64$Decoder.
  • Unexplained hs_err_pid crash logs or bursts of restarts.

If you see repeated crashes on a Java service that handles logins, treat it as a possible probing attempt, not just a stability problem.

What to Do Now: A Checklist

If you run servers:

  1. Check your Java version with java -version on every server, container image and bundled runtime. Anything on Java 17.0.6 or later, or Java 21, 25 or 27, is in scope.
  2. Check the CPU with the /proc/cpuinfo command above. If the chip lacks AVX-512 VBMI, the vulnerable code never runs — but verify, don’t assume.
  3. Update to the fixed build for your vendor, restart the Java services, and rebuild and redeploy container images.
  4. If your vendor has no fix yet — Red Hat users, this means you — apply -XX:-UseBASE64Intrinsics now and watch for the vendor’s update.
  5. Check your logs for the indicators above, and for unexplained JVM crashes.

If you are a developer:

  1. Check which Java version your build and CI servers use — Jenkins is on the unauthenticated list, and build servers hold the keys to everything.
  2. Update your local JDK and your Docker base images.
  3. Remember that Java clients are exposed too: a program that opens a TLS connection to a malicious server can be compromised.

If you are an ordinary user:

You cannot patch Java yourself, but you can protect your accounts. If Jira, Confluence or Keycloak at your workplace goes down for emergency maintenance this week, this flaw is very likely why. Change your passwords if your employer reports a compromise, and turn on multi-factor authentication wherever it is offered — it does not stop this attack, but it limits what a stolen session can do.

This is the second major supply-chain-style scare in as many days: on November 17, hijacked Optimizely scripts served card skimmers to visitors of CNN, the BBC and Zoom. Read our breakdown of that incident here: OPTIMJACK Explained: How Hacked Optimizely Scripts Put Card Skimmers on CNN, BBC and Zoom — and What to Do Now

And the pattern is familiar from earlier this month, when a critical PostgreSQL flaw that had sat unnoticed for 22 years was patched under emergency conditions. Our coverage is here: PostgreSQL Patches 22-Year-Old Flaw (CVE-2026-6460) That Allowed Authenticated Remote Code Execution

Frequently Asked Questions

Am I affected if I run Java 8 or Java 11?

Standard Java 8 and Java 11 do not contain the vulnerable code, so they are not affected — with one exception: the Java SE 8 Performance Pack build 8u511b33-perf is affected, and its fix is build 8u513. Check your exact build, not just the major version.

Does Java4Shell affect my laptop?

Probably not directly. The flaw needs a server chip with AVX-512 VBMI, and most laptops either lack that feature or do not run Java services that accept unauthenticated Base64 input. The risk is concentrated on servers — but Java desktop applications that open TLS connections to untrusted servers are also in scope via the client-side attack path, so keeping your JDK updated still matters.

I use Jira Cloud, not self-hosted Jira. Am I at risk?

Cloud customers are protected by the vendor, not by you. Atlassian manages the Java runtime behind Jira Cloud, and the patching responsibility sits with them. Self-hosted Jira, Confluence and Jenkins are where the urgent work is — check with your admin whether the fix has been applied.

Is Java4Shell being exploited in the wild?

Not that anyone has confirmed. Canada’s Cyber Centre said it was not aware of any attacks exploiting the flaw, and it was not in CISA’s Known Exploited Vulnerabilities catalog on November 18. But researchers have reproduced crashes and memory reads in the lab, and the public availability of a triggering input since September means defenders should patch before attackers catch up, not after.

What is the difference between Java4Shell and Log4Shell?

Log4Shell (2021) was a flaw in the Log4j logging library that let attackers run code by sending a crafted string to any application that logged it. Java4Shell is a flaw in Java itself — in the Base64 decoder built into the JDK — which means it reaches any Java application that decodes attacker-controlled Base64, regardless of which libraries it uses. Both are pre-authentication remote code execution, and both earned their names because of how widely they reach.

Can a firewall or a proxy protect me?

Partially. A proxy that waits for complete requests, as nginx does by default, blocks some attacks but not all. A web application firewall may catch the malformed Base64 pattern, but the trigger is a single malformed header, and the exploit can be adapted. Treat proxies and firewalls as extra layers, not as a replacement for patching.

Key Takeaways

  • Java4Shell (CVE-2026-114938) is a pre-authentication remote code execution flaw in Java’s AVX-512 Base64 decoder, disclosed by Calif on November 18, 2026.
  • It affects Java 17.0.6 and later, plus Java 21, 25 and 27, on Intel and AMD server chips with AVX-512 VBMI. ARM64 chips and standard Java 8/11 are not affected.
  • Jira, Jenkins, Keycloak, Confluence, JFrog Artifactory and PingFederate are exploitable without any login under their default settings.
  • Oracle, OpenJDK, Amazon Corretto, Azul Zulu and SAP have released fixed builds. Red Hat has not yet released fixes.
  • If you cannot patch immediately, start the JVM with -XX:-UseBASE64Intrinsics as a temporary workaround.
  • No exploitation in the wild has been confirmed, but researchers have reproduced crashes and memory reads, and a triggering input has been public since September — patch now, before attackers weaponize it.

Conclusion

Java4Shell is a reminder of how much of the internet rests on a single, shared foundation. A flaw in one decoder inside the Java runtime puts issue trackers, build servers and identity systems at risk all at once — and the trigger is nothing more exotic than a malformed login header.

The good news is that the fix exists, it is available today for most Java vendors, and a one-line flag buys time for the rest. The bad news is that the window is already open: the triggering input has been public since September, and every hour a vulnerable Jira or Jenkins server stays unpatched is an hour attackers can spend turning a lab crash into a working exploit.

Check your Java version, check your CPU, and patch. If your vendor has no fix yet, apply the flag today and watch for the update. The servers that matter most to your team — the ones that build your code, track your work and guard your logins — are exactly the ones this flaw targets.

Source: The Hacker News, “Java4Shell (CVE-2026-114938) Enables Pre-Auth RCE in Jira, Jenkins, Keycloak on Java 17+ AVX-512 VBMI Servers” (November 18, 2026).

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top