Java4Shell: Critical RCE in OpenJDK Base64 Decoder
Score: 9/10

Java4Shell: Critical RCE in OpenJDK Base64 Decoder

A critical heap buffer overflow (CVE-2026-114938) in OpenJDK's hardware-accelerated Base64 decoder enables unauthenticated remote code execution on x86-64 systems supporting AVX-512 VBMI.

Executive Summary

Discovered by Calif, Java4Shell (CVE-2026-114938) is a critical memory corruption vulnerability in OpenJDK's Base64 decoding intrinsic. The flaw arises from an integer underflow in the hand-written assembly code used for AVX-512 VBMI hardware acceleration on x86-64 processors. While initially leaking before official disclosure, it has since been confirmed by OpenJDK and fixed in Oracle's November 17, 2026, Critical Security Patch Update.

The vulnerability is highly significant as it affects common pre-authentication paths—such as HTTP Basic auth headers, JWTs, and SAML messages—across major Java-based products including Jenkins, Jira, Confluence, Keycloak, and PingFederate. Although exploitation requires specific hardware features (AVX-512 VBMI) and tailored heap grooming, the potential impact includes full remote code execution (RCE) and sensitive data disclosure (termed "JavaBleed") from the JVM heap. Organizations should prioritize patching internet-facing Java 17, 21, and 25 runtimes on modern Intel and AMD server hardware.

Key Details

Threat Name

Java4Shell

Affects

OpenJDK, Oracle Java 17, Oracle Java 21, Oracle Java 25, Oracle Java 27, OpenJDK 17 (17.0.6 and later), Oracle Java SE, Oracle GraalVM for JDK, Oracle GraalVM Enterprise Edition, Oracle JavaFX, Apache HTTP Server 2.4.55 to 2.4.70, OpenJDK 17.0.6 or newer, Amazon Corretto, Eclipse Temurin, Microsoft Build of OpenJDK, OpenJDK 17.0.6 and later, Apache Tomcat, OpenJDK 18, OpenJDK 21, OpenJDK 25, OpenJDK 27, OpenJDK 17 (17.0.6 before 17.0.21.1), Java 21 (before 21.0.13.1), Java 25 (before 25.0.5.1), Java 27 (before 27.0.1.1), Oracle Java 17.0.6 and later, Oracle GraalVM for JDK 17.0.21 and 21.0.13, GraalVM Enterprise Edition 21.3.20.0.3, JavaFX

Adversary

—

MITRE Techniques

—

Malware/Tools

None identified

Report Score

9out of 10
Quality Score
Excellent
IOC Quality5
TTP Details9
Detection Guidance8
Enterprise Relevance10
Clarity & Structure10
Technical Depth9

Sources