Java2Shell (CVE-2026-114938): heap overflow in the JVM's Base64 decoder enables pre-auth remote code execution in Keycloak, Jira, Jenkins and more
A crafted Base64 string overflows the heap inside HotSpot's AVX-512 Base64 decoder. Researchers chained it to unauthenticated code execution against default installs of widely deployed enterprise software. Exploitation is not confirmed, but details are public and scanning has started. Install the Nov 17 Java update, restart every JVM, and set -XX:-UseBASE64Intrinsics wherever you cannot patch today.
Bottom line
Hayrok Security Research is tracking a memory-corruption flaw in the Java Virtual Machine itself, not in a library you can swap out. OpenJDK and Java SE 17.0.6 and later, plus the 21, 25 and 27 lines, are affected on x86-64 CPUs with AVX-512 VBMI when an application decodes attacker-influenced Base64. Organizations running internet-facing identity, CI and collaboration platforms on Java should treat this as an immediate priority.
Vulnerability summary
Exploitation status and timeline
No confirmed exploitation in the wild as of Nov 18, and Hayrok has not independently observed any. The quiet is unlikely to last: details leaked before the patch, the root cause and technique are public, and scanning-shaped requests have been recorded. Product-specific exploit chains are still withheld, and that window is closing.
Affected and fixed versions
You are in scope only if three conditions hold at once: an affected Java runtime, an x86-64 CPU with AVX-512 VBMI underneath it, and an application path that decodes Base64 an attacker can influence. ARM64 servers are not affected. Many products ship their own JRE inside an installer, appliance or container image, and those vendors patch on their own schedule.
Demonstrations reported by Calif. Product-specific chains have not been released.
What to do, in priority order
java -version jcmd <pid> VM.version jcmd <pid> VM.flags grep -o avx512vbmi /proc/cpuinfo | head -1
-XX:-UseBASE64Intrinsics # broader stopgap: disables AVX-512 entirely -XX:UseAVX=2Observables and hunting queries
No indicators of compromise or network signatures have been published. A failed exploit attempt corrupts memory, so hunt on side effects on AVX-512 hosts. Neither signal is definitive, but a cluster of crashes on an exposed service since Nov 17 deserves investigation.
find / -xdev -name 'hs_err_pid*.log' -newermt 2026-11-17 2>/dev/null \ -exec ls -l {} \;for p in $(pgrep -x java); do ps --ppid "$p" -o pid=,user=,comm=,args= \ | grep -E ' (sh|bash|dash|curl|wget|nc|ncat) ' done
If you find signs of compromise, take a forensic copy before cleanup, then rotate every secret the Java service could read: signing keys, database credentials, API tokens and service-account secrets.
Technique mapping
Post-exploitation techniques are assessed from the access a compromised Java service typically holds. No attacker tradecraft has been published.
Root cause and attack path
On x86-64 CPUs with AVX-512 VBMI, the HotSpot JIT replaces java.util.Base64 decoding with a hand-optimized machine-code routine. Given Base64 with padding in the wrong place, that routine miscalculates how many bytes to store and writes past the end of its output buffer. In Calif's write-up, 64 A characters followed by a single = write 62 bytes out of bounds.
Reachability. Java applications decode Base64 constantly: tokens and credentials in HTTP headers, SAML payloads, file uploads, API fields and queue messages. Much of that runs before a user authenticates. Along the way, Calif also found JavaBleed, a separate leak primitive that copies extra heap data into an application's normal response.
Economics. Calif reports finding the bug with AI assistance in about an hour, with a first working exploit two hours later, for under $200 in token costs. There is no universal exploit; each application needs its own chain. Anyone with the same tools can retrace that path.
Confirm remediation
A closed ticket is not a verdict. A flag added to a config file does nothing until the process restarts, and a patched host does nothing for a container image built on the old base. Each JVM should end with evidence.
java -version 2>&1 | head -1 jcmd <pid> VM.version # JVM start time must postdate the update ps -o lstart= -p <pid>jcmd <pid> VM.flags | tr ' ' '\n' | grep BASE64 # expect: -XX:-UseBASE64Intrinsics on every JVMAm I exposed?
11 · REFERENCES AND REVISION HISTORY
Reflects public reporting as of Nov 18, 2026. Exploitation details are still emerging; this advisory will be updated as verified information becomes available.
12 · FAQ
Why do the scores differ, 9.2 vs 8.1?
Oracle rates it 8.1 under CVSS 3.1 with high attack complexity. Calif scores it 9.2 under CVSS 4.0. Prioritize on reachability, not the delta.
Our servers run on ARM64. Are we affected?
No. The vulnerable code path needs an x86-64 CPU with AVX-512 VBMI. Recheck if workloads can move to x86-64 instances.
Is there a public exploit?
A safe reproducer that demonstrates the memory corruption is public. It does not achieve code execution. Calif is withholding product-specific chains, and says there is no universal exploit.
Does disabling the intrinsic break anything?
-XX:-UseBASE64Intrinsics costs only Base64 performance. It takes effect only after the JVM restarts.
Is it in CISA's Known Exploited Vulnerabilities catalog?
Not as of Nov 18. CISA urged immediate patching in a Nov 17 alert. Do not wait for a KEV listing to act.
Which of your Java services can an attacker actually reach through this path, and what sits behind them?
Hayrok runs real attack paths safely under your approval, from the exposed Base64 input to the identity stores, build secrets and internal services the Java process can reach, and records every verdict in Evidence Fabric.