Java4Shell OpenJDK Heap Overflow Can Enable Pre-Auth RCE in Java Products

Summary
Java4Shell (CVE-2026-114938) is an AVX-512 VBMI-dependent OpenJDK Base64 heap overflow. Fixes are available and exploitation attempts have been observed; a reported Confluence compromise remains unconfirmed. The article details mitigations and detection.
Key points
- The flaw is in HotSpot's AVX-512 VBMI Base64 decoder: malformed padded input can cause an out-of-bounds heap write.
- Exposure requires an affected Java build, an x86-64 CPU with AVX-512 VBMI, and attacker-controlled Base64 reaching the decoder; ARM64 is not affected.
- Calif demonstrated pre-authentication remote code execution in Keycloak, Jira, Confluence, Artifactory, Jenkins and PingFederate. No public RCE exploit was reported as of November 19, 2026.
- GreyNoise recorded 125 trigger-shaped requests from five IP addresses by November 19, with no successful intrusions against its sensors. Hexastrike reported a Confluence compromise attributed to Java4Shell, but the link was not independently confirmed.
- Fixed builds are available for affected Java lines. The article recommends patching and restarting JVMs, or temporarily disabling the accelerated Base64 path with -XX:-UseBASE64Intrinsics.
- The article provides Snort and SIEM hunting guidance for decoder exceptions, JVM crash files, and suspicious child processes, while warning that matching queries cannot rule out exploitation.
Article Details
- Vulnerability Types
- Heap overflow
- Severity
- OpenJDK and Oracle rate it 8.1 under CVSS 3.1; Calif rates it 9.2 under CVSS 4.0; Red Hat rates its impact Critical.
- Affected Versions
- Java 27: 27.0.1.0.3 and earlier
- Java 25: 25.0.5.0.3 and earlier
- Java 21: 21.0.13.0.3 and earlier
- Java 17: 17.0.6 to 17.0.21.0.3
- Oracle Java 8 Performance Pack: 8u511b33-perf
- Exploitation Status
- active
- Exploit Availability
- claimed_or_private
- Patch Status
- available
- Workarounds
- Start the JVM with -XX:-UseBASE64Intrinsics.
- On x86-64, -XX:UseAVX=2 also disables the vulnerable path.
- At the application boundary, validate Base64 input and reject values ending in = whose length is not a multiple of four.
MITRE ATT&CK
T1059.001 · PowerShellHexastrike reported, without independent confirmation, that PowerShell commands ran on the allegedly compromised Confluence server.T1059.003 · Windows Command ShellHexastrike reported, without independent confirmation, that the Confluence Tomcat service started cmd.exe during the alleged Java4Shell compromise.T1190 · Exploit Public-Facing ApplicationJava4Shell attempts were recorded against exposed Java services, and Calif demonstrated pre-authentication remote code execution in several products.T1562.001 · Disable or Modify ToolsHexastrike reported, without independent confirmation, that PowerShell commands disabled Microsoft Defender on the allegedly compromised Confluence server.
CVE
Vendors
AmazonEvery OpenJDK-based distribution inherits the bug, including Amazon Corretto, Eclipse Temurin, Microsoft Build of OpenJDK, Azul Zulu, BellSoft Liberica, SAP SapMachine, Red Hat build of OpenJDK, Oracle Java SE, andAzuldistribution inherits the bug, including Amazon Corretto, Eclipse Temurin, Microsoft Build of OpenJDK, Azul Zulu, BellSoft Liberica, SAP SapMachine, Red Hat build of OpenJDK, Oracle Java SE, and Oracle GraalVM forOracleOracle and the OpenJDK project shipped fixes on 17 November 2026.Red HatCorretto, Eclipse Temurin, Microsoft Build of OpenJDK, Azul Zulu, BellSoft Liberica, SAP SapMachine, Red Hat build of OpenJDK, Oracle Java SE, and Oracle GraalVM for JDK.
Products
Apache KafkaApache Kafka broker, Apache Solr, Elasticsearch, Gerrit, SpinnakerApache SolrApache Kafka broker, Apache Solr, Elasticsearch, Gerrit, SpinnakerApache StrutsCalif also showed code execution in sample Apache Struts and Spring Boot applications, and described a client-side variant where a Java program is compromised by connecting to a malicious TLS server.Atlassian JiraImpact: pre-authentication remote code execution demonstrated in Keycloak, Jira, Confluence, Artifactory, Jenkins and PingFederate.ConfluenceAs of 19 November 2026, exploitation attempts had been seen in the wild, and one security firm had reported, without independent confirmation, a compromised Confluence server.ElasticsearchApache Kafka broker, Apache Solr, Elasticsearch, Gerrit, SpinnakerGerritApache Kafka broker, Apache Solr, Elasticsearch, Gerrit, SpinnakerHotSpot JVMJava4Shell (CVE-2026-114938) is a heap overflow in the hardware-accelerated Base64 decoder of OpenJDK's HotSpot JVM.JavaCalif, the research firm that found the bug, demonstrated pre-authentication remote code execution against six widely deployed Java products in their default configurations.JenkinsImpact: pre-authentication remote code execution demonstrated in Keycloak, Jira, Confluence, Artifactory, Jenkins and PingFederate.JFrog ArtifactoryImpact: pre-authentication remote code execution demonstrated in Keycloak, Jira, Confluence, Artifactory, Jenkins and PingFederate.KeycloakImpact: pre-authentication remote code execution demonstrated in Keycloak, Jira, Confluence, Artifactory, Jenkins and PingFederate.OpenJDKJava4Shell (CVE-2026-114938) is a heap overflow in the hardware-accelerated Base64 decoder of OpenJDK's HotSpot JVM.PingFederateImpact: pre-authentication remote code execution demonstrated in Keycloak, Jira, Confluence, Artifactory, Jenkins and PingFederate.SpinnakerApache Kafka broker, Apache Solr, Elasticsearch, Gerrit, SpinnakerSpring BootCalif also showed code execution in sample Apache Struts and Spring Boot applications, and described a client-side variant where a Java program is compromised by connecting to a malicious TLS server.
Tools
ARTEXOn 18 November, Cloudforce One reported the first instance of a single IP address sending both ARTEX and Java4Shell traffic.CairnIt is one of a fast-growing set of such tools, alongside CyberStrikeAI and Cairn: Cloudflare saw daily requests from AI pentesting tools grow more than 30-fold between 1 October and 12 November.CyberStrikeAIIt is one of a fast-growing set of such tools, alongside CyberStrikeAI and Cairn: Cloudflare saw daily requests from AI pentesting tools grow more than 30-fold between 1 October and 12 November.SnortSnort alerts from sensors that inspect decrypted traffic in front of the Java services, with the Talos Java4Shell rules enabled.
