Full Byte Developer.

Patch OpenJDK for Java4Shell (CVE-2026-114938)

Match your OpenJDK build to CERT-EU floors, use the interim Base64 flag if needed, then patch and restart JVMs.

Published here · 3 sources

OpenJDK Vulnerability Advisory 2026/11/17 lists CVE-2026-114938 in hotspot/compiler. NVD records Oracle CVSS 3.1 8.1 High. CERT-EU 2026-021 gives version floors, interim flags and a restart rule. This page covers that one CVE only. [1][2][3]

Related reading: Check PHP deployments for the October security fixes, Node.js and Ruby October security updates, and When a Shirudo live shield buys time before the patch. Browse the Security topic.

Confirm the CVE and the score

OpenJDK lists CVE-2026-114938 under hotspot/compiler in the 2026-11-17 advisory risk matrix. [1]

NVD published CVE-2026-114938 on 2026-11-17 and records Oracle CVSS 3.1 8.1 High with vector AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H. [2]

CERT-EU 2026-021 (2026-11-18) describes it as a high severity OpenJDK issue that can lead, under certain circumstances, to unauthenticated remote code execution. Exploitation conditions in that advisory include an x86-64 CPU with avx512f, avx512bw, avx512vbmi and bmi2, an active Base64 intrinsic, and attacker-controlled Base64 data reaching the decoder. [3]

Match your build to the CERT-EU floors

CERT-EU lists fixed releases that include: [3]

  • OpenJDK / Java SE 17: 17.0.21.1
  • OpenJDK / Java SE 21: 21.0.13.1
  • OpenJDK / Java SE 25: 25.0.5.1
  • OpenJDK / Java SE 27: 27.0.1.1

Check the runtime your service actually loads (container image, service unit, distribution package), not only the java on a laptop PATH.

bash
java -version

You should see the vendor and build string for that executable. Compare it with your vendor's advisory if you run Temurin, Corretto, Zulu or another OpenJDK build: those vendors ship fixes on their own schedules. [3]

Apply an interim flag only when you cannot patch yet

Where an immediate update is not possible, CERT-EU documents disabling the Base64 intrinsic: [3]

bash
java -XX:+UnlockDiagnosticVMOptions -XX:-UseBASE64Intrinsics -version

As an alternative, CERT-EU documents -XX:UseAVX=2. That option can reduce performance. Both options need a JVM restart. To verify the intrinsic setting after restart: [3]

bash
java -XX:+PrintFlagsFinal -version | grep UseBASE64Intrinsics

Per CERT-EU, ARM64 systems are not affected. Prefer the patched build when you can ship it; keep interim flags as a bridge, not the final state. [3]

Patch, then restart every JVM

CERT-EU recommends updating vulnerable OpenJDK builds and restarting all JVMs after the update, with internet-facing applications first. [3]

An application reload that leaves the old JVM process running does not load the new runtime. Restart the processes (or roll new containers) and record the build string you see after restart.

Send this to the teammate who patched the package and assumed a rolling reload was enough.

Keep this guide

By Full Byte Developer

Filed under Security, Dev tools

Questions about this guide

Which CVE is Java4Shell?

CVE-2026-114938 in OpenJDK hotspot/compiler. The OpenJDK Vulnerability Advisory 2026/11/17 lists it; NVD records Oracle CVSS 3.1 8.1 High. This page covers that one CVE only.

Is reloading the app enough after the patch?

No. CERT-EU 2026-021 recommends updating OpenJDK and restarting all JVMs after the update. An app reload that leaves the old JVM process running keeps the old runtime.

Are ARM64 hosts affected?

Per CERT-EU 2026-021, ARM64 systems are not affected. The advisory's exploitation conditions require an x86-64 CPU with specific AVX-512 features.

What if I cannot patch today?

CERT-EU documents interim JVM flags: -XX:+UnlockDiagnosticVMOptions -XX:-UseBASE64Intrinsics, or -XX:UseAVX=2. Both need a JVM restart. Prefer the vendor patch when you can ship it.

Sources

Next in this stack