Java4Shell (CVE-2026-114938) – Memory corruption in OpenJDK’s Base64 decoder

HotSpot on x86-64 with AVX-512 VBMI · Oracle CVSS v3.1: 8.1 (High)
November 18, 2026 · CVE-2026-114938 · OpenJDK · Java · Base64 · AVX-512 · AI-assisted
November 17, 2026 security updates · Oracle Java SE updates 17.0.21.1, 21.0.13.1, 25.0.5.1, and 27.0.1.1 are available. Oracle still lists the corresponding .0.3 builds as affected. For other distributions, check the vendor’s patch status.
Blue data tiles feed into a dark cube labeled JAVA in white. A magnifying glass shows two orange tiles beyond a dashed boundary.
AI-generated illustration of Java4Shell. The tiles outside the boundary represent a write past the end of a buffer.

On November 17, 2026, the research team at Calif disclosed Java4Shell. Under certain conditions, the flaw allows a write beyond the intended buffer in the JVM heap. It affects a hardware-accelerated decoder in the Java standard library’s java.util.Base64 class (CWE-122).

What happened?

HotSpot uses an optimized Base64 decoding path on supported hardware. On affected builds, that path can write past the end of its output buffer. Services that decode Base64 data from untrusted sources are particularly exposed.

Oracle rates the vulnerability 8.1 out of 10 (CVSS v3.1, High). Calif reports 9.2 out of 10 (CVSS v4.0, Critical). JFrog described the v4.0 score as preliminary in its initial assessment. Red Hat rates the issue Critical in its own bulletin.

Who is affected?

Exposure requires an affected Java runtime, an x86-64 CPU with AVX-512 VBMI enabled, and use of the vulnerable Base64 code path. For a network attack, untrusted input also has to reach the decoder. ARM64 and x86-64 without VBMI do not use the affected path.

The table pairs the affected builds explicitly listed by Oracle with the November security updates. Red Hat traces the vulnerable OpenJDK code path back to 17.0.6. Consult the vendor’s advisory for backports and distribution-specific build numbers.

Oracle productBuild listed as affectedNovember security update
Oracle Java SE 1717.0.21.0.317.0.21.1+4
Oracle Java SE 2121.0.13.0.321.0.13.1+4
Oracle Java SE 2525.0.5.0.325.0.5.1+4
Oracle Java SE 2727.0.1.0.327.0.1.1+4
Oracle Java SE 8 Enterprise Performance Pack8u511b33-perf8u513-perf (1.8.0_513-perf-b4)
Oracle GraalVM for JDK17.0.21.0.3 / 21.0.13.0.317.0.21.1 / 21.0.13.1
Oracle GraalVM Enterprise Edition21.3.20.0.321.3.20.1

Red Hat reports that standard OpenJDK 8 and 11 are unaffected. Oracle lists the Java 8 Enterprise Performance Pack separately. Record the vendor and full build number for bundled runtimes.

# Linux on x86-64: check whether the system exposes the avx512_vbmi CPU flag
grep -m1 -ow avx512_vbmi /proc/cpuinfo

# Show the Java runtime version on PATH
java -version

How realistic is RCE?

A JVM crash causing denial of service (DoS) is the most likely immediate impact. Calif reports achieving remote code execution (RCE) in lab tests against individual applications, sometimes before authentication. Achieving code execution depends on the application and its environment. No universal exploit is known.

As of November 18, 2026, the sources reviewed contain no confirmed reports of exploitation in the wild. CISA’s November 17 contribution to the CVE record lists Exploitation: none. The CVE does not appear in KEV catalog version 2026.11.17.

“Java2Shell” has also been used for CVE-2026-114938. Log4Shell (CVE-2021-44228) affects JNDI lookups in Apache Log4j. Java4Shell affects the JVM’s hardware-accelerated Base64 decoder.

Security updates and temporary mitigations

Install a release that the vendor identifies as fixed for this CVE. Prioritize internet-facing Java services on affected hardware. For Red Hat OpenJDK, consult RHSB-2026-018 for product-specific errata.

Until you can update, Red Hat recommends -XX:-UseBASE64Intrinsics. This flag disables hardware acceleration for Base64. Alternatively, -XX:UseAVX=2 disables AVX-512 for the entire process. This second option is specific to x86-64 and can prevent JVM startup on ARM64.
# Preferred workaround for the affected JVM
-XX:-UseBASE64Intrinsics

# Alternative on x86-64 only
-XX:UseAVX=2

# Example: inspect active JVM flags if jcmd is available
jcmd <PID> VM.flags -all | grep -E 'UseBASE64Intrinsics|UseAVX'

Set the workaround in the affected service’s startup configuration and restart it. Check the effective flags in the running process. If an update is still unavailable, temporarily restricting network access can reduce exposure.

Check the patch status in your environment

A dark cube with white JAVA lettering and a blue restart arrow, surrounded by a magnifying glass, a wrench, and a clipboard with checkmarks.
AI-generated illustration showing the update workflow. Inventory Java runtimes, roll out updates, restart services, and verify the patch.

Sources