Executive Summary
Java4Shell (CVE-2026-114938) is a critical vulnerability (CVSS 9.2) in the OpenJDK Base64 decoder, specifically affecting the x86-64 hardware-accelerated intrinsic routines. The vulnerability arises from an underflow in the hand-rolled assembly code using AVX-512 VBMI instructions, leading to an out-of-bounds heap write. This allows unauthenticated attackers to overwrite heap memory or leak sensitive data from the Java heap, such as PII and private keys, similar to the Heartbleed vulnerability.
Technically, the attack targets the JIT compiler's optimized 'intrinsic' routines. When a specific malformed Base64 input (64 'A' characters followed by '=') is processed, it triggers a 64-byte out-of-bounds write past the allocated buffer. Attackers utilize 'Remote Heap Feng Shui' to align memory objects, upgrading this limited write into a linear write primitive to hijack application logic or reach the JVM Code Cache for full code execution.
This vulnerability is highly significant due to the ubiquity of Java in enterprise and critical infrastructure. Successful pre-authentication RCE has been demonstrated in major products including Keycloak, Atlassian Jira, Jenkins, and JFrog Artifactory. Organizations using OpenJDK on modern x86-64 hardware (Intel Ice Lake+ or AMD Zen 4+) should prioritize patching immediately.
Key Details
Threat Name
Java4Shell
Affects
OpenJDK 17.0.6 or newer, Amazon Corretto, Eclipse Temurin, Microsoft Build of OpenJDK, Oracle Java SE
Adversary
—
MITRE Techniques
—
Malware/Tools
None identified