CVE-2026-114938, nicknamed “Java4Shell”, is a memory-corruption bug in the HotSpot JIT’s hardware-accelerated Base64 decoder. Oracle and the OpenJDK project shipped fixed builds on November 17. That same day CISA put out a standalone alert telling organizations to patch immediately, which it rarely does for a bug with no confirmed exploitation. The bug lives in the runtime, not in a library, so every Java service that decodes attacker-controlled Base64 on an affected JVM and CPU is exposed: SSO tokens, basic-auth headers, JWTs, SAML assertions, webhook payloads. You can’t fix it by bumping a Maven dependency.

The bug

On x86-64 CPUs with AVX-512 VBMI (most analyses also list AVX-512BW), HotSpot replaces java.util.Base64.Decoder with a vectorized intrinsic once the JIT compiles the decode path. The intrinsic handles the final partial block, where the padding is, with a masked store. If the tail is malformed, the arithmetic that computes that store mask underflows, and the store writes about 62–63 bytes past the end of the output buffer on the Java heap. The decoder does notice the bad padding and throws IllegalArgumentException, but only after the heap has already been corrupted.

Two conditions narrow the exposure:

  • CPU: Only x86-64 parts with AVX-512 VBMI are affected. That means Intel Ice Lake and later Xeons, plus AMD Zen 4 and Zen 5, which covers a lot of current cloud instance families. ARM64 hosts, including Graviton and Ampere, are not affected. Neither are older x86 hosts without VBMI.
  • JIT warm-up: The vulnerable path only runs after C2 has compiled the decoder. On any busy server that happens within seconds of startup.

Affected builds start at OpenJDK 17.0.6 and include current 21, 25 and 27 trains before the November fixes.

How bad is it

The severity scores disagree. Oracle rates it CVSS 3.1 8.1. Calif, the firm that disclosed it, rates it CVSS 4.0 9.2. Calif says it achieved pre-auth RCE against default configurations of Keycloak, Atlassian Jira, Atlassian Confluence, JFrog Artifactory, Jenkins and PingFederate, and released a bounded local PoC. It has not published the full RCE chains. Some independent analysts, including VulnCheck and several root-cause write-ups, argue that the overflow bytes are largely constant, which makes a reliable remote JVM crash the realistic floor and makes RCE application-specific and harder to pull off. Either way, a single unauthenticated request that kills your IdP, your CI controller or your artifact repository is an outage-grade problem.

As of November 18, Cisco Talos and others report no confirmed in-the-wild exploitation, and the CVE is not in CISA KEV. Lab repositories and “toolkit” PoCs are already appearing on GitHub, so expect scanning to follow.

Downstream vendors are still working through it. Cisco has opened a multi-product advisory (cisco-sa-nov2026-java-rce), and Keycloak has published admin guidance and rebuilt container images.

Mitigation

  1. Patch the JVM. Fixed builds are 17.0.21.1, 21.0.13.1, 25.0.5.1 and 27.0.1.1. Watch the trailing .1: plain 17.0.21 is still vulnerable. Fixed vendor builds:
    • Amazon Corretto: 17.0.21.1.2, 21.0.13.1.2, 25.0.5.1.2, 27.0.1.1.4
    • RHEL: java-17-openjdk 17.0.21.1.2, java-21-openjdk 21.0.13.1.2, java-25-openjdk 25.0.5.1.2
    • Keycloak: 26.8 images (26.8.2-3, latest) now ship Red Hat OpenJDK 21.0.13.1
    • Debian: fixes are only in unstable so far. Sources disagree on whether Temurin 17 is fixed, so check Adoptium’s release notes.
  2. Rebuild your images. A bundled JRE is the main way this bug lingers. Base images, distroless Java images, jlink’d runtimes inside vendor appliances and fat-JAR containers all need a rebuild or a vendor update. Updating the host JDK doesn’t fix them.
  3. Use the workaround where you can’t patch yet. Start the JVM with -XX:-UseBASE64Intrinsics, which falls back to the scalar decoder at some throughput cost. On x86-64 you can use -XX:UseAVX=2 instead, but that turns off every AVX-512 optimization. Pass either flag via JAVA_TOOL_OPTIONS or JDK_JAVA_OPTIONS for apps you can’t easily edit.
  4. Prioritize by exposure. Patch internet-facing identity providers (Keycloak, PingFederate), CI/CD controllers (Jenkins), artifact repositories (Artifactory, Nexus) and Atlassian Data Center first, because they parse Base64 from unauthenticated requests by design.
  5. Hunt. Check which fleet hosts expose the avx512vbmi CPU flag (grep -o avx512vbmi /proc/cpuinfo | head -1), and inventory java -version across hosts and containers. Watch for unexplained JVM crashes (hs_err_pid*.log files, SIGSEGV in compiled Base64 frames) and bursts of IllegalArgumentException: Input byte array has incorrect ending byte in application logs. Either one can indicate probing.

References