Patch-now · Breaking

Java4Shell: a critical OpenJDK Base64 bug, CVE-2026-114938, gives remote code execution in Jenkins, Jira, Confluence, Keycloak and PingFederate; Oracle and OpenJDK patched it Nov 17

Researchers at Calif disclosed Java4Shell (CVE-2026-114938) on Nov 17. It is a memory-corruption bug in OpenJDK's hardware-accelerated Base64 decoder, and it lets an attacker with no login run code on widely used Java apps in their default setup, including Jenkins, Atlassian Jira and Confluence, Keycloak, JFrog Artifactory and PingFederate. Calif rates it 9.2 (CVSS 4.0) and Oracle rates it 8.1 (CVSS 3.1). Fixes shipped Nov 17 in Oracle's Critical Patch Update and the OpenJDK advisory. No in-the-wild exploitation has been reported yet.

Nov 17, 2026 · 2 min read

What the bug is. Base64 is the everyday way software turns binary data into text, and it shows up in logins, file uploads and network messages. To decode it faster, OpenJDK uses special AVX-512 VBMI instructions on some x86-64 chips. Calif found a flaw in that hand-written fast path: malformed input overwrites nearby memory. The trigger is just 64 A characters followed by = (128 on older OpenJDK 17 builds). Calif says this can leak memory the way Heartbleed did, or lead to remote code execution.

Who is exposed. OpenJDK 17.0.6 and later and the builds made from it, including Oracle Java SE, Amazon Corretto, Eclipse Temurin, Microsoft Build of OpenJDK, Azul Zulu and Red Hat OpenJDK. The OpenJDK advisory lists Java 17, 21, 25 and 27 as affected; 8 and 11 are not. It only bites on x86-64 CPUs with AVX-512 VBMI, which covers many modern server processors. Calif showed pre-auth RCE on Keycloak, Jira, Confluence, Artifactory, Jenkins and PingFederate, and post-auth RCE on Kafka, Solr, Elasticsearch, Gerrit and Spinnaker. It also showed client-side compromise of a Java program that connects over TLS to a malicious server.

How bad is it right now. Calif published a proof of concept for the memory corruption but not its weaponized app exploits, and there is no single exploit that works everywhere: an attacker has to find a way to feed bad Base64 to each app. Calif says researcher Quang Luong found the bug with OpenAI's Codex in about an hour and had a first working exploit about two hours later, for under $200 in AI cost. That speed is the warning. Expect the gap between patch and attack to be short.

Defender move. Patch the Java runtime itself, not just the app on top of it. The fixed Oracle builds are 17.0.21.1, 21.0.13.1 and 25.0.5.1 (per Datadog Security Labs and HeroDevs). Pull the matching update from your Corretto, Temurin, Zulu, Microsoft or Red Hat vendor, and remember that bundled JREs inside appliances and containers count too. Start with internet-facing Jenkins, Jira, Confluence, Keycloak and PingFederate. If you can't patch today, Calif's stopgap is starting Java with -XX:-UseBASE64Intrinsics, which turns off the buggy fast path, or -XX:UseAVX=2.

Sources