Java4Shell OpenJDK Flaw Enables Pre-Auth RCE in Tested Products

· Original article ↗

Summary

Java4Shell (CVE-2026-114938) is an OpenJDK heap-corruption flaw in the AVX-512 Base64 decoder. Calif reports pre-auth RCE in tested products; affected x86-64 builds need patches or the JVM workaround -XX:-UseBASE64Intrinsics.

Key points

  • Calif describes a heap out-of-bounds write in OpenJDK's AVX-512 Base64 decoder; Theori and other firms independently reproduced the overflow.
  • Calif reports pre-auth RCE in Keycloak, Jira, Confluence, Artifactory, Jenkins, and PingFederate, and post-auth RCE in five additional products. These RCE results are attributed to Calif.
  • The vulnerable code requires x86-64 CPUs with AVX-512 VBMI. OpenJDK 17, 21, 25, and 27 are affected; standard Java 8 and ARM are not. Oracle's Java 8 performance build is also listed as vulnerable.
  • The decoder may process Basic-auth tokens and JWT data before authentication checks. Calif's exploit chain requires decoder warm-up and target-specific heap conditions.
  • Oracle fixes include builds ending in .1 for Java 17, 21, 25, and 27, plus 8u513 for the performance build. Other vendor fixes were still pending at the time of publication.
  • The JVM flag -XX:-UseBASE64Intrinsics is presented as a workaround; affected deployments should check their vendor's advisory and rebuild or redeploy containers with fixed JDKs.
  • The article says exploitation had not been observed in the wild as of publication. Calif was withholding product-specific exploit chains until organizations had time to patch.

Article Details

Vulnerability Types
  • Heap out-of-bounds write
  • Heap memory corruption
  • Remote code execution
Severity
Calif rates it 9.2 critical on CVSS 4.0; the OpenJDK advisory rates it 8.1 on CVSS 3.1.
Affected Versions
  • OpenJDK 17.0.6 and later, including versions 17, 21, 25, and 27, on x86-64 CPUs with AVX-512 VBMI
  • Oracle Java SE 8 performance build 8u511b33-perf
  • Oracle Java SE 17.0.21.0.3
  • Oracle Java SE 21.0.13.0.3
  • Oracle Java SE 25.0.5.0.3
  • Oracle Java SE 27.0.1.0.3
Exploitation Status
reported
Exploit Availability
public_poc
Patch Status
partial
Workarounds
  • Use the JVM flag -XX:-UseBASE64Intrinsics to disable the vulnerable intrinsic.
  • Use -XX:UseAVX=2 on x86-64 hosts to disable AVX-512 paths; the article says this fails to start on ARM hosts.

MITRE ATT&CK

CVE

People

Vendors

AmazonCalif's list of vulnerable builds is broad because everything downstream of OpenJDK inherits the code: Amazon Corretto, Eclipse Temurin, Microsoft Build of OpenJDK, Azul Zulu, BellSoft Liberica, SAP SapMachine, Red HatAzuldownstream of OpenJDK inherits the code: Amazon Corretto, Eclipse Temurin, Microsoft Build of OpenJDK, Azul Zulu, BellSoft Liberica, SAP SapMachine, Red Hat OpenJDK, Oracle OpenJDK, Oracle Java SE, and OracleBellSoftof OpenJDK inherits the code: Amazon Corretto, Eclipse Temurin, Microsoft Build of OpenJDK, Azul Zulu, BellSoft Liberica, SAP SapMachine, Red Hat OpenJDK, Oracle OpenJDK, Oracle Java SE, and Oracle GraalVM for JDK.Eclipsevulnerable builds is broad because everything downstream of OpenJDK inherits the code: Amazon Corretto, Eclipse Temurin, Microsoft Build of OpenJDK, Azul Zulu, BellSoft Liberica, SAP SapMachine, Red Hat OpenJDK,Microsoftis broad because everything downstream of OpenJDK inherits the code: Amazon Corretto, Eclipse Temurin, Microsoft Build of OpenJDK, Azul Zulu, BellSoft Liberica, SAP SapMachine, Red Hat OpenJDK, Oracle OpenJDK, OracleOracleOn November 17, 2026, Oracle and OpenJDK shipped fixes for Java4Shell (CVE-2026-114938), a heap memory corruption bug in the AVX-512 accelerated Base64 decoder. Calif, the firm that discovered the vulnerability, saysRed HatCorretto, Eclipse Temurin, Microsoft Build of OpenJDK, Azul Zulu, BellSoft Liberica, SAP SapMachine, Red Hat OpenJDK, Oracle OpenJDK, Oracle Java SE, and Oracle GraalVM for JDK.SAPthe code: Amazon Corretto, Eclipse Temurin, Microsoft Build of OpenJDK, Azul Zulu, BellSoft Liberica, SAP SapMachine, Red Hat OpenJDK, Oracle OpenJDK, Oracle Java SE, and Oracle GraalVM for JDK.

Products

Atlassian JiraExploitation: Calif confirms working RCE in Keycloak, Jira, Confluence, Artifactory, Jenkins, and PingFederate without authorization, plus five more post-auth. The researcher says OpenAI Codex helped find the bug in anConfluenceExploitation: Calif confirms working RCE in Keycloak, Jira, Confluence, Artifactory, Jenkins, and PingFederate without authorization, plus five more post-auth. The researcher says OpenAI Codex helped find the bug in anJenkinsExploitation: Calif confirms working RCE in Keycloak, Jira, Confluence, Artifactory, Jenkins, and PingFederate without authorization, plus five more post-auth. The researcher says OpenAI Codex helped find the bug in anJFrog ArtifactoryExploitation: Calif confirms working RCE in Keycloak, Jira, Confluence, Artifactory, Jenkins, and PingFederate without authorization, plus five more post-auth. The researcher says OpenAI Codex helped find the bug in anKeycloakExploitation: Calif confirms working RCE in Keycloak, Jira, Confluence, Artifactory, Jenkins, and PingFederate without authorization, plus five more post-auth. The researcher says OpenAI Codex helped find the bug in anOpenJDKOn November 17, 2026, Oracle and OpenJDK shipped fixes for Java4Shell (CVE-2026-114938), a heap memory corruption bug in the AVX-512 accelerated Base64 decoder. Calif, the firm that discovered the vulnerability, saysOracle GraalVM for JDKZulu, BellSoft Liberica, SAP SapMachine, Red Hat OpenJDK, Oracle OpenJDK, Oracle Java SE, and Oracle GraalVM for JDK.Oracle Java SEBuild of OpenJDK, Azul Zulu, BellSoft Liberica, SAP SapMachine, Red Hat OpenJDK, Oracle OpenJDK, Oracle Java SE, and Oracle GraalVM for JDK.PingFederateExploitation: Calif confirms working RCE in Keycloak, Jira, Confluence, Artifactory, Jenkins, and PingFederate without authorization, plus five more post-auth. The researcher says OpenAI Codex helped find the bug in anSpring SecurityResearchers found that standard Basic auth handling in Spring Security, Tomcat, and Jetty 12 passes the raw token to Base64.getDecoder() before validating it. Auth0's java-jwt decodes JWT headers and payloads the same

Tools

Related Articles