A critical OpenJDK vulnerability (CVE-2026-114938), dubbed Java4Shell, is in the wild, and CISA believes attackers could exploit it. The hardware-accelerated decoder is the tool most at risk, and attackers could exploit it through malicious Base64 input. CISA is urging users with Java installations exposed worldwide to patch the vulnerability immediately.
Java4Shell is a heap out-of-bounds write flaw in OpenJDK HotSpot’s Base64 decoder, say JFrog Security Research, Tenable, and Qualys. The HotSpot C2 JIT compiler uses AVX-512’s VBMI intrinsic on x86-64 processors. A miscalculated store mask when handling padded input manifests as a 64-byte write into a smaller buffer, overflowing the heap by approximately 62 bytes. JFrog assigned a preliminary CVSS v4.0 score of 9.2 (Critical), while Oracle’s CVSS v3.1 score is 8.1, said Tenable.
Who is affected
According to Oracle’s advisory, only OpenJDK-based runtimes from 17.0.6 onward are affected. That means the Java 17 release line is affected; the 21, 25, and 27 release lines should also get an update, and Oracle Java SE 8 Enterprise Performance Pack (8u511b33-perf). Standard Java 8 and 11 builds aren’t affected. The flaw can only be exploited on x86-64 CPUs that support the AVX-512 instruction set’s VBMI instruction. That family is limited to Intel’s Ice Lake and newer Xeon processors, and AMD’s Zen 4 and newer. Multiple vendors and testing teams have confirmed that ARM64 systems (such as Apple Silicon and AWS’s Graviton lineup) are not vulnerable.
Broadcom said major OpenJDK-based distros of Oracle, Corretto, Temurin, Microsoft Zulu, Liberica, SapMachine and Red Hat builds all inherit the bug as they are based on the vulnerable code. Because the flaw is in the runtime that can be abused by a wide spectrum of APIs, any application that accepts attacker-controlled Base64 and uses the affected APIs is at risk. BleepingComputer and SecurityWeek noted that widely deployed enterprise platforms such as Jenkins, Atlassian’s Jira, Confluence, and Keycloak are vulnerable if running on the affected runtimes or hardware.
Active exploitation reported
Qualys ThreatProtect reported on November 18 that threat actors are already exploiting Java4Shell against unpatched OpenJDK-based services on AVX-512-capable infrastructure. No victim counts or specific campaigns have been publicly documented as of November 18.
CISA’s November 17 alert states that crafted Base64 input can crash the JVM and enable unauthenticated remote code execution, and recommends immediate patching plus compensating controls where patching is not feasible. Whether the agency will add the flaw to its Known Exploited Vulnerabilities catalog remains unknown.
Exploitability is application-dependent, Tenable stressed: no authentication is required, but attackers need a viable path for untrusted Base64 data into the vulnerable decoder, typically through web services or other exposed interfaces. Vendors also caution there is no universal exploit chain applicable to all Java applications. An analysis cited by Malwarebytes suggests the flaw may enable both memory disclosure and full remote code execution depending on how corrupted heap structures are leveraged.
What to do
Oracle and the OpenJDK project shipped fixed builds on November 17, and upgrading is the primary and complete mitigation. Fixed versions include Oracle Java SE 17.0.21.1, 21.0.13.1, 25.0.5.1, 27.0.1.1 and Java 8 Enterprise Performance Pack 8u513-perf, along with corresponding updated vendor distributions. Qualys and Broadcom advise restarting all Java processes after updating so the vulnerable Base64 intrinsic is no longer resident in memory.
For organizations that cannot patch immediately, vendors and CISA document these temporary measures:
- Disable the Base64 intrinsic with the JVM option -XX:-UseBASE64Intrinsics (per Cisco Talos).
- Prevent the JVM from using AVX-512 with -XX:UseAVX=2 (per Cisco Talos).
- Restrict unauthenticated access to Base64-consuming endpoints, prioritizing internet-facing Java services.
- Enforce strict validation and size limits on Base64 input at application boundaries.