Java4Shell OpenJDK Flaw Enables Unauthenticated Remote Code Execution

· Original article ↗

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

CVE

Vendors

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

Countries

Related Articles