Cybersecurity Research

Java4Shell: Critical OpenJDK Flaw Lets Attackers Run Code on Servers Without a Login

Wiz Research · 18 Nov 2026 · updated 20 Nov 2026
Key Takeaway Find every Java application you run, especially internet-facing ones like Jira, Confluence and Jenkins, and update OpenJDK now or apply the vendor workaround.

Wiz Research has detailed a critical flaw in OpenJDK, tracked as CVE-2026-114938 and nicknamed "Java4Shell". It scores 9.2 on the CVSS v4.0 scale. Security firm Calif discovered and disclosed it, and details emerged on 17 November 2026. A remote attacker with no login can corrupt heap memory on an affected system, which can lead to remote code execution. According to Cisco Talos, the attack works by sending malformed Base64 input to an affected Java Virtual Machine.

The bug sits in optimised code that the Java Virtual Machine uses to decode Base64 data on supported x86-64 processors. That code miscalculates the output size when the input has an unexpected number of trailing padding characters. The result is a write past the end of a memory buffer, which can overwrite neighbouring object data. Wiz says it showed remote exploitation is feasible against common Java applications including Jenkins, Confluence and Apache Tomcat. Cisco Talos likewise says the flaw has already been successfully tested against a range of Java applications, but adds that it has not yet seen exploitation in the wild.

Wiz notes that exploitation is possible with AI assistance but is not trivial. Its own AI research tool built a proof-of-concept within two hours, even before full details were public. Generalising an exploit across arbitrary targets is hard, so attackers are likely to go after popular packaged applications where builds and memory layouts repeat. Determined attackers may also tailor exploits to home-grown applications. According to Cisco Talos, the attack surface is large, spanning on-premise and cloud environments, and it expects that surface to grow as more targets are tested and confirmed. Talos also anticipates probing attempts may begin soon after public disclosure.

The flaw affects OpenJDK 17.0.6 and later, plus downstream distributions such as Amazon Corretto, Eclipse Temurin, Microsoft Build of OpenJDK, Azul Zulu, BellSoft Liberica, SAP SapMachine, Red Hat OpenJDK and certain Oracle Java SE builds. It applies only on x86-64 hardware with AVX-512 VBMI support, including Intel Xeon (Ice Lake and newer) and AMD EPYC/Ryzen (Zen 4 or newer). ARM64 is unaffected. Wiz says a web application firewall may block some attempts but cannot reliably cover every code path, so upgrading OpenJDK is the best fix.

According to Cisco Talos, if patching is not immediately possible, the JVM can be started with AVX-512 support disabled using the option "=XX:UseAVX=2". This only suits x86-64 systems: ARM-based processors will not recognise the option and will likely fail to start. Talos also points to Snort rules and Splunk detections in its blog that help spot malformed Base64 data and suspicious post-exploitation activity.

Why it matters

Many businesses treat the Java runtime as invisible plumbing and patch only the applications on top, yet this flaw lives in the runtime itself, so a fully updated Jira or Jenkins can still be exposed. Public proof-of-concept success and Talos's expectation of early probing mean the window to patch is short. Teams must inventory both the JDK version and CPU capability, and cannot rely on web application firewalls alone.

What to do

  • Upgrade OpenJDK to a patched build on every affected x86-64 host, including downstream distributions.
  • Inventory JDK versions and check which servers have AVX-512 VBMI capable CPUs to prioritise patching.
  • Apply the JVM option to disable AVX-512 ("=XX:UseAVX=2") on x86-64 systems that cannot be patched immediately, and avoid it on ARM hosts.
  • Deploy the Snort rules and Splunk detections Talos references to spot malformed Base64 input and suspicious post-exploitation activity.
OpenJDK Java4Shell CVE-2026-114938 remote code execution patch management
Also reported by Cisco Talos

Summarised by CISO AI from Wiz Research, with the same story also reported by Cisco Talos, written with Claude Sonnet 5.5. We link back to every original so you can read it yourself.