Check now, free, no signup: paste the output of java -version into the Java4Shell checker and it tells you, in your browser, whether that build is fixed. It can also look at a website you own and spot the Java applications behind it, with one normal page request and no exploit traffic.
What happened
Modern Intel and AMD server chips have AVX-512 instructions that process data in wide chunks. Since Java 17.0.6 (January 2023), the HotSpot JIT compiler swaps Java’s Base64 decoder for a hand-written AVX-512 VBMI version on those chips. Calif found that this fast path mishandles malformed input: it writes 62 or 63 bytes past the end of its buffer and can read neighbouring heap memory too. The flaw is tracked as CVE-2026-114938 and nicknamed Java4Shell.
Base64 is everywhere in a Java server: the Authorization: Basic header, JSON Web Tokens, SAML messages, CSRF tokens, file uploads. That is why a library-level bug becomes a pre-authentication problem for so many products. Calif demonstrated remote code execution in default configurations of:
| Before login | After login |
|---|---|
| Keycloak, PingFederate, Atlassian Jira and Confluence (Data Center), JFrog Artifactory, Jenkins | Apache Kafka, Apache Solr, Elasticsearch, Gerrit, Spinnaker |
Sample Apache Struts and Spring Boot applications were exploitable too. Oracle rates the bug 8.1 High on CVSS 3.1 (attack complexity is high), Calif gives 9.2 Critical on CVSS 4.0 and Red Hat 9.8. A proof of concept that crashes the JVM and leaks memory is public. As of 18 November there are no confirmed attacks in the wild and the CVE is not in CISA’s Known Exploited Vulnerabilities catalogue. Calif is withholding the product-specific exploits for now.
Are you exposed? Three conditions
All three have to be true:
- An affected Java build. Java 17.0.6 or later on the 17 line, or any 21, 25 or 27 build before the fix. Oracle’s Java 8 Performance Pack is also affected. Standard Java 8 and Java 11 are not.
- An x86-64 CPU with AVX-512 VBMI. Intel Xeon from Ice Lake (3rd generation Xeon Scalable) through Granite Rapids, and AMD EPYC and Ryzen from Zen 4. ARM64 is not affected: AWS Graviton, Ampere and Apple silicon are safe from this one.
- The intrinsic is on, which is the default. It switches on once the JIT compiles the decoder, which happens within minutes on a busy server.
The catch is condition two. You may not know what CPU your cloud VM runs on, and a resize or a host migration can move you onto an affected one. Check it rather than assume.
Fixed versions
| Java line | Vulnerable | Fixed (Oracle, 17 Nov 2026) |
|---|---|---|
| 27 | 27.0.0 – 27.0.1 | 27.0.1.1 |
| 25 LTS | 25.0.0 – 25.0.5 | 25.0.5.1 |
| 21 LTS | 21.0.0 – 21.0.13 | 21.0.13.1 |
| 17 LTS | 17.0.6 – 17.0.21 | 17.0.21.1 |
| 8 Performance Pack | 8u511-perf and earlier | 8u513-perf |
| 8 (standard), 11 | not affected | n/a |
| 18–20, 22–24, 26 | all | none (out of support) |
Most Java in production is not Oracle’s. Where the other builds stood on 18 November:
- Amazon Corretto: 17.0.21.1.2 released; no 21 or 25 build named yet.
- Eclipse Temurin (the usual Docker
eclipse-temurinimages): no fixed build yet. - Red Hat build of OpenJDK on RHEL 8, 9 and 10: fixes being expedited (RHSB-2026-018); Red Hat recommends the flag below meanwhile.
- Azul Zulu: reports conflict; look for a build dated 17 November or later.
- Microsoft, BellSoft Liberica, SapMachine, Ubuntu and Debian packages, Oracle GraalVM: not confirmed.
So for most teams the honest answer this week is: apply the mitigation now, patch when your vendor ships.
How to check, in a minute
Run these on each server, with the Java the service actually uses. Jira, Confluence, Keycloak and Elasticsearch ship their own runtime, so the system java is often not the one that matters.
# 1. Which Java? (repeat inside each container)
java -version
docker exec <container> java -version
# 2. Does the CPU have AVX-512 VBMI? All four must print.
grep -m1 '^flags' /proc/cpuinfo | tr ' ' '\n' | grep -E '^(avx512f|avx512bw|avx512vbmi|bmi2)$'
# 3. Is the mitigation active in the running JVM?
jcmd -l
jcmd <pid> VM.flags -all | grep -F UseBASE64Intrinsics
# mitigated: bool UseBASE64Intrinsics = false {product} {command line}
On a Windows server, PowerShell 7 answers the CPU question with [System.Runtime.Intrinsics.X86.Avx512Vbmi]::IsSupported.
Paste the java -version output into the checker and it reads the vendor and build and gives you a verdict without sending anything. Point it at a website you own and it tells you which Java applications answer from outside (an X-Jenkins header, Atlassian metadata, Keycloak cookies, a Tomcat or Jetty server), which is a quick way to build the to-do list.
The stopgap: one JVM flag
Turning the intrinsic off makes Java use its ordinary, slower decoder, which is not vulnerable. Red Hat and Keycloak both recommend it until patched builds are installed:
-XX:-UseBASE64Intrinsics
| Where | How |
|---|---|
| Any Java process | JDK_JAVA_OPTIONS="-XX:-UseBASE64Intrinsics" in its environment |
| Keycloak | JAVA_OPTS_APPEND=-XX:-UseBASE64Intrinsics; the Keycloak Operator runs its own JVM and needs JDK_JAVA_OPTIONS too |
| Tomcat, Spring Boot on Tomcat | CATALINA_OPTS in bin/setenv.sh, or the java command line of the jar |
| Jira, Confluence Data Center | JVM_SUPPORT_RECOMMENDED_ARGS in bin/setenv.sh, or Atlassian’s update |
| Jenkins | JAVA_OPTS for the controller, and every agent’s launch options |
| Elasticsearch | a new file in config/jvm.options.d/ (not the root jvm.options) |
Restart each process, then confirm with jcmd. A flag in a config file that the running JVM never read protects nothing. Two things to avoid: -XX:DisableIntrinsic=_base64_decodeBlock on its own can stop Java from starting, and -XX:UseAVX=2, the other suggested flag, may leave an AVX2 version of the same code path running on Java 21 and later.
Which servers first
- Identity providers: Keycloak, PingFederate. A compromised login server is every application’s problem.
- Internet-facing collaboration and build tools: Jira, Confluence, Jenkins, Artifactory.
- Every other Java service reachable from outside: Spring Boot APIs, Tomcat apps, Struts.
- Internal services: Kafka, Elasticsearch, Solr, Gerrit, Jenkins agents. Exploitable after login, so an attacker inside already has a path.
Also watch for hs_err_pid*.log crash files and unexpected JVM restarts. A failed exploit attempt usually crashes the process, and attackers can simply retry.
Why this matters in Lebanon and the region
Banks, universities, hospitals and larger companies here lean on exactly the products on Calif’s list: Keycloak in front of internal apps, self-hosted Jira and Confluence, Jenkins for the developers, Java middleware in the core banking stack. Many run on recent Xeon hardware, on-premises or in a regional cloud, which is the affected CPU class. And these systems are often maintained by an integrator under a support contract that nobody has called this week. Check your own estate, then ask your suppliers which Java and which CPU sit behind the systems they run for you.
If you would rather someone else handled it, our cybersecurity service inventories Java runtimes, applies the mitigation, patches when vendors ship, and keeps watching afterwards. Still running PHP sites? The PHP2Shell checker covers last month’s PHP bugs.
Frequently asked questions
What is Java4Shell?
The nickname for CVE-2026-114938, a memory-corruption bug in OpenJDK’s AVX-512 VBMI Base64 decoder, disclosed on 17 November 2026. Malformed Base64 can overwrite and leak heap memory and lead to remote code execution, often before login.
Is it like Log4Shell?
Only in the name. Log4Shell was a logging library feature that loaded remote code and worked everywhere. Java4Shell is a memory-corruption bug in the JVM itself, harder to exploit and only on certain CPUs, but it reaches applications that never used Log4j.
Are Java 8 and Java 11 affected?
No, except Oracle’s Java 8 Performance Pack (fixed in 8u513-perf). Java 17 builds older than 17.0.6 are not affected either, though they lack years of other fixes.
We run on AWS Graviton. Are we safe?
From this bug, yes: ARM64 never runs the vulnerable code. Check that nothing in the fleet runs on x86 instances, including build agents.
Does the flag slow things down?
Base64 decoding falls back to plain Java code. That only shows up on workloads that decode large volumes of Base64; for a typical web application it is not noticeable. Remove the flag once a fixed build is installed.
One minute, no signup, nothing sent. Paste your java -version output and see whether your build is fixed, or check which Java apps sit behind your website.
Sources: Calif, “Java4Shell: Write once, RCE everywhere”, Tenable FAQ, Keycloak advisory, Check Point, Orca Security. Version and vendor tables last verified 18 November 2026; the checker is updated as vendors ship fixes.