It needs both: OpenJDK 17.0.6 or newer (before the 17 Nov 2026 fix) and an x86-64 chip with AVX-512 VBMI.
Your chipcan this server be hit at all?
On Linux:
grep -m1 '^flags' /proc/cpuinfo | tr ' ' '\n' | grep -E '^(avx512f|avx512bw|avx512vbmi|bmi2)$'All four flags printed = an affected chip. Calif's list: Intel Xeon Ice Lake, Sapphire Rapids, Emerald Rapids, Granite Rapids; AMD EPYC and Ryzen Zen 4 or newer. Older AVX-512 Xeons without VBMI (like Cascade Lake) and every ARM64 chip (Apple M-series and other ARM servers) are not affected.
java -versiondoes your Java need the fix?
java -version 2>&1 | head -1- Affected: OpenJDK 17.0.6 and newer, on 17, 21, 25 and 27 (every distribution built from OpenJDK: Temurin, Corretto, Microsoft, Zulu, Liberica, SapMachine, Red Hat, Oracle OpenJDK, Oracle Java SE, GraalVM for JDK).
- Not affected: Java 8 and Java 11.
- Fixed Eclipse Temurin builds (18 Nov 2026): 17.0.21.1+2, 21.0.13.1+2, 25.0.5.1+2, 27.0.1.1+4. For other distributions, install your vendor's November 2026 security update. Containers: rebuild on the updated base image.
Calif's safe testproof in one command
Calif published a self-contained test (Base64Trigger.java, on calif.io/java4shell). Every write stays inside its own 4,096-byte array, so it's safe to run. Save it and run it with the Java your service uses:
java Base64Trigger.javaREPRODUCED: this chip + this Java can be hit. Patch today.NOT REPRODUCED: this combination isn't affected (on an ARM chip it always says this).
Can't update today? The Base64 flag
Add this to your Java start-up command or script (Adoptium's interim fix):
java -XX:-UseBASE64Intrinsics -jar your-app.jar
# or for a whole service: JAVA_TOOL_OPTIONS="-XX:-UseBASE64Intrinsics"It switches off the CPU-accelerated Base64 code where the bug lives. Base64 itself keeps working, a little slower. Then update anyway.
The catch: the other stopgap you'll see, -XX:UseAVX=2, is x86-only. On an ARM server Java won't start:
Unrecognized VM option 'UseAVX=2'
Error: Could not create the Java Virtual Machine.-XX:-UseBASE64Intrinsics starts fine on Intel, AMD and ARM.
Sources
- Calif, "Java4Shell: Write once, RCE everywhere" (17 Nov 2026): calif.io/java4shell
- OpenJDK Vulnerability Advisory 2026/11/17: openjdk.org/groups/vulnerability/advisories/2026-11-17
- Eclipse Adoptium, "Eclipse Temurin guidance for CVE-2026-114938 'java4shell'" (18 Nov 2026)
- The video's terminal runs: an Apple M1 Mac (Temurin 21.0.4 and OpenJDK 17.0.15): the safe test says NOT REPRODUCED,
-XX:-UseBASE64Intrinsicsstarts,-XX:UseAVX=2stops Java from starting.