Java4Shell OpenJDK Flaw Enables Remote Code Execution

Summary
Researchers say Java4Shell, a memory-corruption flaw in OpenJDK’s optimized Base64 decoder, can enable memory disclosure or RCE. CVE-2026-114938 affects specified Java builds; Oracle issued a patch, and JVM flags are offered as mitigations.
Key points
- Calif researchers report that malformed Base64 input can trigger an out-of-bounds write in OpenJDK’s optimized decoder, corrupting neighboring memory.
- The article says the flaw may enable memory disclosure or remote code execution; Calif demonstrated pre-authorization RCE in Keycloak, Jira, Confluence, Artifactory, Jenkins, and PingFederate.
- Apache Kafka Broker, Apache Solr, Elasticsearch, Gerrit, and Spinnaker were reported vulnerable to post-authentication RCE; the researchers said their tested-product list was not exhaustive.
- Affected releases listed include Java 17.0.6–17.0.21, Java 21 through 21.0.13, Java 25 through 25.0.5, Java 27 through 27.0.1, and Java 8; Java 11 and Java 17.0.0–17.0.5 were listed as unaffected.
- Oracle released a patch, and the article recommends updating affected Java builds. Suggested temporary mitigations are -XX:-UseBASE64Intrinsics or, on x86-64 hosts, -XX:UseAVX=2.
Article Details
- Vulnerability Types
- Memory corruption (out-of-bounds write) in OpenJDK Base64 decoding
- Remote code execution
- Severity
- Critical; rated 9.2 under CVSS 4.0.
- Affected Versions
- Java 17: 17.0.6 to 17.0.21
- Java 21: versions up to 21.0.13
- Java 25: versions up to 25.0.5
- Java 27: versions up to 27.0.1
- Java 8, including 8u511b33-perf Performance Pack build
- Exploitation Status
- unknown
- Exploit Availability
- claimed_or_private
- Patch Status
- available
- Workarounds
- Start OpenJDK with -XX:-UseBASE64Intrinsics to disable hardware-accelerated Base64 encoding and decoding.
- On x86-64 hosts, start OpenJDK with -XX:UseAVX=2 to disable AVX-512. The article warns that OpenJDK on ARM does not recognize this flag and will not start.
MITRE ATT&CK
CVE
People
Dom GlavachCISO at Black Duck who commented on the vulnerability's organizational exposure and mitigation.James MatchettHead of security at Cloudsmith who commented on AI-assisted vulnerability discovery and remediation urgency.Quang LuongCalif security engineer who described the vulnerability's technical details and recommended mitigation.Waseem AhmedHead of engineering at Secure.com who commented on the AI-assisted discovery and exploit-development timeline.
Products
Apache Kafka BrokerAtlassian Jira, Atlassian Confluence, JFrog Artifactory, Jenkins, and PingFederate. Meanwhile, Apache Kafka Broker, Apache Solr, Elasticsearch, Gerrit, and Spinnaker are vulnerable to post-auth RCE, they said.Apache SolrAtlassian Confluence, JFrog Artifactory, Jenkins, and PingFederate. Meanwhile, Apache Kafka Broker, Apache Solr, Elasticsearch, Gerrit, and Spinnaker are vulnerable to post-auth RCE, they said.Atlassian ConfluenceThe team achieved pre-authorization RCE in the following: Keycloak, Atlassian Jira, Atlassian Confluence, JFrog Artifactory, Jenkins, and PingFederate. Meanwhile, Apache Kafka Broker, Apache Solr, Elasticsearch, Gerrit,Atlassian JiraThe team achieved pre-authorization RCE in the following: Keycloak, Atlassian Jira, Atlassian Confluence, JFrog Artifactory, Jenkins, and PingFederate. Meanwhile, Apache Kafka Broker, Apache Solr, Elasticsearch, Gerrit,JavaA critical flaw in an open source runtime at the heart of the Java programming language allows unauthenticated attackers to perform remote code execution (RCE) on myriad Java applications used globally across enterpriseJenkinsRCE in the following: Keycloak, Atlassian Jira, Atlassian Confluence, JFrog Artifactory, Jenkins, and PingFederate. Meanwhile, Apache Kafka Broker, Apache Solr, Elasticsearch, Gerrit, and Spinnaker areJFrog Artifactoryachieved pre-authorization RCE in the following: Keycloak, Atlassian Jira, Atlassian Confluence, JFrog Artifactory, Jenkins, and PingFederate. Meanwhile, Apache Kafka Broker, Apache Solr, Elasticsearch, Gerrit, andKeycloakThe team achieved pre-authorization RCE in the following: Keycloak, Atlassian Jira, Atlassian Confluence, JFrog Artifactory, Jenkins, and PingFederate. Meanwhile, Apache Kafka Broker, Apache Solr, Elasticsearch, Gerrit,OpenJDKThe memory corruption vulnerability exists in versions of OpenJDK, a popular open source runtime. Researchers at security startup Calif demonstrated a general proof-of-concept (PoC) exploit for the flaw, dubbedPingFederateRCE in the following: Keycloak, Atlassian Jira, Atlassian Confluence, JFrog Artifactory, Jenkins, and PingFederate. Meanwhile, Apache Kafka Broker, Apache Solr, Elasticsearch, Gerrit, and Spinnaker are vulnerable to
