Java4Shell - Heap overflow in OpenJDK's Base64 decoder (CVE-2026-114938)

A vulnerability nicknamed Java4Shell, referenced CVE-2026-114938, was fixed on 17 November 2026 by Oracle and the OpenJDK security team. It affects the AVX-512-optimized Base64 decoder (intrinsic) of the HotSpot JVM and can lead to unauthenticated remote code execution in Java applications that decode third-party data.

Many enterprise applications running on Java (Jira, Jenkins, Keycloak…) are potentially affected whenever they decode Base64 coming from an external request.

Technical details

The flaw is a heap buffer overflow. A malformed Base64 string with extra padding makes the decoder write beyond the allocated memory region. According to the researcher (Calif.io, credited by Oracle), this out-of-bounds write enables, in some cases, unauthenticated code execution.

Key points for assessing your exposure:

  • Severity: Oracle rates the flaw CVSS 3.1 8.1 (High), with high attack complexity, a network vector and no authentication. The researcher separately reports a CVSS 4.0 score of 9.2.
  • Hardware prerequisite: exploitation requires an x86-64 CPU with the AVX-512 (VBMI) instruction set. ARM64 architectures are not affected.
  • Exposure condition: attacker-controlled data must reach a Base64 decoding API (for example through a web service). Servers running only trusted, administrator-installed code are not exposed.

Affected systems

Java SE lineAffected versions (Oracle)
Java SE 27up to 27.0.1.0.3
Java SE 25up to 25.0.5.0.3
Java SE 21up to 21.0.13.0.3
Java SE 17up to 17.0.21.0.3
Java SE 8build 8u511b33-perf
GraalVMGraalVM for JDK and GraalVM Enterprise Edition

The flaw affects OpenJDK-derived runtimes. Check the exact version shipped by your vendor (Oracle, Amazon Corretto, Azul Zulu, Red Hat, Eclipse Temurin…), as patch timelines may differ between distributors.

Actions to take

1. Update the JVM (priority action)

Apply Oracle’s November 2026 Critical Security Patch Update, or update to a fixed OpenJDK build (OpenJDK security advisory of 17 November 2026), through your JDK vendor. Then restart the affected Java applications.

2. Check your version

java -version

Compare against the fixed version published by your JDK vendor.

3. Temporary workaround

If the update cannot be applied immediately, starting the JVM with the Base64 intrinsic disabled neutralizes the vulnerable path:

java -XX:-UseBASE64Intrinsics -jar application.jar

Restore the default setting once a patched JVM is installed.

Heavy Mind managed IT clients

Java environments under Heavy Mind managed IT contracts received immediate attention. The JDK versions in use have been audited, and patches are being deployed with scheduled application restarts. No action is required on your part.

Not a managed IT client?

We can assist you with this vulnerability - and beyond. Heavy Mind offers:

  • Java application audit: inventory of JDK runtimes, builds in use and exposed applications
  • Patch deployment: controlled rollout with regression testing and scheduled restarts
  • Monitoring setup: alerts as soon as a security fix is available in your distribution’s packages

Let's talk about your needs and build the right solution together.

Contact us

Sources: OpenJDK - Vulnerability Advisory 2026/11/17 · Oracle Critical Security Patch Update - November 2026