You
Back/News
1 min left
NewsTech

Java4Shell: a critical OpenJDK flaw can let attackers take over Jira, Jenkins and Keycloak servers

It affects OpenJDK 17.0.6 and newer on Intel and AMD processors with AVX-512 VBMI. Oracle and OpenJDK put out a patch and an advisory on November 17.

Oracle's headquarters in Redwood Shores, California

Håkan Dahlström, CC BY 2.0, Wikimedia Commons

A flaw in the code Java uses to decode Base64 can let an attacker run their own code on a server without signing in, the security firm Calif disclosed on November 17. It named the bug Java4Shell (CVE-2026-114938) and scores it 9.2 out of 10 under CVSS 4.0. Oracle released a patch and OpenJDK published an advisory the same day.

Graphic: Java4Shell scores 9.2 under CVSS 4.0 and affects OpenJDK 17.0.6 and newer on Intel Xeon from Ice Lake on and AMD from Zen 4 on.

Calif showed the attack working without a password on Keycloak, Atlassian Jira, Atlassian Confluence, JFrog Artifactory, Jenkins and PingFederate in their default settings, and after signing in on Apache Kafka, Apache Solr, Elasticsearch, Gerrit and Spinnaker. It says neither list is complete.

Which machines are exposed

The bug sits in x86-64 code that speeds up Base64 decoding with AVX-512 VBMI instructions. It affects OpenJDK 17.0.6 and newer on processors that have them: Intel Xeon from Ice Lake on (Sapphire Rapids, Emerald Rapids and Granite Rapids too) and AMD EPYC and Ryzen from Zen 4 on. Servers on ARM64 processors are not affected.

When the decoder handles a 50-byte array, a miscalculated mask turns its last step into a full 64-byte write, and 62 bytes land past the end of the array.

Found with an AI model

Calif's Quang Luong found the flaw in an hour using OpenAI's Codex and took two more hours to write the first working exploit. The tokens cost less than $200.

What to do

Install the updated Java builds from Oracle or your OpenJDK vendor. Until then, Calif suggests starting Java with -XX:-UseBASE64Intrinsics, which turns off the fast Base64 path, or -XX:UseAVX=2, which turns off AVX-512. The second flag is for x86-64 only: on ARM, Java won't start with it.

Sources

  1. Calif: Java4Shell: Write once, RCE everywherecalif.io
  2. Aikido: Java4Shell RCE: Affected Versions & Fix (CVE-2026-114938)aikido.dev
  3. SecurityWeek: Java4Shell vulnerability puts many enterprise applications at risk of takeoversecurityweek.com
Try asking
↑↓ move Enter open