Is Your Server Exposed to the Java4Shell Vulnerability?

The Java4Shell vulnerability is a new flaw in Java itself, and this week many teams are asking the same question: are we affected?
The answer depends on where your Java runs. Hosted tools are patched by their vendors. The servers you run yourself are what you need to check: a Jenkins build server, a Keycloak login page, or a Java service a contractor wrote a few years ago.
What Java4Shell is, in plain words
Java4Shell is the nickname for CVE-2026-114938, a vulnerability in Java itself, made public on November 17, 2026. The security firm Calif found it. It rates the flaw 9.2 out of 10 under CVSS 4.0, and Oracle rates it 8.1 under CVSS 3.1.
To see why it matters, start with Base64. Base64 is a way to write binary data as plain text so it can travel inside web requests, tokens and emails. Java applications decode Base64 constantly, often before the user has even logged in, for example when reading a login header or a token.
Because decoding happens so often, Java speeds it up. On modern Intel and AMD server processors, it uses special CPU instructions (AVX-512 VBMI) to decode many bytes at once. That fast path is hand-written low-level code, and it contains a bug in how it calculates length. A carefully crafted Base64 string makes it write past the end of its memory buffer.
What an attacker can do with that depends on the application. In the worst case, they can run their own code on your server without logging in. In milder cases, they can crash the service or read secrets that happen to sit in memory, such as keys, tokens and personal data.
Unlike Log4Shell in 2021, this isn’t a bug in a library you added to your project. It’s in the Java runtime, so an application can be exposed even if its own code is perfectly fine.
Java4Shell affected versions and processors that make a server vulnerable
A server is exposed only when all three of these are true.
- It runs Java 17.0.6 or newer on the 17, 21, 25 or 27 release lines, from Oracle or other OpenJDK builds such as Temurin and Corretto. Java 11 and standard Java 8 are not affected.
- It runs on an x86-64 processor with AVX-512 VBMI. In practice, that means Intel Xeon from Ice Lake onward and AMD Zen 4 or newer. Many recent cloud instance types use these chips. ARM servers, including AWS Graviton, are not affected.
- Data from outside can reach Java’s Base64 decoder. For a web-facing Java application, assume it can.

Calif showed code execution without login on default installations of Jira, Confluence, Jenkins, Keycloak, JFrog Artifactory and PingFederate. On Kafka, Solr, Elasticsearch, Gerrit and Spinnaker, it worked after login. If you host any of these yourself, check them first.
As of November 19, security researchers had seen suspicious scanning traffic but no confirmed break-ins. The public proof of concept crashes the process but doesn’t yet run code. That gap rarely lasts long, so it’s a reason to patch this week, not to wait.
Hosted tools are covered, self-hosted ones are on you
If you use the cloud versions of your tools, the vendor patches its own servers. Atlassian, for example, has said its cloud customers don’t need to take any action.
The risk sits in what you host yourself or what someone hosts for you:
- self-hosted Jira, Confluence, Bitbucket or Jenkins (Data Center or server editions)
- Keycloak or another login service in front of a customer or partner portal
- custom backends in Java or other JVM languages, such as order sync, ERP connectors, pricing engines or feed generators
- search and data tools like Elasticsearch, Solr or Kafka
- servers that an agency or contractor runs for you
The last item is easy to forget. If a contractor built and hosts a Java service for you, ask them directly whether they’ve checked it.
How to check your servers for Java4Shell in 3 steps
You don’t need a security team for a first pass. You need a list of servers and shell access to them.
Step 1. Find every Java runtime. Run java -version on each server, but don’t stop there. Many products ship their own Java inside the installation folder, and every Docker image carries its own. For containers, check the Java version inside each running image, not on the host. Atlassian’s current Jira and Confluence Data Center images, for example, include a vulnerable Java build.
Step 2. Check the processor. On Linux, this command shows whether the CPU supports the vulnerable instructions:
grep -o -m1 avx512vbmi /proc/cpuinfo
If it prints avx512vbmi, the fast path is available on that machine. If it prints nothing, this particular vulnerability can’t be triggered there.
Step 3. Check exposure. Note which affected servers accept traffic from the internet and which only work inside your network. Internet-facing ones go to the top of the list.

At the end you’ll have three groups: affected and public, affected and internal, not affected. Patch in that order.
No time to go through every server? Send us the list of servers and tools you host. We’ll check Java versions, processors and exposure, and send back a short list of what to patch first
Patch first, use the flag if you can’t
The fix is a Java update. Oracle’s fixed builds are 17.0.21.1, 21.0.13.1, 25.0.5.1 and 27.0.1.1. Other vendors use their own numbering (for example, Temurin 21.0.13.1+2), so check your vendor’s advisory. If you run a Java release that’s no longer supported (18 to 24, or 26), move to one of the fixed lines.
For bundled products like Jira or Jenkins, follow the vendor’s instructions. Replacing the Java runtime by hand inside a product can break it in ways the vendor won’t support. For containers, rebuild images from a patched base image and redeploy. Updating the host does nothing for the containers.
If you can’t patch today, there’s a temporary measure. Start Java with this flag:
-XX:-UseBASE64Intrinsics
It switches off the vulnerable fast path, so Java decodes Base64 the slower, ordinary way. Applications that decode a lot of Base64 may run a bit slower. It’s a bandage until the patch is in, not a replacement for it. If a server is both affected and internet-facing, and you can’t patch or add the flag yet, limit who can reach it with a firewall in the meantime.
When you don’t need to panic
Plenty of setups aren’t exposed.
If your servers run on ARM, this vulnerability doesn’t apply. The same is true for Java 11 and standard Java 8, and for older Intel and AMD CPUs without AVX-512 VBMI. If you only use hosted versions of your tools, the vendor is responsible for patching.
Internal-only servers are lower priority, not zero priority. An attacker who gets into your network through a phishing email can reach them too. Patch them in the next maintenance window.
A practical point: the 30-minute check above takes longer if nobody knows where the servers are. If building the list itself is hard, that’s worth fixing regardless of Java4Shell.
FAQ
Is Java4Shell the same as Log4Shell?
No. Log4Shell (2021) was a bug in the Log4j logging library. Java4Shell is a vulnerability in the Java runtime’s Base64 decoder, so updating libraries won’t fix it. You need to update Java itself.
Do I need to do anything if I only use cloud versions of my tools?
Usually not. Vendors patch their own cloud servers, and Atlassian has confirmed this for its cloud products. Check anything you or your contractors host yourselves.
How do I know if my server’s CPU is affected?
On Linux, run grep -o -m1 avx512vbmi /proc/cpuinfo. If it prints avx512vbmi, the CPU has the instruction set that the vulnerability depends on.
Is Java4Shell being exploited right now?
As of November 19, researchers had seen probing but no confirmed successful attacks. A working public exploit could change that quickly.
What to do this week
The Java4Shell vulnerability is serious, but it’s also narrow: specific Java versions, specific processors and outside data reaching the decoder. Make a list of your Java services, check versions and CPUs, patch the public ones first, and use the flag where patching has to wait.
Not sure what’s running on your servers, or don’t have time to go through them? Send us a list of your servers and the tools you host, and our engineers will check Java versions, processors and exposure. You’ll get back a short list of what to patch first.
Have a project in mind?
Let's chat
Your request has been accepted!
In the near future, our manager will contact you.
Have a project to discuss?
Have a partnership in mind?