Most vulnerability questions start with "which version are we on?". This one needs a second question straight after: "and what processor is it running on?". Java4Shell, tracked as CVE-2026-114938, is in the Java runtime itself, and whether your copy is vulnerable depends on the chip underneath it. Oracle and the OpenJDK project shipped fixes on Tuesday 17 November. Red Hat, at the time of writing, had not.
What was found
The bug was reported by Calif, the research firm behind last month's PHP2Shell. Their write-up is titled "Write once, RCE everywhere", which is a decent joke if you were around for Java's original slogan.
Base64 is the encoding used to carry binary data as text. It turns up in login headers, single sign-on messages and security tokens, so a Java server decodes it constantly. To make that quick, modern Java has a hand-tuned version of the decoder that uses a processor feature called AVX-512 VBMI. Java switches to the fast version once the code has run often enough to be worth optimising.
The fast version has a mistake. Give it a string of the wrong length ending in an extra "=" and it writes 62 or 63 bytes past the end of the space it was given. Java does notice the input is malformed and rejects it, but only after the write has happened. According to The Hacker News, the attacker doesn't choose what those bytes are, only where they land. Calif showed that this is enough: by arranging memory carefully they could stretch a neighbouring array, read and write through it, and reach the parts of Java that run code.
The reason no login is needed is the order servers do things in. A server has to decode the Authorization header before it can decide whether the password in it is right. So the vulnerable code runs on a request from anyone.
What is affected
Three things have to be true at once.
- The Java version. Java 17.0.6 and later on the 17 line, plus Java 21, 25 and 27. Standard Java 8 and 11 are not affected. That covers Oracle's builds and the ones made from the same source: Amazon Corretto, Azul Zulu, Eclipse Temurin and the rest.
- The processor. 64-bit Intel and AMD chips with AVX-512 VBMI. In practice that means Intel Xeon from Ice Lake onwards and AMD Zen 4 or newer. ARM servers, including AWS Graviton, are not affected.
- The input. Something from outside has to reach the decoder. For a web application that is almost a given.
Calif tested products in their default configuration and say they could run code without logging in on Keycloak, Atlassian Jira, Atlassian Confluence, JFrog Artifactory, Jenkins and PingFederate. With a login they got the same result on Apache Kafka, Apache Solr, Elasticsearch, Gerrit and Spinnaker. They are clear that the lists are incomplete. Look at the first one again, though: two identity providers, the build server and the place your build outputs are stored. These are systems that hold the keys to other systems.
There is also a client-side route. Calif say a Java program that merely opens a TLS connection to a malicious server can be compromised, even if it offers no service of its own. They have not published how.
How worried to be
The scores disagree, which tells you something. Calif give it 9.2. Red Hat's preliminary figure is 9.8. Amazon says 8.8 and Oracle 8.1, on the grounds that it is hard to exploit. Oracle's own CVE record still says that successful attacks "can result in takeover of Oracle Java SE".
Hard to exploit is fair. There is no single attack that works everywhere. Each product needs its own memory layout and timing, a failed attempt can crash Java, and a proxy that buffers whole requests, as nginx does by default, blocks some attempts though not all. Calif are holding back their working attacks for the six products. Other labs have got partway. Upwind reproduced the memory corruption on an AWS Ice Lake server and crashed Java. Blackpoint Cyber knocked over a test Spring Boot application with about 28,300 malformed login requests in roughly 20 seconds, and separately read a secret out of adjacent memory in 30 runs out of 30. Neither has reproduced code execution.
So today the proven public impact is a crash and a memory leak. Canada's Cyber Centre said this week it knew of no attacks, and the flaw was not in CISA's exploited list when The Hacker News checked.
I wouldn't lean on that for long. Calif say the bug took about an hour to find with AI assistance and two more to turn into a first exploit, for under $200 in model usage. And an input that triggers the overflow has been sitting in a public OpenJDK pull request since 9 September, proposed as a fix and closed unmerged this month after an automated inactivity notice. The gap between "labs can crash it" and "criminals can use it" has been short all year.
What to do
- Update Java where you control it. Fixed Oracle releases are 17.0.21.1, 21.0.13.1, 25.0.5.1 and 27.0.1.1. Corretto and Azul Zulu have matching builds out. When The Hacker News checked, Temurin, Microsoft's build and BellSoft Liberica had not listed fixes, and Red Hat had none for RHEL 8, 9 or 10. Restart the service afterwards. A patched Java on disk does nothing for a process that started last month.
- Where you can't update yet, turn the fast decoder off. Start Java with
-XX:-UseBASE64Intrinsics. Upwind found it stopped the overflow on every affected version they tried, and it leaves the other speed-ups alone. - Be careful with the other flags going round.
-XX:UseAVX=2also works on Intel and AMD, but an ARM Java doesn't recognise it and refuses to start.-XX:DisableIntrinsic=_base64_decodeBlockon its own stops Java starting at all. Upwind's warning is that pushing it through a shared environment variable would take down every Java service you have. - Chase the products that bring their own Java. Jira, Confluence, Jenkins and plenty of others ship a bundled runtime. Updating the server's Java doesn't touch it. You need the vendor's update or their guidance on setting the flag.
- Check the processor, per host. On Linux, look in /proc/cpuinfo for all four of avx512f, avx512bw, avx512vbmi and bmi2. On AWS, Upwind names the c6i, m6i, c7i, c7a and m7a families. The awkward part is containers: one image can be safe on one node and vulnerable on the next, and a cluster with mixed hardware can move a workload between them without telling you.
- Look for the signs. Long Base64 tokens ending in "=" whose length isn't a multiple of four, particularly in Authorization headers. Bursts of IllegalArgumentException from the Base64 decoder. Unexplained hs_err_pid crash files or services restarting. None of it proves a break-in, and a clean log doesn't prove there wasn't one.
Order of work
If I had one afternoon, I'd spend it on anything in Calif's first list that faces the internet: the single sign-on server, Jira and Confluence if they are reachable from outside, Jenkins, Artifactory. Flag first, because it's a restart and not an upgrade, then the proper fix when the vendor ships one. Internal Kafka and Elasticsearch clusters can follow in the normal cycle.
One caution, given the week we've had. Several of the outages in the news over the past few days have been put down to fixes applied in a hurry, which Eli has written about today. The flag is low risk, but test it on one instance before it goes everywhere.
We have also put together a worked scenario for finding every Java runtime in a mid-sized estate. If you want help with your own, email sales@halfteck.com.
Sources: Calif, 17 November 2026; The Hacker News, 18 November 2026; OpenJDK vulnerability advisory, 17 November 2026; Upwind, November 2026; Blackpoint Cyber, November 2026; Canadian Centre for Cyber Security, alert AL26-029; Red Hat, RHSB-2026-018.