Java4Shell Memory Corruption Flaw Disclosed in OpenJDK

On November 17, 2026, the security research company Calif disclosed Java4Shell, tracked as CVE-2026-114938, a critical memory-corruption vulnerability in the Base64 decoder of OpenJDK. This vulnerability affects systems running OpenJDK 17.0.6 or newer on x86-64 processors equipped with AVX-512 VBMI support, such as Intel Xeon Ice Lake, Sapphire Rapids, Emerald Rapids, and Granite Rapids, or AMD EPYC and Ryzen Zen 4 or newer. ARM64 processors remain unaffected. The flaw arises from an invalid output length calculation in handwritten assembly when processing malformed Base64 input tail characters, leading to an out-of-bounds write of 62 bytes past the output array. This memory corruption can be leveraged to leak heap memory and achieve remote code execution across popular applications including Keycloak, Atlassian Jira, Atlassian Confluence, JFrog Artifactory, Jenkins, PingFederate, Apache Kafka, Apache Solr, Elasticsearch, Gerrit, and Spinnaker.

Who should care

You should care if you operate services running OpenJDK 17.0.6 or newer on x86-64 hardware with AVX-512 support, especially when applications process untrusted Base64 data. Many applications and container images bundle their own Java runtimes independently of the host operating system package manager, requiring separate updates and service restarts for every running Java virtual machine.

What to do

  1. Identify all hosts, containers, and bundled application packages that run OpenJDK 17.0.6 or newer on affected x86-64 processors.
  2. Apply the official update from your Java vendor, following OpenJDK advisories and Oracle's November 2026 Critical Patch Update released on November 17, 2026.
  3. If immediate patching is not possible, apply the temporary startup flags -XX:-UseBASE64Intrinsics or -XX:UseAVX=2 (on x86-64 hosts only) to disable the vulnerable code path, keeping in mind that these flags require a service restart and may impact performance.
  4. Review and update network edge protections, such as enabling block actions for the relevant rules in the Cloudflare Managed Ruleset (Ruleset ID efb7b8c949ac4650a09736fc376e9aee), after confirming they do not disrupt legitimate traffic.