What to do3 steps
Update Java to the fixed release.
Get the release that fixes the 17 November 2026 OpenJDK advisory from your distribution's vendor. Then restart every JVM and rebuild container images.
Update products that ship their own JVM.
Jenkins, Elasticsearch, Jira and others each need that product's update.
If you cannot update yet, set a JVM flag.
Start the JVM with
-XX:-UseBASE64Intrinsicsto turn off the hardware Base64 code, or-XX:UseAVX=2to turn off AVX-512. Use-XX:UseAVX=2only on x86-64 hosts: OpenJDK on ARM does not recognise it and fails to start (Calif).
Are you affected?only if all are true
- HotSpot-based Java 17.0.6 or later, or any release from 18 up. OpenJDK 8, 11 and 17.0.0 to 17.0.5 are not affected (Semgrep, OpenJDK advisory), but Oracle lists Java SE 8u511b33-perf as affected.
- An x86-64 CPU with AVX-512 VBMI support (Intel Xeon Ice Lake, Sapphire, Emerald or Granite Rapids; AMD Zen 4 or newer). ARM64 is not affected.
- UseAVX=3, UseBASE64Intrinsics on and the C2 JIT compiler enabled (Semgrep).
- The application passes untrusted input to java.util.Base64: authentication, file uploads, network messages.
Check your version
- Java version
java -version - Prompt for your own agent, read-onlyAm I affected by Java4Shell?
Read the prompt
Check whether the systems I am authorized to inspect are affected by Java4Shell (CVE-2026-114938). A heap overflow in OpenJDK's AVX-512 Base64 decoder: 64 "A" characters and one "=" write 62 bytes past the output array, which Calif turned into heap leaks and remote code execution. It is exploitable under these conditions: - HotSpot-based Java 17.0.6 or later, or any release from 18 up. OpenJDK 8, 11 and 17.0.0 to 17.0.5 are not affected (Semgrep, OpenJDK advisory), but Oracle lists Java SE 8u511b33-perf as affected. - An x86-64 CPU with AVX-512 VBMI support (Intel Xeon Ice Lake, Sapphire, Emerald or Granite Rapids; AMD Zen 4 or newer). ARM64 is not affected. - UseAVX=3, UseBASE64Intrinsics on and the C2 JIT compiler enabled (Semgrep). - The application passes untrusted input to java.util.Base64: authentication, file uploads, network messages. Commands the catalog lists to find the version or the setting (read each one before you run it): - Java version: java -version What the catalog says to do on an affected system (report these, do not carry them out): 1. Update Java to the fixed release. 2. Update products that ship their own JVM. 3. If you cannot update yet, set a JVM flag. For each host, container image or application, report affected, not affected, fixed or unknown, with the evidence, and list anything you could not access. Work read-only: do not change configuration, restart services or send exploit input. More: https://openjdk.2shell.wtf/java4shell
Proof of concept1 public PoC
For testing systems you own or are authorized to test. A PoC repository can be fake or carry malware: read it before you run it.
- Open the PoC
Calif's bounded trigger PoC (Base64Trigger)
Timeline3 events
Patched
OpenJDK advisory and Oracle patch released at 13:00 PT (time as given by Calif)
Disclosed
Calif write-up
Public PoC
Calif's bounded trigger PoC (Base64Trigger)
Look for past exploitation
Semgrep names two indicators to review, not proof: unexplained JVM crashes (hs_err_pid files) and bursts of IllegalArgumentException from java.util.Base64$Decoder. A WAF rule, no alerts or no crashes do not prove that a runtime is patched or that no attempt occurred.
Sources4 links
Sources checked on . This page tells you how to check and what to install. It cannot tell you that you are safe.
1 change since it was published
- Remediation steps got short titles; no fact changed.