Critical Java4Shell Flaw (CVE-2026-114938) Enables Pre-Auth RCE in Jira, Jenkins, Keycloak and More
Key Points:
- A critical Java vulnerability dubbed Java4Shell (CVE-2026-114938) affects Java 17.0.6 and later versions running on x86-64 Intel and AMD processors with AVX-512 VBMI support, allowing unauthenticated attackers to execute arbitrary code on popular applications like Jira, Jenkins, and Keycloak.
- The flaw resides in a faster Base64 decoder used by Java on these specific chips, where a malformed Base64 string causes a buffer overflow that can be exploited to manipulate memory and potentially run malicious code, although exploitation requires precise memory layout and timing.
- Oracle, OpenJDK, Amazon Corretto, Azul Zulu, and SAP have released patches addressing the vulnerability, while Red Hat is still preparing fixes; users are advised to update Java builds or apply JVM flags (-XX:-UseBASE64Intrinsics or -XX:UseAVX=2) to mitigate the risk temporarily.
- The vulnerability is rated highly severe (CVSS scores up to 9.8) and can be exploited remotely without authentication on certain applications, but no active exploitation has been reported so far according to Canada's Cyber Centre and other security entities.
- Detection of potential attacks involves monitoring for unusual Base64 tokens, bursts of decoding errors, and Java crash logs, while organizations should rebuild and redeploy container images after applying updates to ensure protection.