Back to Blog
Security23 November 20264 min read · 968 words

OpenJDK CVE-2026-114938 (java4shell): Affected and Fixed Versions

N7

No7 Engineering Team

Growth Architecture Unit

Security: OpenJDK CVE-2026-114938 (java4shell): Affected and Fixed Versions (illustration)

CVE-2026-114938 is a vulnerability in OpenJDK that the OpenJDK Vulnerability Group fixed in an advisory dated 17 November 2026, outside its usual quarterly schedule. Red Hat calls it "java4shell" in its security bulletin RHSB-2026-018. OpenJDK lists JDK 17, 21, 25 and 27 as affected. Its risk matrix does not mark JDK 8 or JDK 11, and Red Hat says OpenJDK 8 and 11 do not contain the vulnerable code path.

This post sets out what OpenJDK, Oracle, NVD, Red Hat, Ubuntu, Debian and CISA have published, and attributes each fact to its source. The build that applies to you depends on your Java vendor.

What is CVE-2026-114938?

The OpenJDK advisory lists the flaw in the hotspot/compiler component with a CVSS 3.1 score of 8.1. Oracle gives the same score in its Critical Security Patch Update Advisory for November 2026, under the Compiler component of Oracle Java SE, Oracle GraalVM for JDK and Oracle GraalVM Enterprise Edition.

Red Hat describes it as a memory corruption flaw in the Java Base64 decoder, java.util.Base64.Decoder. According to Red Hat, on x86-64 CPUs that support the AVX-512 VBMI instruction set, the JVM picks an accelerated code path for Base64 decoding. Red Hat says malformed Base64 input sent through that path corrupts memory, and that an attacker who controls the input can use this to run code in the Java process. Red Hat rates the issue Critical, with its own CVSS 3 score of 9.8.

SourceRating
OpenJDKCVSS 3.1 8.1
OracleCVSS 3.1 8.1
Red HatCritical, CVSS 3 9.8

Which Java versions are affected?

For the release as a whole, the OpenJDK advisory lists the affected versions as 27.0.1.0.3, 25.0.5.0.3, 21.0.13.0.3, 17.0.21.0.3, 11.0.33, 8u512 and earlier. Its risk matrix marks CVE-2026-114938 against JDK 17, 21, 25 and 27 only. Red Hat says the vulnerable code path was introduced in OpenJDK 17.0.6.

Java lineAffected (OpenJDK risk matrix and Red Hat)Fixed build in Red Hat, Ubuntu or Debian packages
JDK 8Not markedNot applicable
JDK 11Not markedNot applicable
JDK 1717.0.6 to 17.0.21.0.317.0.21.1
JDK 2121.0.13.0.3 and earlier21.0.13.1
JDK 2525.0.5.0.3 and earlier25.0.5.1
JDK 2727.0.1.0.3 and earlier27.0.1.1 (Ubuntu 26.10 and Debian unstable)

Oracle lists these affected versions of its own products: Oracle Java SE 8u511b33-perf, 17.0.21.0.3, 21.0.13.0.3, 25.0.5.0.3 and 27.0.1.0.3; Oracle GraalVM for JDK 17.0.21.0.3 and 21.0.13.0.3; and Oracle GraalVM Enterprise Edition 21.3.20.0.3. NVD lists the Oracle Java SE 8 entry as an Enterprise Performance Pack build. Oracle's advisory covers the patches for these Oracle products.

Which machines are affected?

Red Hat says all of these conditions must be present for the flaw to be exploitable:

  • The application runs on OpenJDK 17.0.6 or later, including OpenJDK 21 and 25.
  • The host CPU is x86-64 and supports AVX-512 VBMI. Red Hat names Intel Ice Lake, Sapphire Rapids, Emerald Rapids and Granite Rapids, and AMD Zen 4, Zen 5 and Zen 6.
  • The JVM has not been started with -XX:UseAVX=2 or a lower AVX level.
  • The application passes attacker-controlled Base64 data to java.util.Base64.Decoder. Red Hat lists HTTP Basic credentials, SAML artifacts, CSRF tokens and MIME encoded words as common examples.

Red Hat says systems on ARM64, or on x86-64 CPUs without AVX-512 VBMI, are not known to be affected.

How to check your Java version and CPU

Red Hat says to check the installed Java version, for example with:


java -version

On Linux, Red Hat's bulletin gives this command to check whether the CPU reports all four features it names (avx512f, avx512bw, avx512vbmi and bmi2). It prints VULNERABLE or Unaffected:


grep '^flags[[:blank:]]' /proc/cpuinfo | awk -vRS='[[:space:]]+' -vORS=' ' '/^(avx512f|avx512bw|avx512vbmi|bmi2)$/ && !flags[$0]++; END{printf ": %s hardware!\n", length(flags)==4?"VULNERABLE":"Unaffected"}'

Distribution packages carry their own version strings, listed below.

Fixed packages from Linux distributions

DistributionFixed packagesAdvisories
Red Hat Enterprise Linux 8java-17-openjdk 17.0.21.1, java-21-openjdk 21.0.13.1RHSA-2026:100563, RHSA-2026:100567 (19 November 2026)
Red Hat Enterprise Linux 9java-17-openjdk 17.0.21.1, java-21-openjdk 21.0.13.1, java-25-openjdk 25.0.5.1RHSA-2026:100564, RHSA-2026:100567, RHSA-2026:100571 (19 November 2026)
Red Hat Enterprise Linux 10java-21-openjdk 21.0.13.1, java-25-openjdk 25.0.5.1RHSA-2026:100568, RHSA-2026:100572 (19 November 2026)
Ubuntuopenjdk-17 17.0.21.1+2, openjdk-21 21.0.13.1+2, openjdk-25 25.0.5.1+2, openjdk-27 27.0.1.1+4 (Ubuntu 26.10 only)USN-9155-1 to USN-9158-1 (18 November 2026)
Ubuntu 26.04 and 26.10openjdk-17-crac 17.0.21.1+2, openjdk-21-crac 21.0.13.1+2, openjdk-25-crac 25.0.5.1+2USN-9178-1 to USN-9180-1 (20 November 2026)
Debian 12 (bookworm)openjdk-17 17.0.21.1+2-1~deb12u1DLA-4917-1
Debian 13 (trixie)openjdk-21 21.0.13.1+2-1~deb13u1, openjdk-25 25.0.5.1+2-1~deb13u1DSA-6639-1, DSA-6640-1

Red Hat also lists fixed portable and Windows builds of the Red Hat build of OpenJDK 17.0.21.1 and 21.0.13.1, and a portable build of 25.0.5.1, dated 18 November 2026. The package lists come from each vendor's own tracker, read on 23 November 2026.

Interim mitigation from Red Hat

Red Hat gives two JVM flags as an interim mitigation before an OpenJDK update, and says to remove the flag once the fix is installed:


-XX:-UseBASE64Intrinsics

Red Hat calls this the preferred option: it turns off only the accelerated Base64 code. The second option turns off AVX-512 instructions completely:


-XX:UseAVX=2

Red Hat warns that JVMs on ARM64 do not recognise -XX:UseAVX=2 and will fail to start if it is set there.

Is CVE-2026-114938 being exploited?

Red Hat says pre-authentication remote code execution has been demonstrated against widely deployed Java applications in their default configurations. The CVE was not in the CISA Known Exploited Vulnerabilities catalogue when we checked it on 23 November 2026 (catalogue version 2026.11.20). NVD's record links a CISA alert dated 17 November 2026 on this vulnerability.

Sources

This post uses the OpenJDK Vulnerability Advisory of 17 November 2026, the Oracle Critical Security Patch Update Advisory for November 2026, the NVD record, Red Hat's RHSB-2026-018 bulletin and CVE page, the Ubuntu CVE tracker, the Debian security tracker and the CISA KEV catalogue, all read on 23 November 2026. We will add a dated update when these sources change.

Frequently Asked Questions

The questions buyers and engineers ask us most about this topic.

What is CVE-2026-114938?

CVE-2026-114938 is an OpenJDK vulnerability in the hotspot/compiler component, fixed in the OpenJDK Vulnerability Advisory of 17 November 2026. Red Hat calls it java4shell and describes it as memory corruption in the Java Base64 decoder on x86-64 CPUs with AVX-512 VBMI. OpenJDK and Oracle score it CVSS 8.1; Red Hat rates it Critical.

Which Java versions are affected by CVE-2026-114938?

The OpenJDK risk matrix marks JDK 17, 21, 25 and 27 for this CVE, and the advisory lists 17.0.21.0.3, 21.0.13.0.3, 25.0.5.0.3 and 27.0.1.0.3 and earlier as affected versions of those lines. Red Hat says the vulnerable code path was introduced in OpenJDK 17.0.6. Red Hat, Ubuntu and Debian ship fixed builds based on 17.0.21.1, 21.0.13.1 and 25.0.5.1; Ubuntu 26.10 and Debian unstable also ship 27.0.1.1.

Is Java 8 or Java 11 affected by CVE-2026-114938?

Not for OpenJDK 8 or 11. The OpenJDK risk matrix does not mark JDK 8 or JDK 11 for this CVE, and Red Hat says OpenJDK 8 and 11 do not contain the vulnerable code path. Oracle separately lists Oracle Java SE 8u511b33-perf as affected, which NVD records as an Enterprise Performance Pack build.

Are ARM64 servers affected by CVE-2026-114938?

Red Hat says systems on ARM64, and x86-64 systems whose CPUs do not support AVX-512 VBMI, are not known to be affected. Red Hat gives a command for Linux that checks the CPU for the avx512f, avx512bw, avx512vbmi and bmi2 features.

Is there a workaround for CVE-2026-114938?

Red Hat gives the JVM flag -XX:-UseBASE64Intrinsics as the preferred interim mitigation, with -XX:UseAVX=2 as an alternative on x86-64 only. Red Hat says to treat these as interim measures and to install the OpenJDK fix.

Is CVE-2026-114938 exploited in the wild?

It was not in the CISA Known Exploited Vulnerabilities catalogue when we checked it on 23 November 2026 (catalogue version 2026.11.20). Red Hat says pre-authentication remote code execution has been demonstrated against widely deployed Java applications in default configurations.