Critical Java4Shell flaw enables remote code execution in major Java applications
A memory-corruption bug in OpenJDK’s hardware-accelerated Base64 decoder (CVE-2026-114938) allows unauthenticated attackers to execute code on several enterprise Java products, prompting Oracle and vendors to issue patches.
A memory-corruption vulnerability in the Base64 decoding routine of OpenJDK, identified as CVE-2026-114938 and nicknamed Java4Shell, can be exploited to achieve remote code execution (RCE) on a range of widely used Java applications. The flaw affects OpenJDK 17.0.6 and later, as well as downstream distributions such as Oracle Java SE, Amazon Corretto, Eclipse Temurin, Microsoft Build of OpenJDK, Azul Zulu and Red Hat OpenJDK.
Security researchers at Calif disclosed the issue on Tuesday, rating it critical with a CVSS 4.0 score of 9.2. Oracle assigned a high severity rating of 8.1 using CVSS 3.1. The bug resides in the hardware-accelerated Base64 decoder that runs on x86-64 processors supporting AVX-512 instructions. Supplying specially crafted Base64 data—64 "A" characters followed by an equals sign—can corrupt memory and enable attackers to steal data or run malicious code.
"The memory corruption can be triggered with just 64 \"A\" characters followed by a single equals sign (=)."
Calif demonstrated unauthenticated RCE against Keycloak, Atlassian Jira, Confluence, JFrog Artifactory, Jenkins and PingFederate, and authenticated RCE against Apache Kafka Broker, Solr, Elasticsearch, Gerrit and Spinnaker. Exploits also worked in sample applications built on Apache Struts and Spring Boot. The researchers note that a universal exploit does not exist; attackers must deliver malicious Base64 payloads in a way specific to each application.
Oracle released patches for the vulnerability on November 17 as part of its November Critical Security Patch Update. The company advises customers to apply the updates promptly. For systems that cannot be patched immediately, Calif recommends disabling the vulnerable hardware-accelerated decoder with the JVM option -XX:-UseBASE64Intrinsics or disabling AVX-512 instructions using -XX:UseAVX=2. These mitigations are temporary, and updating to the latest Java runtime remains the recommended solution.