By Hamza Faisal
A critical vulnerability in Java's core libraries is sending security teams scrambling to patch, after researchers showed it can let an attacker run code on a server without logging in. The flaw, nicknamed Java4Shell and tracked as CVE-2026-114938, was disclosed on November 17, and the US cybersecurity agency CISA has urged organisations to patch immediately.
The bug sits in OpenJDK's Base64 decoder — the code that turns encoded text back into raw data. Because Base64 carries login headers, security tokens and file uploads, the vulnerable code often runs before a user has authenticated. A single malformed Base64 string can trigger the flaw, according to the researchers who found it.
A miscalculation in the fast path
The flaw lives in a hand-written assembly shortcut in the decoder that uses AVX-512 VBMI instructions, a feature of modern Intel and AMD server chips. The code miscalculates how much memory to write for the padded tail of an input, so a crafted value writes past the end of the decoded buffer and corrupts the Java heap.
Security firm Calif, which discovered and reported the flaw, rates it 9.2 out of 10 under the CVSS v4.0 scoring system — a critical rating. Oracle, which assigned the CVE identifier, rates it 8.1 and describes it as a "difficult to exploit vulnerability". Independent researchers at Harness and Datadog confirmed the out-of-bounds write in their own testing, reproducing crashes, while noting that turning the corruption into reliable code execution takes additional work against each target application.
Only systems running on x86-64 processors with AVX-512 VBMI support are affected — including Intel Xeon chips from Ice Lake through Granite Rapids and AMD EPYC and Ryzen processors from Zen 4 onward. Java running on ARM64 chips is not affected. The flaw affects OpenJDK builds from version 17.0.6 onward, across every major distribution, including Oracle Java SE, Amazon Corretto, Eclipse Temurin, Microsoft Build of OpenJDK, Azul Zulu and Red Hat OpenJDK.
Major enterprise apps in the firing line
Calif says it demonstrated remote code execution against default installations of several widely used enterprise products without any credentials: Keycloak, Atlassian Jira, Atlassian Confluence, JFrog Artifactory, Jenkins and PingFederate. With a login, it says the flaw also worked against Apache Kafka Broker, Apache Solr, Elasticsearch, Gerrit and Netflix Spinnaker.
That breadth is what makes the flaw dangerous. It is a bug in Java itself, not in any single application — so any Java service that decodes attacker-controlled Base64 data on a vulnerable chip could be exposed. It is a different flaw from the actively exploited Atlassian Confluence vulnerability reported earlier this week, although the two overlap: Confluence is among the products Calif says it compromised through the Java bug.
As of November 17, no exploitation in the wild had been publicly confirmed. But the researchers have said details of the bug leaked before the patch was ready, and the trigger is a short malformed string — so defenders should not count on the window staying quiet.
Patch now, or switch off the fast decoder
Oracle released fixed builds on November 17, including JDK 17.0.21.1, with matching updates for the Java 8, 11, 21, 25 and 27 lines, and other distributors have shipped their own patched builds. CISA's alert tells organisations to apply the updates immediately.
Where patching has to wait, there is a workaround: starting the Java virtual machine with the flag -XX:-UseBASE64Intrinsics disables the vulnerable fast decoder path entirely. Security teams can also check whether their servers run on an affected chip at all — systems without AVX-512 VBMI support are not vulnerable.



