Java4Shell OpenJDK Flaw Enables Unauthenticated Remote Code Execution

Summary
CVE-2026-114938, dubbed Java4Shell, is a heap overflow in OpenJDK’s Base64 decoder that can enable unauthenticated RCE on affected AVX-512 VBMI systems. Patches are available; no in-the-wild exploitation was reported as of Nov. 18, 2026.
Key points
- The flaw affects the optimized HotSpot Base64 decoder on x86-64 systems with AVX-512 VBMI; Java 11, standard OpenJDK 8, ARM64, and x86 systems without VBMI are not affected.
- According to Calif, padded Base64 input can trigger a buffer-size underflow and a 64-byte write; a 65-byte input can overflow the heap by 62 bytes.
- Calif demonstrated pre-authentication RCE in test configurations of Jira, Confluence, Jenkins, Keycloak, Artifactory, and PingFederate; it also reported post-authentication RCE in several other Java applications.
- No in-the-wild exploitation had been reported as of Nov. 18, 2026, but a public trigger reproduces the overflow.
- Oracle and OpenJDK released fixes on Nov. 17; fixed builds include Java 17.0.21.1, 21.0.13.1, 25.0.5.1, and 27.0.1.1. Restart Java processes after upgrading.
- If patching is delayed, Calif recommends disabling Base64 intrinsics or AVX-512; CISA also recommends validating Base64 input, limiting input size, and restricting unauthenticated access.
Article Details
- Vulnerability Types
- Heap overflow in the OpenJDK Base64 decoder
- Severity
- Critical; CVSS 4.0 score 9.2 according to Calif, and CVSS 3.1 score 8.1 (High) according to the OpenJDK advisory
- Affected Versions
- OpenJDK 17.0.6 and later, including 17.0.6 to 17.0.21
- Java 21 before 21.0.13.1
- Java 25 before 25.0.5.1
- Java 27, with 27.0.1.1 listed as the fixed build
- Oracle Java SE 8 8u511b33-perf
- Exploitation Status
- not_reported
- Exploit Availability
- public_poc
- Patch Status
- available
- Workarounds
- Add -XX:-UseBASE64Intrinsics to disable Base64 intrinsics; restart the JVM after changing the option.
- On x86-64 hosts, add -XX:UseAVX=2 to disable AVX-512; restart the JVM after changing the option.
- Validate Base64 input at the application boundary, enforce input size limits, and limit unauthenticated access.
MITRE ATT&CK
T1190 · Exploit Public-Facing ApplicationThe article describes unauthenticated attackers sending crafted Base64 input to vulnerable internet-facing Java services to achieve remote code execution.T1203 · Exploitation for Client ExecutionA client-side variant can compromise a Java application when it connects over TLS to a malicious server.T1499 · Endpoint Denial of ServiceA failed heap-overflow exploitation attempt can crash the JVM and cause denial of service.
CVE
Vendors
Microsoft25.0.5.1 and Java 27. Oracle also lists Java SE 8 8u511b33-perf. Builds from Oracle, Corretto, Temurin, Microsoft, Zulu, Liberica, SapMachine, Red Hat and GraalVM are affected. Hosts must also run on an x86-64OracleOracle and OpenJDK released fixes on November 17, 2026. Fixed builds end in ".1", and the same version number without the suffix remains vulnerable.Red HatJava SE 8 8u511b33-perf. Builds from Oracle, Corretto, Temurin, Microsoft, Zulu, Liberica, SapMachine, Red Hat and GraalVM are affected. Hosts must also run on an x86-64 processor with AVX-512 VBMI, which includes
Products
Apache KafkaJenkins, Keycloak, JFrog Artifactory and PingFederate, as well as post-authentication RCE in Apache Kafka, Solr, Elasticsearch, Gerrit and Spinnaker. Fake proof-of-concept repositories are likely to appear,Apache SolrJenkins, Keycloak, JFrog Artifactory and PingFederate, as well as post-authentication RCE in Apache Kafka, Solr, Elasticsearch, Gerrit and Spinnaker. Fake proof-of-concept repositories are likely to appear, andAtlassian JiraSecurity company Calif demonstrated pre-authentication RCE in test configurations of Keycloak, Jira, Confluence, Artifactory, Jenkins and PingFederate.ConfluenceSecurity company Calif demonstrated pre-authentication RCE in test configurations of Keycloak, Jira, Confluence, Artifactory, Jenkins and PingFederate.Elasticsearchplatforms. Popular Java-based applications such as Jira, Confluence, Jenkins, Keycloak, Kafka and Elasticsearch could be affected. Many of these products ship their own bundled Java runtime, so organizations shouldGerritArtifactory and PingFederate, as well as post-authentication RCE in Apache Kafka, Solr, Elasticsearch, Gerrit and Spinnaker. Fake proof-of-concept repositories are likely to appear, and unpatched internet-facingHotSpot JVMwas disclosed on November 17, 2026. The flaw sits in the optimized Base64 decoder that the HotSpot JVM uses on x86-64 processors with AVX-512 VBMI support. Oracle and OpenJDK have released patches, and theJavaA heap overflow vulnerability in the OpenJDK Base64 decoder, tracked as CVE-2026-114938, lets remote attackers run code on Java servers with AVX-512 processors. Patches are available.JenkinsSecurity company Calif demonstrated pre-authentication RCE in test configurations of Keycloak, Jira, Confluence, Artifactory, Jenkins and PingFederate.JFrog ArtifactorySecurity company Calif demonstrated pre-authentication RCE in test configurations of Keycloak, Jira, Confluence, Artifactory, Jenkins and PingFederate.KeycloakSecurity company Calif demonstrated pre-authentication RCE in test configurations of Keycloak, Jira, Confluence, Artifactory, Jenkins and PingFederate.OpenJDKJava4Shell: Critical OpenJDK Flaw Allows Unauthenticated Remote Code ExecutionPingFederateSecurity company Calif demonstrated pre-authentication RCE in test configurations of Keycloak, Jira, Confluence, Artifactory, Jenkins and PingFederate.Spinnakerand PingFederate, as well as post-authentication RCE in Apache Kafka, Solr, Elasticsearch, Gerrit and Spinnaker. Fake proof-of-concept repositories are likely to appear, and unpatched internet-facing Java services on
