Java4Shell: the critical Java flaw that calls for updating, though not for everyone

Updated 22 November 2026: what is known about exploitation has changed since the original publication. According to eSecurityPlanet (18 November), as of 19 November GreyNoise had recorded suspicious requests shaped like a Java4Shell attack, with no successful intrusions on its sensors; the same outlet says other security firms have detected attempts but gives no details. Help Net Security (18 November) reported no evidence of successful attacks and said VulnCheck and watchTowr do not expect indiscriminate exploitation, only narrow paths in specific applications; VulnCheck adds that crashing an affected JVM is trivial. The timeline Calif added on 19 November says the bug had already been reported publicly to the Adoptium project in June (a production failure) and that a proof of concept reproducing the crash was posted in September, before a fix existed. We could not confirm that it is listed in CISA’s KEV catalogue (our search on 22 November did not return it, although that check is not conclusive). Bottom line as of 22 November: probing has been observed and no successful attack is confirmed in the sources we consulted, but the situation is moving quickly.
What it is and how it works
On 17 November 2026 Oracle and the OpenJDK project released the fix for CVE-2026-114938, nicknamed Java4Shell by Calif, the company that found it. It is a memory error in the Base64 decoder of the Java runtime itself. Base64 is a very common way to send credentials, tokens or files as text. A short, malformed input can write outside the memory reserved for it, which can crash the application and, with extra work, allow remote code execution without authentication. Because the flaw is in Java rather than in the application, an application can be exposed without any fault of its own.
Who is really affected
The reach is narrow, and it should be neither downplayed nor exaggerated. According to Calif, Qualys and Red Hat, three conditions must hold at once:
- Version: OpenJDK 17.0.6 or later, including the 21, 25 and 27 lines, and distributions built on it (Oracle, Temurin, Corretto, Microsoft, Azul, Red Hat and others). Standard Java 8 and Java 11 are not affected. Oracle also lists one specific Java SE 8 Performance Edition build.
- Processor: x86-64 with AVX-512 VBMI (for example, Intel Xeon from Ice Lake onward or AMD EPYC and Ryzen Zen 4 and later). ARM64 processors are not affected.
- Use: the application must decode Base64 that arrives from outside.
Many business applications run on Java. Calif demonstrated remote code execution on default installations of Keycloak, Jira, Confluence, Artifactory, Jenkins and PingFederate without authentication, and with a logged-in user on Kafka, Solr, Elasticsearch, Gerrit and Spinnaker. These are the researchers’ demonstrations: BleepingComputer points out there is no universal exploit and each application needs its own method. Oracle scores the flaw 8.1 (CVSS 3.1, high attack complexity); Calif scores it 9.2 (CVSS 4.0). The two scores coexist: they do not contradict each other, they use different methods.
Fixed versions
We list only those we could check in the vendor’s own source:
- Oracle Java SE and GraalVM: 17.0.21.1, 21.0.13.1, 25.0.5.1 and 27.0.1.1; Java SE 8 Performance Edition, 8u513-perf (Rapid7 and Qualys).
- Eclipse Temurin: 17.0.21.1+2, 21.0.13.1+2, 25.0.5.1+2 and 27.0.1.1+4 (Adoptium).
- Microsoft Build of OpenJDK: 17.0.21.1, 21.0.13.1 and 25.0.5.1 (the post does not mention 27).
- Amazon Corretto 17: 17.0.21.1.2, dated 17 November.
For Red Hat, Azul, BellSoft, SAP and other vendors we could not confirm versions: check their advisory or ask your provider.
How to check whether you have it
- On each server, run
java -versionto see the vendor and version. Fixed lines end in.1(for example, 17.0.21.1). - Remember that Java may be bundled inside applications, appliances and containers, and may not appear in your inventory (CISA).
- On Linux, Calif publishes a CPU check that only reads system information: the flags avx512f, avx512bw, avx512vbmi and bmi2 must all appear. Qualys advises using it to prioritise, not to declare a server safe.
- Ask your software or hosting provider which Java your applications use and whether they have already updated.
What to do
- Update Java to a fixed version, rebuild containers and restart applications; then verify the running process uses the new build (Rapid7).
- Prioritise anything exposed to the internet, especially identity and access services (Keycloak, PingFederate), then Jira, Confluence, Jenkins and Artifactory (order suggested by Qualys).
- If you cannot update yet, Calif, Rapid7 and Temurin document starting the JVM with
-XX:-UseBASE64Intrinsics, which turns off the fast decoder. Calif also lists-XX:UseAVX=2, for x86-64 only (the JVM will not start on ARM). Both need a restart, may affect performance and do not replace the patch. - A reverse proxy is not a reliable control, and limiting input size is not enough (Qualys). CISA also recommends validating Base64 input and limiting unauthenticated access.
What to look for in logs
According to Qualys and CISA: unexpected JVM crashes or restarts on exposed services, Java processes launching a command shell or opening new outbound connections, and Java runtimes on hosts missing from your inventory. A single crash does not mean an attack, but it deserves a look.
If you need help finding Java in your business or prioritising the update, get in touch. This article is informational and is not advice specific to your situation.
Sources
- CISA: Critical Java vulnerability requires immediate patching (17 Nov 2026)
- Calif: Java4Shell, write once, RCE everywhere (timeline updated 19 Nov)
- Qualys: how to find, mitigate and patch Java4Shell (17 Nov, updated 20 Nov)
- Rapid7: CVE-2026-114938, Oracle affected and fixed versions (17-19 Nov)
- Microsoft Build of OpenJDK: November 2026 Critical Patch Update (18 Nov)
- Eclipse Temurin: guidance for CVE-2026-114938 (18 Nov)
- Amazon Corretto 17: changelog (17.0.21.1.2, 17 Nov)
- Red Hat: CVE-2026-114938 page
- BleepingComputer: Java4Shell flaw allows RCE attacks on major Java applications (17 Nov)
- Help Net Security: Java4Shell, exploitation is tricky and hinges on specific CPUs (18 Nov)
- Malwarebytes: Java4Shell, a critical flaw with a narrow reach (18 Nov)
- eSecurityPlanet: Java4Shell puts Jira and Jenkins at risk (18 Nov)