Design Partner Program
TLP:CLEAR SECURITY ADVISORY HRK-SA-2026-1118-02 Exploitation not confirmed · scanning reported

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.

SEVERITY
Critical
PEAK CVSS
9.2
AUTH REQUIRED
Often none
PUBLIC POC
Trigger only
PUBLISHED
Nov 18, 2026
REVISION
v1.0 · @Hayrok LLC
01 · EXECUTIVE SUMMARY

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.

KEY JUDGMENTS
01
Exploitation in the wild is not confirmed. CVE-2026-114938 is not in CISA KEV, and Canada's Cyber Centre is not aware of attacks. GreyNoise has recorded Java4Shell-shaped requests from a small number of IPs, with no confirmed compromise. Reported
02
Exploitation is likely to follow. Details leaked before the patch, the root cause and technique are public, a trigger is public, and the bug was found in about an hour with AI assistance. Assessed
03
Version scanners will misclassify exposure. Exploitability needs an affected runtime, an AVX-512 VBMI CPU and an attacker-reachable Base64 path at once. Assessed
04
Bundled JREs are the largest inventory gap. Products that ship their own Java patch on vendor schedules and are often missed by host-level patching. Assessed
02 · VULNERABILITY DETAILS

Vulnerability summary

Java2Shell (Java4Shell)
CVE-2026-114938NVD
9.2Critical
Component
HotSpot JVM · AVX-512 VBMI Base64 decode intrinsic (java.util.Base64)
Weakness
Heap-based buffer overflow: misplaced padding miscalculates the store length
Affected
17.0.6 – 17.0.21 · 21 ≤ 21.0.13 · 25 ≤ 25.0.5 · 27 ≤ 27.0.1
Fixed
Nov 17, 2026 update · version strings not confirmed
Auth
None on several default installs; product-dependent
Impact
Remote code execution via code-cache write; heap data leak (JavaBleed).
Scoring by source
Scores differ by CVSS version and attack complexity.
Calif
CVSS 4.0 · researcher
9.2Critical
Oracle
CVSS 3.1 · high attack complexity
8.1High
03 · THREAT ACTIVITY

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.

IN THE WILD Not confirmed No confirmed exploitation as of Nov 18.
SCANNING Reported GreyNoise: Java4Shell-shaped requests from a few IPs.
PUBLIC POC Trigger only Safe reproducer shows memory corruption, not RCE.
CISA KEV Not listed CISA urged immediate patching on Nov 17.
IOCS Not confirmed No indicators or network signature published.
PATCH Available Oracle builds fixed; other vendors rolling out.
DISCLOSURE AND ACTIVITY TIMELINE · 2026
Pre-patch Calif finds the bug with AI assistance in about an hour; a first working exploit follows two hours later.
Pre-patch Information about the bug leaks ahead of the fix, per the researchers.
Nov 17 Oracle and OpenJDK release fixes (OpenJDK Vulnerability Advisory).
Nov 17 CISA alert urges immediate patching. Not added to KEV.
Nov 18 Canada's Cyber Centre says it is not aware of attacks.
Nov 18 GreyNoise records Java4Shell-shaped requests from a small number of IPs. No confirmed compromise.
04 · AFFECTED PRODUCTS

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.

PLATFORM
AFFECTED
FIXED IN
STATUS
OpenJDK / Java SE 17
17.0.6 – 17.0.21
Nov 17 update
Fixed
OpenJDK / Java SE 21
through 21.0.13
Nov 17 update
Fixed
OpenJDK / Java SE 25
through 25.0.5
Nov 17 update
Fixed
OpenJDK / Java SE 27
through 27.0.1
Nov 17 update
Fixed
Oracle GraalVM for JDK 17 / 21
affected
Oracle update
Fixed
Temurin, Corretto, Zulu, Red Hat, Microsoft builds
same ranges
vendor update
Rolling out
Products bundling their own JRE
vendor-dependent
vendor update
Check vendor
ARM64, or x86-64 without AVX-512 VBMI
—
—
Not affected
PRE-AUTH RCE · DEFAULT INSTALLS
Keycloak, Atlassian Jira and Confluence, JFrog Artifactory, Jenkins, PingFederate
RCE WITH A LOGIN
Apache Kafka, Solr, Elasticsearch, Gerrit, Spinnaker
CLIENT-SIDE
A Java program connecting to a malicious TLS server

Demonstrations reported by Calif. Product-specific chains have not been released.

05 · RECOMMENDED ACTIONS

What to do, in priority order

CriticalImmediately
Internet-facing services that decode attacker Base64Identity providers, SSO and SAML endpoints, API gateways, CI servers, collaboration tools. Install the Nov 17 update for your Java line and restart every JVM.
JVMs you cannot patch todayAdd -XX:-UseBASE64Intrinsics to the JVM options and restart. Confirm with jcmd <pid> VM.flags.
HighWithin 72 hours
Every JVM, including bundled onesInventory runtime version and CPU flags per host. The Java on the host is not the only Java you run.
Container imagesRebuild on a patched base image and redeploy. Retire old tags.
Products that ship their own JRETrack vendor updates for Atlassian, Jenkins distributions and identity platforms. Apply the JVM flag where you cannot patch.
HighBefore closing
Every remediated JVMConfirm runtime version, restart time and active flags. Record evidence per service.
Exposed AVX-512 hosts since Nov 17Hunt for JVM crash files and unexpected child processes (section 06).
INVENTORY · RUNTIME AND CPUper host
java -version jcmd <pid> VM.version jcmd <pid> VM.flags grep -o avx512vbmi /proc/cpuinfo | head -1
WORKAROUND · JVM OPTIONthen restart
-XX:-UseBASE64Intrinsics # broader stopgap: disables AVX-512 entirely -XX:UseAVX=2
WORKAROUND Add -XX:-UseBASE64Intrinsics to the JVM options and restart. It switches off the vulnerable fast path and costs only Base64 performance. -XX:UseAVX=2 is broader and stops the JVM using AVX-512 at all. Both are stopgaps. Confirm with jcmd <pid> VM.flags that the flag took effect on the running process. Patch anyway.
06 · DETECTION AND HUNTING

Observables 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.

SIGNAL
OBSERVABLE
SOURCE
JVM crashes
Unexpected JVM crashes, hs_err_pid crash files or heap corruption errors on AVX-512 hosts
Service logs, JVM working directory
Child processes
A Java service spawning a shell or download tool it never normally runs
EDR, process telemetry
Scanning
Java4Shell-shaped requests. Request signatures not confirmed.
GreyNoise
IOCs
Not confirmed. None published by any vendor.
—
HUNT · JVM CRASH FILESsince Nov 17 · AVX-512 hosts
find / -xdev -name 'hs_err_pid*.log' -newermt 2026-11-17 2>/dev/null \ -exec ls -l {} \;
HUNT · UNEXPECTED CHILDRENpoint-in-time · alert via EDR
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.

07 · MITRE ATT&CK

Technique mapping

TACTIC
ID
TECHNIQUE
BASIS
Initial Access
T1190
Exploit Public-Facing Application
Reported
Execution
T1203
Exploitation for Client Execution
Reported
Execution
T1059.004
Command and Scripting Interpreter: Unix Shell
Assessed
Command and Control
T1105
Ingress Tool Transfer
Assessed
Credential Access
T1552.001
Unsecured Credentials: Credentials In Files
Assessed

Post-exploitation techniques are assessed from the access a compromised Java service typically holds. No attacker tradecraft has been published.

08 · TECHNICAL ANALYSIS

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.

VULNERABLE PATH · x86-64 + AVX-512 VBMI
attacker Base64 → Base64 decode
JIT swaps in AVX-512 VBMI intrinsic
misplaced "=" → wrong store length
heap write past output buffer
CALIF CHAIN · FIVE STAGES
1 corrupt an array length
2 leak heap contents
3 repair headers · 4 groom heap
5 write into code cache → RCE

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.

WHY VERSION SCANNERS MISLEAD
CASE 01
Java 17.0.10 on an ARM64 server
Not exposed
CASE 02
Patched host JDK, product ships its own JRE
Still exposed
CASE 03
Flag added to config, JVM not restarted
Still exposed
CASE 04
Patched host, container on old base image
Possibly wide open
Assessed A version scanner flags every Java 17 box, including ARM servers that can never be exploited, and misses the bundled JRE inside an appliance no one inventoried. Whether an attacker can reach the vulnerable path on a given service takes testing, not lookup.
09 · VALIDATION

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.

Patched runtimes
01
Check every runtime, not just the host
Run java -version against each binary, including JREs bundled inside products.
02
Prove the restart
Each JVM start time must postdate the update.
03
Prove the serving image
For containers, compare running digests to the rebuilt image. Long-lived pods keep old builds alive.
java -version 2>&1 | head -1 jcmd <pid> VM.version # JVM start time must postdate the update ps -o lstart= -p <pid>
Intrinsic disabled (workaround)
01
Check the effective options
The flag must reach the launcher actually used: service unit, wrapper script or vendor config.
02
Confirm on the running process
jcmd VM.flags must list -XX:-UseBASE64Intrinsics.
03
Cover every JVM per service
Products often run several JVMs. Check each one.
jcmd <pid> VM.flags | tr ' ' '\n' | grep BASE64 # expect: -XX:-UseBASE64Intrinsics on every JVM
10 · EXPOSURE SELF-ASSESSMENT

Am I exposed?

Exposure
01Do you run Java 17.0.6 – 17.0.21, 21 ≤ 21.0.13, 25 ≤ 25.0.5 or 27 ≤ 27.0.1 anywhere, including bundled JREs and containers?
02Do any of those JVMs run on x86-64 CPUs with AVX-512 VBMI?
03Is the Nov 17 update installed, or the intrinsic disabled, with every JVM restarted?
ANSWER TO SEE A VERDICT
Pick yes, no or not sure for each question.
Detection and blast radius
01Do you alert when a Java service spawns a shell or download tool?
02Do you collect JVM crash files and crash events from AVX-512 hosts since Nov 17?
03Do you know which secrets and internal services each exposed Java service can reach?
ANSWER TO SEE A VERDICT
Pick yes, no or not sure for each question.

11 · REFERENCES AND REVISION HISTORY

References
›OpenJDK Vulnerability Advisory, November 17, 2026
›SecureLayer7: What is Java2Shell (CVE-2026-114938)?
›Censys: OpenJDK Remote Code Execution (Java4Shell) advisory
›Aikido: Java4Shell RCE, affected versions and fix
›Upwind: Java4Shell, what we know now and what comes next
›Qualys: How to find, mitigate, and patch Java4Shell
›SOCRadar: Java4Shell, what you need to know
›Prophet Security: Finding exposed Java services and hunting CVE-2026-114938
›Precursor Security: Java4Shell live updates
›Malware News: Java4Shell, who's exposed and how to fix it
›DEV Community: The bug that leaked before its patch
Revision history
1.0Nov 18, 2026Initial publication.

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.

VALIDATE YOUR EXPOSURE

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.