Java4Shell (CVE-2026-114938): the critical OpenJDK flaw and what to do now
Java4Shell (CVE-2026-114938) can lead to remote code execution through OpenJDK’s Base64 decoder. Affected versions, patches, workarounds and scanning steps.

On 17 November 2026 Oracle and OpenJDK released patches for a critical flaw in the most widely used Java versions. The Calif team that found it named it Java4Shell: a memory bug in OpenJDK’s Base64 decoder that, on certain processors, can go as far as remote code execution without authentication.
Applications companies use every day, such as Jira, Confluence, Jenkins, Keycloak and Artifactory, are among those affected. This post explains what the flaw is, how to tell whether your servers are affected, which version to move to and how to scan your systems.
This post is based on information from Calif, Tenable and Oracle as of 18 November 2026. There is no known active exploitation yet, but the researchers say they will publish product-specific exploits in the coming days.
What is Java4Shell?
For performance, Java runs some operations through hand-tuned code that uses special processor instructions. Base64 decoding is one of them: on x86-64 CPUs it uses dedicated code built on AVX-512 VBMI instructions. The bug Calif found is that this code, when handling input of a particular shape ending in =, writes past the end of the memory it was given.
That out-of-bounds write can lead to two outcomes:
- Memory disclosure (“JavaBleed”): sensitive data in server memory, such as keys and session tokens, can leak.
- Remote code execution (RCE): an attacker can run their own commands on the server. This takes application-specific exploit work, but the researchers achieved it in many popular products.
A failed attempt can crash the application, but it can usually be retried.
| CVE | CVE-2026-114938 |
| Score | CVSS 4.0: 9.2 (Calif) · CVSS 3.1: 8.1 (Oracle) |
| Attack | Remote, no authentication required |
| Active exploitation | None known as of 17 November; not in CISA KEV |
Are your servers affected?
Java4Shell can only be triggered when three conditions apply together.
1. An affected Java version
- OpenJDK 17.0.6 and later; according to OpenJDK, the Java 17, 21, 25 and 27 release lines.
- Every OpenJDK-based distribution: Oracle Java SE, Oracle OpenJDK, Eclipse Temurin, Amazon Corretto, Microsoft Build of OpenJDK, Azul Zulu, BellSoft Liberica, SAP SapMachine, Red Hat OpenJDK and Oracle GraalVM.
- Oracle says versions older than those listed are likely affected too. The OpenJDK advisory does not list standard Java 8 or Java 11.
To check the version:
java -version
2. An x86-64 CPU with AVX-512 VBMI
The faulty code only runs on processors that support these instructions: Intel Xeon Ice Lake, Sapphire Rapids, Emerald Rapids, Granite Rapids and AMD EPYC / Ryzen Zen 4 and later. Many current cloud servers use these CPUs. ARM64 servers are not affected.
To check your CPU on Linux:
grep -m1 '^flags' /proc/cpuinfo | tr ' ' '\n' | grep -E '^(avx512f|avx512bw|avx512vbmi|bmi2)$'
If all four flags are listed, your CPU is in scope.
3. External data reaching the Base64 decoder
According to Oracle, exploitation requires the application to pass untrusted data to the affected Java APIs. In practice this is very common: everyday features such as authentication headers, JWT tokens and file uploads decode Base64. Products Calif exploited in default configurations:
- Before login: Keycloak, Atlassian Jira, Atlassian Confluence, JFrog Artifactory, Jenkins, PingFederate
- After login: Apache Kafka, Apache Solr, Elasticsearch, Gerrit, Spinnaker
The list is not exhaustive; sample applications built with Spring Boot and Apache Struts were tested as well. A Java program can also be exploited on the client side when it connects to an attacker-controlled TLS server.
Which version should you move to?
Oracle’s fixed builds:
| Release line | Affected | Fixed |
|---|---|---|
| Java 8 (EPP) | 8u511b33-perf | 8u513-perf |
| Java 17 | 17.0.21.0.3 | 17.0.21.1 |
| Java 21 | 21.0.13.0.3 | 21.0.13.1 |
| Java 25 | 25.0.5.0.3 | 25.0.5.1 |
| Java 27 | 27.0.1.0.3 | 27.0.1.1 |
Other distributions ship fixes on their own schedules. For example, the fixed Amazon Corretto 17 build is 17.0.21.1.2. If you use Temurin, Zulu or Red Hat, follow your vendor’s security advisory.
Keep in mind that Java often comes bundled inside an application. If products such as Jira, Jenkins or Elasticsearch ship their own Java, updating the system Java is not enough; you also need the product update or to replace the bundled runtime. Rebuild your Docker images on updated Java base images and recreate the containers.
If you cannot update yet: workarounds
Calif suggests two JVM flags. They are not in the Oracle or OpenJDK advisories; they are not a fix, but they buy time until you can update.
# Turns off the hardware-accelerated Base64 code (recommended)
-XX:-UseBASE64Intrinsics
# Alternative: turns off AVX-512 entirely. Use ONLY on x86-64 servers;
# on ARM servers Java will not start with this flag.
-XX:UseAVX=2
Add the flag to the application’s start-up settings (JAVA_OPTS, JAVA_TOOL_OPTIONS, the service file or a container environment variable) and restart the application. Both flags can reduce performance somewhat. According to Calif, request buffering in nginx is not a general mitigation.
How to scan your systems
Tenable has released these Nessus plugins for Java4Shell:
| Plugin ID | Name | Severity |
|---|---|---|
| 382091 | Oracle Java SE Oracle CSPU Nov 2026 (Java4Shell) | High |
| 382045 | Amazon Corretto Java 17.x < 17.0.21.1.2 Multiple Vulnerabilities | Critical |
Plugins for the Amazon Linux 2 and Amazon Linux 2023 advisories (ALAS2-2026-4123 and ALAS2023-2026-3478 to 3481) are listed as coming soon in Tenable’s pipeline.
When scanning:
- Add the plugins to your scan policy and run a credentialed scan; Java installations on a server are only detected reliably this way.
- In Tenable One, filter Explore > Software by Java product and version, or run the “Java Visibility and Exposures” report.
- To find internet-facing Java assets, use the “Programming Languages contains Java” filter in Tenable One ASM.
- Combine the results with the CPU check: affected Java installations on servers with AVX-512 VBMI come first.
Calif’s harmless proof of concept shows whether the bug triggers on a given Java version and CPU; it does not show whether your application can be reached.
Order of priority
If you cannot update everything at once, we suggest this order:
- Internet-facing applications reachable without login: Keycloak, Jira, Confluence, Jenkins, Artifactory, PingFederate and your own Java APIs.
- Services that handle authentication: SSO, API gateways and anything that validates JWTs.
- Internal applications: Kafka, Solr, Elasticsearch, Gerrit.
- Client-side Java applications and desktop tools.
After updating, if you think a sensitive key or token may have leaked before the patch, rotating secrets and sessions on internet-facing applications is a sensible step.
Conclusion
Java4Shell deserves attention because it combines common Java versions, current server CPUs and applications companies rely on every day. The steps are clear: update Java and products that bundle it, use -XX:-UseBASE64Intrinsics as a stop-gap where you cannot update yet, scan with Nessus plugins 382091 and 382045, and start with internet-facing systems.
To build a server inventory, plan the update or investigate a suspected attack, see our Cybersecurity and Server & IT Management services, or have a penetration test confirm whether your applications are actually reachable. We went through something similar on the PHP side last month; our PHP2Shell post may also be useful. If you need help, get in touch.
Sources: Calif: Java4Shell, Tenable: Java4Shell FAQ and Tenable: CVE-2026-114938 plugins. Information current as of 18 November 2026.
Bu yazı Türkçe olarak da mevcut — Türkçe oku →
Frequently Asked Questions
Two conditions must both apply: an affected Java version (OpenJDK 17.0.6 and later; the Java 17, 21, 25 and 27 lines) and an x86-64 CPU with AVX-512 VBMI support (Intel Xeon Ice Lake and later, AMD Zen 4 and later). ARM64 servers are not affected. The application must also pass external data to the Base64 decoder, which everyday features such as authentication and file uploads do.
The researchers suggest starting the JVM with -XX:-UseBASE64Intrinsics to turn off the hardware-accelerated Base64 code. Alternatively, on x86-64 servers only, -XX:UseAVX=2 disables AVX-512; on ARM servers this flag stops Java from starting. These workarounds are not in the Oracle or OpenJDK advisories; the real fix is updating.
Tenable has released Nessus plugins 382091 (Oracle Java SE Oracle CSPU Nov 2026) and 382045 (Amazon Corretto Java 17.x < 17.0.21.1.2) for Java4Shell. Add them to your scan policy and run a credentialed scan; more plugins for Amazon Linux are on the way.