Java4Shell: how to tell if your Java servers are exposed
Java4Shell (CVE-2026-114938) allows code execution on Java servers with certain processors. How to tell if you're exposed and what to patch first.
On November 17, Java4Shell was fixed: a Java flaw that, on certain servers, allows code execution without signing in. It doesn't affect everyone: it depends on the Java version, the processor and the application. This guide explains how to tell whether your organization is exposed. Public status as of November 18, 2026.
- What it is: a memory corruption flaw in Java's Base64 decoder, tracked as CVE-2026-114938.
- When it matters: on x86-64 servers with processors that have AVX-512 VBMI, running Java 17.0.6 or later, and in applications that receive Base64 from outside.
- Exploitation: attempts have been recorded, but no successful attack has been confirmed. It's not in CISA's catalog of exploited flaws.
- What to do: find where you run Java, check the processor and update what's exposed to the internet first.
What Java4Shell is
The US cybersecurity agency (CISA) published an alert on November 17, in collaboration with the Canadian Centre for Cyber Security, which published its own advisory AL26-029. According to CISA, the flaw is in the Base64 decoder of the Java virtual machine for x86-64: crafted Base64 text can crash the virtual machine and allow code execution without authentication.
Base64 is a way of turning data into text, and applications use it all the time: in sign-ins, in tokens or when uploading files. That's why the flaw can reach many applications, even though there's no single way to attack them.
Severity has two figures. Calif, the company that found it, rates it 9.2 out of 10 on the CVSS 4.0 scale. Oracle rates it 8.1 on the CVSS 3.1 scale and considers it high complexity, according to Tenable. They're different scales, not a contradiction. According to Oracle, it's only exploitable if the application passes untrusted data to the affected functions.
How it was found
According to Calif, researcher Quang Luong found it using Codex, OpenAI's AI coding tool. It took about an hour to find and two more to build the first working attack, at a cost of under US$200.
It's the same change of pace that led Google Project Zero to shorten its disclosure deadlines on November 13: with AI, flaws are found and exploited faster.
Which applications Calif demonstrated
Calif managed to run code in these applications in their default configuration:
| Without signing in | With a signed-in session |
|---|---|
| Keycloak | Apache Kafka Broker |
| Atlassian Jira | Apache Solr |
| Atlassian Confluence | Elasticsearch |
| JFrog Artifactory | Gerrit |
| Jenkins | Spinnaker |
| PingFederate |
The list isn't exhaustive. Calif also succeeded against sample applications built with Apache Struts and Spring Boot, and warns that authentication and file uploads can carry data to the decoder. According to Calif, the flaw also allows reading memory with keys and tokens, and a Java program that connects to a malicious server could be compromised. There's no universal attack: each application needs its own way of delivering the crafted Base64.
Calif says Java runs about 90% of Fortune 500 companies.
Which versions are affected
According to Tenable, which reproduces Oracle's table:
| Java line | Affected | Fixed |
|---|---|---|
| 8, Performance Pack edition only | 8u511b33-perf | 8u513-perf |
| 17 | From 17.0.6 to 17.0.21.0.3 | 17.0.21.1 |
| 21 | Up to 21.0.13.0.3 | 21.0.13.1 |
| 25 | Up to 25.0.5.0.3 | 25.0.5.1 |
| 27 | Up to 27.0.1.0.3 | 27.0.1.1 |
- Not affected: standard Java 8 and 11 builds, which OpenJDK doesn't list.
- Affected distributions, according to Calif: Amazon Corretto, Eclipse Temurin, Microsoft Build of OpenJDK, Azul Zulu, BellSoft Liberica, SAP SapMachine, Red Hat and Oracle OpenJDK.
- Fixes as of November 18, according to Tenable: Corretto and Zulu have released theirs; Temurin was starting; Red Hat and Ubuntu hadn't yet; Debian only in its unstable branch.
- Unsupported lines: according to JFrog, lines 18 to 20, 22 to 24 and 26 get no fix, and it's best to move to a supported line.
How to tell if you're exposed
1. Find where you run Java. CISA warns that Java often comes inside other products, container images and appliances, and may not show up as a separate program in your inventory. Pay special attention to applications like those in the table above, development and integration tools, and any custom system built in Java. JFrog notes that updating the operating system doesn't change the Java bundled inside an application.
2. Check the processor. The flaw only affects x86-64 processors with AVX-512 VBMI. According to Tenable, that includes Intel Xeon Ice Lake, Sapphire Rapids, Emerald Rapids and Granite Rapids, and AMD Zen 4 or later. ARM64 processors aren't affected. On Linux, the processor is affected if it reports the capabilities avx512f, avx512bw, avx512vbmi and bmi2. JFrog warns that a server that isn't affected today can become exposed if the workload moves to another processor.
3. Check whether the application receives Base64 from outside. That's what makes it exploitable. Kevin Breen of Immersive, quoted by Tenable, mentions Tomcat Basic authentication and the java-jwt library as paths before sign-in.
What to do
- Update what's exposed to the internet first, as CISA recommends, to the fixed version of your Java line or distribution.
- If you can't update yet, CISA recommends restricting and validating Base64 at the application edge, limiting input size and reducing unauthenticated access.
- As a temporary mitigation, Calif suggests starting Java with -XX:-UseBASE64Intrinsics, which disables accelerated decoding, or with -XX:UseAVX=2, which disables AVX-512. The second only works on x86-64: on ARM, Java won't start with it. According to Tenable, neither Oracle nor OpenJDK mention these options, and Keycloak recommended the first one on November 18. JFrog warns that both can reduce performance.
- Watch, as CISA asks, for unknown Java runtimes, unexpected virtual machine crashes and suspicious Java processes.
Is it being attacked?
- Attempts, no confirmed success: GreyNoise reports exploitation attempts, no confirmed successful case, and scanning with a public tool, according to Tenable.
- Attacks that already exist: VulnCheck says it has a working attack available to its customers, although it doesn't expect easy or mass exploitation. Kevin Breen says he built his own and that it has to be adapted to each application. Calif only published a test that triggers the flaw.
- CISA's catalog: the flaw isn't in its catalog of exploited vulnerabilities.
Calif, Tenable and VulnCheck sell products or services related to these flaws.
What isn't known
- Whether there have already been successful attacks.
- When Red Hat, Ubuntu and stable Debian will release their fixes.
- Which other applications are exploitable: Calif's list isn't exhaustive.
- When Calif will publish its full per-application attacks.
Frequently asked questions
Is my office computer at risk? The main risk is on servers that receive data from outside. Calif also showed that a Java program connecting to a malicious server could be compromised, so it's worth updating Java on the machines that use it too.
Are Java 8 or 11 affected? The standard builds aren't. The Java 8 Performance Pack edition is.
My server runs on ARM. Am I safe from this flaw? According to Calif and Tenable, ARM64 processors aren't affected.
Is updating the operating system enough? Not always. Many applications ship their own Java, which is updated with the application.
Sources
- CISA, "Critical Java Vulnerability Requires Immediate Patching" (November 17, 2026).
- Canadian Centre for Cyber Security, advisory AL26-029 (November 2026).
- Calif, Quang Luong, "Java4Shell" (November 17, 2026).
- Tenable, Satnam Narang, Java4Shell FAQ (November 17, 2026, updated November 18).
- JFrog Security Research, on Java4Shell (November 17, 2026).
- Google Project Zero, Natalie Silvanovich, new disclosure policy (November 13, 2026).
Keep reading
- Security today: Barracuda, ARTEX and more
- OpenAI and the 948 Linux kernel flaws
- sshole: the OpenSSH flaw on Alpine and what to do
Contact
If you need to know where Java runs in your organization and what to update first, ITLab can help you take that inventory. Contact us.
Do you need someone to take care of your technology?
Tell us what you need to organize, protect or solve. The first conversation has no cost: we assess whether our model fits you and what the next steps would be.
Let's talk about your business