Critical Java4Shell Flaw Enables Remote Code Execution in Widely Used Java Apps
A critical vulnerability dubbed Java4Shell, tracked as CVE-2026-114938, affects OpenJDK 17.0.6 and later as well as major Java distributions including Oracle Java SE, Amazon Corretto, Eclipse Temurin, Microsoft Build of OpenJDK, Azul Zulu, and Red Hat OpenJDK. The flaw is a memory-corruption bug in Java's hardware-accelerated Base64 decoding functionality, which processes encoded data commonly used in authentication, file uploads, and network communications. Researchers at Calif, who disclosed the issue on Tuesday, rate it critical with a CVSS 4.0 score of 9.2, while Oracle assigns it a lower severity of 8.1.
Specially crafted Base64 data causes the decoder to overwrite portions of Java's memory, potentially letting attackers steal sensitive information or execute malicious code. Calif says the memory corruption triggers with as little as 64 "A" characters followed by an equals sign, though older OpenJDK 17 versions require 128 characters. Notably, the bug only affects a hardware-accelerated decoding function on certain x86-64 processors supporting AVX-512 instructions.
Because Java powers a vast range of enterprise software, the impact is broad. The researchers demonstrate unauthenticated remote code execution against Keycloak, Atlassian Jira, Atlassian Confluence, JFrog Artifactory, Jenkins, and PingFederate running with default configurations, and authenticated RCE against Apache Kafka Broker and Apache Solr. Organizations running affected Java versions are urged to apply patches as they become available and review exposure of internet-facing Java applications.