NEW RESEARCH: RUBY2SHELL: WHAT HAPPENED AND WHAT TO DO NOW.Read the report Sign in

Java4Shell: What Happened and What to Do Now.

On 17 November a critical flaw in Java itself, CVE-2026-114938, was disclosed together with its fix. A malformed Base64 string, something many applications decode from requests, can corrupt the server's memory, and researchers turned it into code execution in Keycloak, Jira, Confluence, Jenkins and more without a login. Here is who is affected, how to check and fix your servers, and what a web application firewall can and cannot do about it.

17.0.6 and laterJava 17, 21, 25 and 27 are affected on the processors below.
x86-64 onlyProcessors with AVX-512 VBMI (Intel Ice Lake and newer, AMD Zen 4 and newer). ARM is not affected.
No loginKeycloak, Jira, Confluence, Artifactory, Jenkins and PingFederate were taken over in their default setup.
18 NovemberShieldify's WAF refuses the malformed Base64 the attack needs, on every website with the WAF on.
What happened

A memory bug in Java's own Base64 decoder

The security firm Calif found the flaw and reported it to Oracle and the OpenJDK project. On 17 November Calif said details had leaked before the fix was out, and published its own write-up once Oracle released the patch the same day.

WhenWhat
17 NovemberCalif says details of the flaw have leaked before a fix, and that it will publish once Oracle's patch is out.
17 NovemberOracle releases its November 2026 Critical Patch Update. The OpenJDK Vulnerability Group publishes its advisory and Calif its write-up the same day.
17 NovemberTenable knows of no exploitation in the wild yet. One researcher reports having built a working exploit, without releasing it.
18 NovemberShieldify's WAF starts refusing requests carrying the malformed Base64 the attack needs, on every website with the WAF on.
The flaw

Rejected input, but only after the damage

Java speeds up Base64 decoding with hand-written processor instructions on recent x86-64 chips. For certain malformed input, with padding where valid Base64 never has it, that fast path miscalculates its output length and writes past the end of its buffer. Java then throws an error and refuses the input, but the write has already happened. An application that checks the input afterwards is too late.

Applications decode Base64 everywhere: login headers, tokens, single sign-on messages, cookies, API fields. Calif turned the memory corruption into a leak of server memory and into code execution, and showed it in default installations:

Before login

Keycloak, Atlassian Jira, Atlassian Confluence, JFrog Artifactory, Jenkins and PingFederate.

After login

Apache Kafka, Apache Solr, Elasticsearch, Gerrit and Spinnaker. Calif also ran code in sample applications built on Spring Boot and Apache Struts, and says the list is not complete.

Oracle rates the flaw 8.1 out of 10 (CVSS 3.1); Calif scores it 9.2 (CVSS 4.0).

Who is affected

Three conditions, all at once

  • The Java version: OpenJDK 17.0.6 and later, so Java 17, 21, 25 and 27, from every vendor that builds on OpenJDK: Oracle, Eclipse Temurin, Amazon Corretto, Azul Zulu, Microsoft, Red Hat, BellSoft, SAP and others. Standard Java 8 and 11 builds do not have the affected code; Oracle also lists its Java 8 Enterprise Performance Pack.
  • The processor: x86-64 with AVX-512 VBMI, such as Intel Xeon Ice Lake and newer or AMD Zen 4 and newer. On Linux the processor must report all four of avx512f, avx512bw, avx512vbmi and bmi2 in /proc/cpuinfo. ARM servers, AWS Graviton among them, are not affected.
  • The input: the application decodes Base64 that a visitor can send, with Java's standard or URL-safe decoder. Many web applications do somewhere.

Many products bring their own Java: Jenkins, Atlassian's server products and most container images. Updating the system's Java package does not update those.

What to do

Update, restart, then check what you missed

1. Find every Java

Check the system Java (java -version), the Java each product bundles, and the base image of every container. Do it on every server that runs Java and faces the internet, directly or behind a proxy.

2. Update and restart

Install your vendor's November 2026 update (Oracle's fixed builds are 17.0.21.1, 21.0.13.1, 25.0.5.1 and 27.0.1.1), rebuild container images, and restart every Java process. A running JVM keeps the old code.

3. If you cannot update today

Start Java with -XX:-UseBASE64Intrinsics, which turns off the fast decoder, or on x86-64 only with -XX:UseAVX=2, which turns off AVX-512 (Java on ARM does not start with it). Both need a restart and can slow down decoding. They are a bridge to the update, not a replacement.

4. Watch for crashes

A failed attempt can crash the JVM. Unexpected restarts and hs_err crash files on an unpatched server are worth a closer look.

What Shieldify did

A rule for every place Base64 hides

18 November. An emergency signature went live on every website on Shieldify with the WAF on. It refuses requests carrying Base64 malformed the way the attack needs, in addresses, form and JSON fields, headers, cookies and the path, before they reach the website. Valid Base64, however it is written, passes as before.

The two rules are listed under Shieldify Emergency Signatures in each website's WAF settings and can be switched off per website, for an application whose own format really needs what they refuse.

Shieldify's own edge does not run Java, so the flaw does not touch the service itself.

What a WAF cannot do

A firewall buys time. It does not fix Java.

A web application firewall reads requests as they arrive. It cannot see Base64 that an application unpacks from something else first, such as an encrypted or compressed field, traffic that reaches your server without passing through it, or protocols other than the web, such as Kafka's own.

So treat any WAF protection, ours included, as the time it gives you to update. Update Java, restart every JVM, and make sure your server only accepts web traffic through Shieldify.

Sources

Sources

Shieldify's dates are from our own records.

More research

One Rule AwayFrom the Next One.

Put Shieldify in front of your website, and the next emergency signature protects it too.