thethreatdeskFiled from the front lines of cybersecurity
VulnerabilitiesCritical

Java4Shell: a Java Base64 bug puts Jira, Jenkins and Keycloak at risk of takeover

Oracle and OpenJDK fixed a memory corruption flaw in Java's fast Base64 decoder. CISA urged immediate patching, and scanners are already probing for it.

Oracle and the OpenJDK project have shipped fixes for CVE-2026-114938, a flaw researchers at Calif have named Java4Shell. CISA urged organizations to patch right away.

What's wrong

The bug is in an optimized Base64 decoder in the HotSpot JVM that only runs on x86-64 processors with the AVX-512 VBMI instruction set. That includes Intel Ice Lake and newer server chips and AMD Zen 4 and newer. A malformed Base64 string can make the decoder write dozens of bytes past the end of its buffer. Calif says it turned this into unauthenticated remote code execution against Keycloak, Jira, Confluence, JFrog Artifactory, Jenkins and PingFederate in their default setups. It is holding back its exploit code. Other labs have reproduced crashes and memory leaks but not code execution.

Affected builds include Java 17.0.6 and later, plus Java 21, 25 and 27. ARM64 systems and standard Java 8 and 11 are not affected.

Is it being exploited?

As of Nov 18, CISA and Canada's Cyber Centre said they knew of no attacks. By Nov 19, GreyNoise, watchTowr and Cloudflare were reporting scanning and exploit attempts. GreyNoise logged more than 150 matching requests but no confirmed intrusions.

Fixes

Apps that bundle their own Java runtime need an update from the vendor. Container images must be rebuilt.

Workarounds

If you can't patch yet, researchers say starting Java with -XX:-UseBASE64Intrinsics, or -XX:UseAVX=2 on x86 only, removes the vulnerable code path. Atlassian recommends disabling AVX-512 for its Data Center products until patches arrive.

Who's affected

Organizations running Java 17.0.6+ or Java 21/25/27 on modern Intel or AMD x86 servers, especially Keycloak, Jira, Confluence, Jenkins, Artifactory and PingFederate.

What to do

Update Java to the November builds, restart services and rebuild images. If that isn't possible, add -XX:-UseBASE64Intrinsics and watch logs for bursts of Base64 decoder errors.

Tracked flaws:CVE-2026-114938