On November 17, 2026, a critical security vulnerability known as Java4Shell (CVE-2026-114938) was publicly disclosed, affecting the hardware-accelerated Base64 decoder in Java.
The vulnerability may allow remote attackers to execute arbitrary code, access sensitive information, or disrupt Java-based applications and services without prior authentication under certain conditions.
Oracle and several OpenJDK vendors have released security updates addressing this vulnerability.
Security Vulnerability
| Parameter | Description |
|---|---|
| CVE Identifier | CVE-2026-114938 |
| Vulnerability Name | Java4Shell |
| Affected Software | Oracle Java SE, OpenJDK |
| Vulnerability Type | Memory corruption |
| CVSS 4.0 Score | 9.2 (Critical) |
| CVSS 3.1 Score (Oracle) | 8.1 (High) |
| Security Impact | Remote Code Execution (RCE) |
| Affected Architecture | x86-64 with AVX-512 VBMI support |
The vulnerability originates in an optimized Base64 decoding implementation within the Java Virtual Machine (JVM). Processing malicious input through the affected implementation may result in memory corruption and arbitrary code execution.
Affected Java Versions
The vulnerability affects the following Java release branches:
| Java Version | Status |
|---|---|
| Java 8 (Standard) | Not affected |
| Java 11 | Not affected |
| Java 17.0.0 – 17.0.5 | Not affected |
| Java 17.0.6 and later unpatched builds | Affected |
| Java 21 | Affected, unless patched |
| Java 25 | Affected, unless patched |
| Java 26 | Affected |
| Java 27 | Affected, unless patched |
Certain Oracle Java 8 Performance Pack builds are also affected.
Affected Processors
The vulnerability requires an x86-64 processor supporting the AVX-512 VBMI instruction set.
Affected processor families include:
- Intel Xeon Ice Lake.
- Intel Xeon Sapphire Rapids.
- Intel Xeon Emerald Rapids.
- Intel Xeon Granite Rapids.
- AMD EPYC processors based on Zen 4 and newer architectures.
- Other x86-64 processors supporting AVX-512 VBMI.
ARM64 processors and x86-64 processors without AVX-512 VBMI support are not affected by this vulnerability.
You can check whether the required CPU instruction set is available on your Linux server:
grep -m1 -o 'avx512vbmi' /proc/cpuinfo
If the command returns avx512vbmi, the required CPU feature is exposed to the operating system.
On virtual servers, available CPU instructions depend on the hypervisor configuration and CPU features exposed to the virtual machine.
Security Impact
Java4Shell is particularly relevant to internet-facing Java applications that process externally supplied Base64 data, including authentication headers, security tokens, and uploaded content.
Potential consequences include:
- Remote code execution (RCE).
- Unauthorized access to sensitive application data.
- Java Virtual Machine crashes.
- Denial of service (DoS).
- Compromise of application-level credentials and security tokens.
Security researchers have demonstrated exploitation against several widely used Java-based applications, including Keycloak, Jenkins, Jira, Confluence, and JFrog Artifactory.
Other Java-based platforms, application servers, and enterprise services may also be affected depending on their runtime version and configuration.
Fixed Java Versions
The following Oracle Java SE versions address the vulnerability:
| Java Branch | Fixed Version |
|---|---|
| Java 17 LTS | 17.0.21.1 |
| Java 21 LTS | 21.0.13.1 |
| Java 25 LTS | 25.0.5.1 |
| Java 27 | 27.0.1.1 |
Security updates are also being distributed through other Java vendors and Linux distribution repositories.
Linux distributions may backport security fixes into existing package versions. Always refer to the security advisories published by your operating system or Java runtime vendor.
Update Recommendations
We strongly recommend that customers running Java-based applications on their virtual or dedicated servers install the available security updates.
Check your currently installed Java version:
java -version
Updating Java
Use the following commands to update installed OpenJDK packages through your Linux distribution's package manager.
apt update
apt upgrade 'openjdk-*'
java -version
dnf upgrade 'java-*-openjdk*'
java -version
After completing the update, restart all affected Java-based applications and services to ensure that they are using the updated runtime.
Applications with bundled Java runtimes and containerized deployments must be updated separately.
Temporary Mitigation
If an immediate update is not possible, the vulnerable Base64 optimization can be disabled on supported Java runtimes by adding the following JVM startup parameter:
-XX:-UseBASE64Intrinsics
Restart the affected Java application after modifying its startup parameters.
This mitigation disables the hardware-accelerated Base64 implementation and may reduce Base64 processing performance.
This workaround is not a replacement for installing security updates. The startup parameter is intended for supported Java 17 and later runtimes and should not be applied indiscriminately to older Java versions.
Regularly installing security updates is essential for maintaining a secure, reliable, and stable hosting environment.