Java4Shell Pre-Auth RCE in OpenJDK AVX-512 Base64 Decoder (CVE-2026-114938)
Bottom line: A heap out-of-bounds write (
CVE-2026-114938, Java4Shell) in OpenJDK's C2 JIT-compiled AVX-512 Base64 decoder allows unauthenticated attackers to crash JVMs, leak heap secrets (JavaBleed), or achieve RCE on x86-64 AVX-512 VBMI hosts. Upgrade to November 2026 patched JDKs (or set-XX:-UseBASE64Intrinsics) and restart all Java processes immediately.Period covered: 2026-10-22 to 2026-11-21 · Overall confidence: High · Sources: 9 (7 primary, 2 secondary)
Key Judgments
- Pre-authentication login and token paths are almost certainly the primary attack surface. Standard Basic Auth (
Spring Security,Tomcat,Jetty 12),Auth0 java-jwt, SAML, and outbound TLS connections invokejava.util.Base64before credential or signature checks complete. (Confidence: High; [#3][#4][#5][#7]) - Hardware and runtime constraints bound exposure but complicate cloud triage. Only OpenJDK
17.0.6+(21,25,27, Oracle8u511b33-perf, GraalVM) on x86-64 CPUs withAVX-512 VBMIis vulnerable; identical containers are safe on ARM64 or older x86 nodes but become exploitable on Intel Ice Lake+ or AMD Zen 4+ hosts. (Confidence: High; [#2][#3][#4][#5][#6]) - Unauthenticated DoS and heap secret leaks (JavaBleed) are immediately reproducible, whereas RCE requires target-specific heap grooming. Multiple teams reproduced crashes and secret extraction, while weaponized RCE chains against Keycloak, Jira, Confluence, Jenkins, Artifactory, and PingFederate remain unpublished as of
2026-11-21. (Confidence: High; [#3][#5][#6][#9]) - Embedded JREs in third-party software and containers will very likely extend exposure. Dependency scanners and SBOMs rarely list private JREs bundled inside vendor appliances, CI/CD agents, and images. (Confidence: High; [#3][#7][#9])
- AI-assisted patch diffing is likely to compress time-to-exploitation. Discovery and initial exploit construction with an AI coding agent took ~3 hours and <$200 in tokens. (Confidence: Moderate; [#3][#4][#7])
Am I Affected?
| Check | How to verify | If yes |
|---|---|---|
| Host CPU has AVX-512 VBMI on x86-64 | Check /proc/cpuinfo for avx512f, avx512bw, avx512vbmi, bmi2 (Intel Ice Lake+ / AMD Zen 4+) [#3][#4][#6] |
Actions, row 1 & 2 |
Live JVM runs OpenJDK 17.0.6+, 21, 25, 27, 8u511b33-perf, or GraalVM |
Check /proc/<pid>/exe -version inside hosts and containers [#3][#7][#9] |
Actions, row 1 |
Bundled Java apps deployed (Keycloak, Jira, Confluence, Jenkins, Artifactory, PingFederate) |
Scan disk and images for embedded libjvm.so / jvm.dll and vendor patches [#4][#5][#7] |
Actions, row 1 & 5 |
| Endpoints decode Base64 or outbound TLS connects to untrusted peers | Audit HTTP Authorization (Basic/Bearer/JWT), SAML, cookies, uploads, and outbound TLS [#3][#6][#8] |
Actions, row 2 & 3 |
Priority Actions
| When | Action | Owner |
|---|---|---|
| Now (24h) | Upgrade to patched JDKs (Oracle .1 / 8u513, Corretto .1.2/.1.4, Zulu .201) or set -XX:-UseBASE64Intrinsics and restart JVMs |
IT Ops / Platform |
| Now (24h) | Deploy WAF/IPS blocks for malformed Base64 padding (Azure WAF rules, Snort SIDs 1:67502–1:67513, 1:301754) |
SOC / NetSec |
| Now (24h) | Hunt logs from 2026-11-12 (2026-09-09 for critical assets) for IllegalArgumentException bursts, hs_err_pid*.log, and JVM child shells |
SOC / CERT |
| 7 days | Rotate private keys, JWT secrets, API tokens, and session credentials held in heap memory on services with crashes or decode spikes | IAM / CERT |
| 30 days | Inventory binary-level embedded JREs across containers, VM images, and appliances; strip shells/curl from runtime images | CISO / AppSec |
Briefing by Role
- CISO / leadership: Not yet exploited in the wild (
EPSS 0.45636,98.8thpercentile),CVE-2026-114938enables pre-auth compromise of identity and DevOps platforms (Keycloak,PingFederate,Jenkins,Jira,Artifactory) on modern Intel/AMD cloud instances [#3][#4][#7]. Mandate binary-level JVM discovery and restarts. - SOC: Static IP/hash blocking is ineffective with no active campaign infra yet [#1][#2][#8]. Alert on malformed padded Base64 inputs (len >= 32 ending in
=where len mod 4 != 0),IllegalArgumentException(wrong 4-byte ending unit) bursts, oversized responses (JavaBleed), andjavaspawning shells [#3][#5][#6][#8]. - CERT / Incident Response: Use
-XX:-UseBASE64Intrinsics(never bare-XX:DisableIntrinsic=_base64_decodeBlockwithout-XX:+UnlockDiagnosticVMOptions, and never-XX:UseAVX=2on ARM64, which halts startup) [#2][#3][#5]. Preservehs_err_pid*.logdumps and rotate heap secrets if probing is suspected [#5][#6].
1. Situation Overview
On 2026-11-17, the OpenJDK Vulnerability Group and Oracle released patches for CVE-2026-114938, dubbed Java4Shell by its discoverers at security research firm Calif [#1][#3][#4]. The flaw is a heap out-of-bounds write in the hand-written x86-64 AVX-512 assembly intrinsic used by the HotSpot C2 Just-In-Time (JIT) compiler to accelerate java.util.Base64 decoding [#3][#4][#6]. When a vulnerable JVM running on an AVX-512 VBMI-capable processor decodes specially crafted Base64 input with malformed trailing = padding, an integer underflow causes a 64-byte masked vector write to overflow the destination heap buffer by 62 to 63 bytes before Java throws an IllegalArgumentException [#5][#6][#7].
Because Base64 decoding sits at the entry point of standard authentication and token-parsing libraries—including HTTP Basic Authentication in Spring Security, Apache Tomcat, and Eclipse Jetty 12, as well as Auth0 java-jwt, SAML assertions, CSRF tokens, and X.509 certificate parsing during outbound TLS handshakes—an attacker can trigger heap corruption before authentication or signature validation occurs [#3][#5][#7]. Calif demonstrated unauthenticated remote code execution against default configurations of six widely deployed enterprise products (Keycloak, Atlassian Jira, Atlassian Confluence, JFrog Artifactory, Jenkins, and PingFederate) and post-authentication RCE against five others (Apache Kafka Broker, Apache Solr, Elasticsearch, Gerrit, and Netflix Spinnaker) [#3][#4][#5].
As of 2026-11-21, all nine independent sources collected by TI Mindmap HUB confirm zero observed in-the-wild exploitation and confirm that CVE-2026-114938 is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog, although CISA issued an urgent patching alert on 2026-11-17 [#1][#2][#5][#7][#9]. However, independent researchers at Theori, Upwind, Blackpoint Cyber, and Miggo have already reproduced the heap overflow, unauthenticated JVM denial-of-service (DoS) crashes, and JavaBleed heap secret disclosure [#3][#5][#9]. Combined with an EPSS score of 0.45636 (98.8th percentile) and the fact that an OpenJDK pull request publicly described the underlying overflow on 2026-09-09 [#5], SOC and CERT teams face a narrow window before patch diffing yields public weaponized exploits [#7].
2. Timeline
| Date (UTC) | Event | Source |
|---|---|---|
| 2026-09-09 | OpenJDK pull request publicly describes the AVX-512 Base64 tail overflow and a triggering input | [#5] |
| 2026-11-12 | Oracle pre-release notice announces 11 remotely exploitable Java SE fixes (max CVSS 3.1 8.1) |
[#3] |
| 2026-11-17 10:22 | Early discussions of the leaked vulnerability appear on X ahead of coordinated release | [#3] |
| 2026-11-17 17:44 | OpenJDK publishes advisory for CVE-2026-114938 (hotspot/compiler) affecting Java 17, 21, 25, and 27 |
[#3][#6] |
| 2026-11-17 20:00 | Initial external lab reproduction confirms heap overflow and DoS; Datadog publishes pre-patch analysis | [#1][#3] |
| 2026-11-17 21:00 | Oracle ships November 2026 CPU; Calif publishes technical write-up, overflow reproducer, and RCE demos | [#3][#4][#6] |
| 2026-11-17 | CISA issues alert urging immediate patching of internet-facing Java systems; Microsoft publishes Azure WAF rules | [#6][#7][#8] |
| 2026-11-18 | Cisco Talos releases Snort 2/3 SIDs (1:67502–1:67513, 1:301754); Wiz, Sysdig, and Cyble publish analyses |
[#2][#3][#4][#5] |
| 2026-11-19 | Picus details the BZHI/evmovdqub mask bug and JavaBleed; ReversingLabs highlights embedded JRE supply-chain risk |
[#6][#7] |
| 2026-11-20 to 21 | Microsoft Azure Network Security and Miggo publish WAF mitigation rules and DoS verification findings | [#8][#9] |
3. Attack Flow
flowchart TD
A["1. Reconnaissance & Target Profiling<br/>Identify exposed Java endpoints & auth headers T1595.002"] --> B["2. C2 JIT Warm-Up<br/>Send valid Base64 traffic to compile intrinsic T1190"]
B --> C["3. Malformed Padding Trigger<br/>Send 64xA + = (or 128xA + = on JDK 17) T1190"]
C --> D["4. AVX-512 Tail Mask Underflow<br/>out_len = -1 sets k1 mask to all ones T1190"]
D --> E["5a. Misaligned Overwrite<br/>JVM SIGSEGV crash & hs_err_pid log T1499.004"]
D --> F["5b. Stage 1 Heap Grooming<br/>62-byte OOB write expands neighbor array length T1190"]
F --> G["6. Stage 2 JavaBleed Disclosure<br/>Enlarged response buffer leaks keys & tokens T1005 / T1528"]
G --> H["7. Stage 3 Code Execution<br/>Arbitrary heap R/W overwrites JIT code T1059"]
4. Technical Analysis
4.1 Vulnerability mechanics: C2 JIT intrinsic and AVX-512 mask underflow
In the HotSpot JVM, methods executed frequently are promoted to the Tier 4 C2 JIT compiler, which replaces selected standard-library bytecode methods—including java.util.Base64$Decoder.decodeBlock—with hand-written assembly intrinsics tailored to the host CPU [#4][#6]. On x86-64 processors supporting AVX-512 VBMI (Vector Bit Manipulation Instructions), the intrinsic processes Base64 input in 256-byte and 64-byte vector chunks, then handles any remaining tail of fewer than 64 bytes using a masked 512-bit vector store (evmovdqub, wrapping the x86 VMOVDQU8 instruction) controlled by 64-bit mask register k1 [#4][#6].
To compute how many output bytes should be written for the final tail (in_len < 64), the assembly routine performs integer division (out_len = (in_len / 4) * 3), subtracts 1 or 2 when trailing = padding characters are present, and generates the store mask using the BMI2 BZHI (Zero High Bits Starting with Specified Bit Position) instruction [#6]:
in_mask = bzhi(ALL_ONES, in_len);
out_len = (in_len / 4) * 3;
if (in[in_len - 1] == '=') {
out_len -= 1; in_mask >>= 1;
if (in[in_len - 2] == '=') {
out_len -= 1; in_mask >>= 1;
}
}
out_mask = bzhi(ALL_ONES, out_len);
evmovdqub(Address(dest, dp), k1=out_mask, tmp, true, AVX_512bit);
The bug occurs because the assembly assumes the tail contains at least one complete 4-byte Base64 group (in_len >= 4) before subtracting padding [#6]. When an attacker supplies an input whose tail after 64-byte block processing is 1 to 3 bytes long and ends with = (such as =, ==, ===, X=, X==, or XY=), in_len / 4 evaluates to 0 [#6]. Subtracting the padding causes out_len to underflow to -1 or -2 (0xFF or 0xFE in the low 8 bits read by BZHI) [#3][#6]. Because BZHI clears no bits when the index is >= 64, out_mask (k1) remains 0xFFFFFFFFFFFFFFFF (all ones), and evmovdqub writes all 64 bytes of the vector register into the destination array on the Java heap [#3][#6].
For the canonical trigger of 64 uppercase A characters followed by a single = (65 bytes total; on OpenJDK 17, the vectorized threshold requires 128 A characters followed by =, or 129 bytes) [#3][#6]:
Base64.Decoderallocates a 50-byte output array (ceil(65 / 4) * 3 - 1 = 50) [#6].- The first 64
Abytes decode normally into offsets0through47(48 bytes) [#6]. - The 1-byte tail (
=) triggers the underflow (out_len = -1), writing 64 bytes starting at offset48[#6]. - Offsets
48and49land inside the buffer, while offsets50through111(62 bytes) overwrite adjacent Java heap memory (up to 63 bytes depending on tail alignment) [#3][#5][#6]. - The intrinsic returns an error count to the Java wrapper, which throws
java.lang.IllegalArgumentException(Input byte array has wrong 4-byte ending unit) [#3][#6]. By the time the exception is raised—and before any application-level authentication or validation logic runs—the heap corruption has already occurred [#1][#5][#6].
4.2 From fixed 62-byte overflow to JavaBleed and RCE
Because the 62 overflowing bytes come from residual register state and decoded zeroes rather than arbitrary attacker bytes, early lab reproductions assumed the bug was limited to denial of service [#3][#6]. Calif bypassed this constraint using a three-stage heap-grooming chain adapted from browser engine exploitation [#3][#5][#6]:
| Exploit Stage | Primitive | Technical mechanism and operational constraint |
|---|---|---|
| Stage 0: JIT Warm-Up | C2 compilation | Attacker sends repeated valid Base64 requests until HotSpot promotes decodeBlock to the C2 AVX-512 intrinsic [#3][#6] |
| Stage 1: Arbitrary Write | Neighbor array length corruption | Timed requests align G1 GC Thread-Local Allocation Buffers (TLABs) so the 62-byte OOB write overwrites an adjacent array's length header [#5][#6] |
Stage 2: JavaBleed (T1005) |
Out-of-bounds heap read | Using Stage 1, the attacker enlarges a response buffer echoed by the server, leaking adjacent heap memory (private keys, JWTs, PII) [#4][#5][#6] |
Stage 3: Pre-Auth RCE (T1190) |
JIT code / object hijack | Combining arbitrary heap read and write primitives allows overwriting compiled JIT code or function pointers to execute OS commands [#3][#5][#6] |
Operational constraints on RCE:
- No universal payload: Every target application requires a custom profile matching its decoder entry point, allocation rhythm, feedback channel, and G1 heap layout [#3][#5][#6].
- Network latency and proxy buffering: Multi-part timed heap grooming requires low latency (Calif rented a cloud VM in the same region as the target) [#3][#6]. Reverse proxies that buffer full HTTP bodies before forwarding—such as
nginx(proxy_request_buffering onby default)—disrupt partial-body timing chains [#3][#6]. However, proxy buffering is not a reliable defense: Calif'sElasticsearchexploit fits in a single complete HTTP request, andWebSocketconnections bypassnginxrequest buffering entirely [#3][#6]. - Crash-and-retry behavior: Misaligned heap placement triggers an immediate
SIGSEGVor JVM abort (hs_err_pid*.log), but containerized and systemd-managed services typically auto-restart, allowing attackers to retry [#3][#5][#6].
4.3 Attack vectors and exposed products
Exploitation requires three simultaneous conditions: (1) an affected OpenJDK-derived build, (2) an x86-64 processor with AVX-512 VBMI (avx512f, avx512bw, avx512vbmi, bmi2), and (3) a code path passing untrusted input to java.util.Base64 [#4][#5][#6].
- Pre-authentication HTTP vectors: Standard HTTP Basic Authentication handlers in
Spring Security,Apache Tomcat, andEclipse Jetty 12pass the rawAuthorization: Basic ...header directly toBase64.getDecoder()before checking credentials [#3]. Similarly,Auth0 java-jwtdecodes the Base64URL header and payload of a JWT before verifying its cryptographic signature [#3][#8]. SAML artifacts, CSRF tokens, cookies, and file upload handlers provide additional pre-auth routes [#5][#8]. - Client-side outbound TLS vector (
T1203): Researchersamczsundemonstrated that a Java process initiating an outbound TLS connection to an attacker-controlled server (for example via webhooks, OIDC discovery, or federated metadata fetches) can be compromised when it Base64-decodes PEM certificate data during the handshake, even if the Java application exposes no inbound listening port [#3][#7]. - Demonstrated product targets: Calif demonstrated pre-auth RCE against default installations of
Keycloak,Atlassian Jira,Atlassian Confluence,JFrog Artifactory,Jenkins, andPingFederate, plus post-auth RCE inApache Kafka Broker,Apache Solr,Elasticsearch,Gerrit, andNetflix Spinnaker, and lab RCE inApache StrutsandSpring Boot[#3][#4][#5][#7].
| Distribution / Product | Vulnerable Versions | Fixed Versions (2026-11-17+) | Notes & Hardware Scope |
|---|---|---|---|
| OpenJDK / Oracle Java SE | 17.0.6–17.0.21.0.3, 21 (<=21.0.13.0.3), 25 (<=25.0.5.0.3), 27 (<=27.0.1.0.3) |
17.0.21.1, 21.0.13.1, 25.0.5.1, 27.0.1.1 |
x86-64 with AVX-512 VBMI only; ARM64 (Graviton) unaffected [#3][#5][#6] |
| Oracle Java SE 8 / 11 | 8u511b33-perf (Performance Pack only); standard Java 8 & 11 unaffected |
8u513 |
Red Hat OpenJDK 8 & 11 do not contain the vulnerable code [#3][#5][#7] |
| Amazon Corretto | 17.0.6+, 21, 25, 27 pre-fix builds |
17.0.21.1.2, 21.0.13.1.2, 25.0.5.1.2, 27.0.1.1.4 |
Verify exact container and host runtime version [#5] |
| Azul Zulu | 17.0.6+, 21, 25, 27 pre-fix builds |
17.70.201, 21.54.201, 25.38.201, 27.30.201 |
Verify exact container and host runtime version [#5] |
| GraalVM / Temurin / MS / Red Hat | GraalVM JDK 17.0.21.0.3, 21.0.13.0.3, EE 21.3.20.0.3; downstream OpenJDK 17.0.6+ |
Apply vendor November 2026 CPU / distro security updates | RHEL 8/9/10 and embedded vendor JREs may lag; use JVM flag interim fix [#1][#5][#7] |
4.4 Supply-chain impact and mitigation pitfalls
ReversingLabs and Sysdig highlight two structural challenges for defenders [#3][#7]:
- Hidden bundled JREs: Enterprise software (
Jira,Confluence,Keycloak,Jenkins,Artifactory, virtual appliances, and container base images) frequently bundles a private JRE inside installation directories (/opt/,/usr/share/, container layers) that is invisible to OS package managers (rpm,dpkg) and build-time SBOM manifests [#3][#5][#7]. Updating the host OS JDK does not patch these embedded runtimes [#5][#7]. - Dynamic cloud scheduling risk: Because the C2 compiler selects the AVX-512 intrinsic dynamically at JVM startup based on host CPU flags, a vulnerable container image that runs safely on an older Intel Broadwell/Cascade Lake or AWS Graviton (ARM64) node becomes immediately exploitable when Kubernetes or an autoscaler schedules it onto an Intel Xeon Ice Lake, Sapphire Rapids, Emerald Rapids, Granite Rapids, or AMD EPYC/Ryzen Zen 4+ node [#4][#5][#6].
- Dangerous workaround flags:
- Recommended flag:
-XX:-UseBASE64Intrinsicscleanly disables hardware-accelerated Base64 intrinsics on all affected versions with negligible impact on typical web workloads [#3][#4][#5][#6]. - Architecture-specific flag:
-XX:UseAVX=2caps AVX usage at AVX2 on x86-64, neutralizing the bug, but causes the JVM to fail to start if pushed to ARM64 hosts via fleet-wideJAVA_TOOL_OPTIONS[#2][#3][#5]. - Broken diagnostic flag: Deploying
-XX:DisableIntrinsic=_base64_decodeBlockwithout preceding it with-XX:+UnlockDiagnosticVMOptionscauses immediate JVM startup failure and production outages [#3][#5].
- Recommended flag:
5. Cross-Source Assessment
5.1 Where sources converge
- Root cause and hardware boundary: All technical analyses ([#2], [#3], [#4], [#5], [#6], [#7], [#8]) converge on the C2 JIT AVX-512 VBMI Base64 intrinsic out-of-bounds write affecting OpenJDK
17.0.6+(and Oracle8u511b33-perf) exclusively on x86-64 CPUs withavx512f,avx512bw,avx512vbmi, andbmi2. - Zero in-the-wild exploitation as of
2026-11-21: All nine sources ([#1]–[#9]) confirm no active exploitation in the wild and no campaign-specific malicious IPs, domains, or malware hashes. - JVM restart and embedded runtime verification: Sources ([#3], [#5], [#6], [#7], [#8], [#9]) agree that patching packages on disk is ineffective until every running JVM is restarted and every container and bundled JRE is rebuilt.
5.2 Where sources diverge
| Claim / Topic | Position A | Position B | TI Mindmap HUB Assessment |
|---|---|---|---|
| CVSS severity score | Oracle / OpenJDK / NVD: CVSS 3.1 8.1 (HIGH) (AC:H due to CPU + heap grooming) [#3][#5][#7] |
Calif / Talos / Datadog / Wiz / Miggo: CVSS 4.0 9.2 (CRITICAL) [#1][#2][#3][#4][#9] |
Track both: 8.1 reflects strict hardware/heap preconditions; 9.2 reflects pre-auth RCE impact on qualifying hosts |
| RCE vs. DoS reproducibility | Calif ([#3][#4][#7]) demonstrates pre-auth RCE on 6 products and post-auth on 5 | Upwind, Blackpoint Cyber ([#5]), and Miggo ([#9]) reproduced DoS and JavaBleed leaks, not RCE | Heap overflow, DoS, and JavaBleed are independently verified (High); RCE is credible for standardized apps but requires target-specific grooming |
| Exact OOB write length | Sysdig ([#3]), Picus ([#6]), ReversingLabs ([#7]): 62 bytes past a 50-byte buffer | Cyble ([#5]): 62 or 63 bytes beyond the array depending on tail length | Both are accurate: 64xA + = writes 62 bytes OOB (64 - 2); 2-byte tails can write up to 63 bytes OOB |
| Workaround flag preference | Cisco Talos ([#2]) emphasizes -XX:UseAVX=2 |
Sysdig ([#3]), Wiz ([#4]), Cyble ([#5]), Picus ([#6]) prefer -XX:-UseBASE64Intrinsics |
Prefer -XX:-UseBASE64Intrinsics: it targets only Base64 and will not break mixed x86-64/ARM64 fleets |
5.3 Intelligence gaps
- Timeline for public RCE exploit release: Calif withheld weaponized product-specific exploit chains temporarily to allow patching [#3][#6], but has stated plans to publish them later; exact release timing or third-party reproduction via patch diffing remains unknown.
- Silent JavaBleed collection in the wild: Because successful JavaBleed memory reads return leaked heap bytes inside HTTP responses without crashing the JVM or spawning child processes, passive network or endpoint telemetry without response-size and exception correlation may miss early reconnaissance [#5][#6].
- Downstream vendor patch lag: Exact patch availability across hundreds of third-party enterprise appliances and container images bundling OpenJDK
17+remains incomplete [#7][#9].
6. Attribution
No threat actor, intrusion set, or opportunistic botnet campaign has been observed exploiting CVE-2026-114938 in the wild as of 2026-11-21 [#1][#2][#5][#8][#9].
- Vulnerability discovery and research: Discovered and responsibly disclosed by Quang Luong at security firm Calif, with client-side TLS exploitation research contributed by samczsun [#3][#6].
- AI-assisted offensive research workflow: According to Calif (reported by Sysdig and ReversingLabs), the researcher used an AI coding agent (OpenAI Codex) to audit HotSpot's JIT compiler, intrinsics, and cryptographic routines—locating the AVX-512 tail mask bug in approximately one hour and constructing the first working exploit in two additional hours for under $200 in token costs [#3][#7].
- Independent defensive reproductions: Theori, Upwind, Blackpoint Cyber (which crashed a Spring Boot application using ~28,300 malformed login requests in 20 seconds and extracted heap secrets in 30/30 local JavaBleed runs), and Miggo Research independently reproduced the overflow, DoS, or memory disclosure primitives [#3][#5][#9].
7. Detection & Hunting
7.1 Retrospective hunt window
- Primary hunt window: Hunt from
2026-11-12 00:00 UTC(Oracle's pre-release announcement, followed by the2026-11-17 10:22 UTCpre-advisory leak on X) through the time each exposed JVM was patched or mitigated and restarted [#3]. - Extended high-assurance hunt window: For high-value internet-facing identity and DevOps servers (
Keycloak,PingFederate,Jenkins,Jira,Artifactory) running on AVX-512 VBMI hardware, inspect crash and exception logs back to2026-09-09, when an OpenJDK pull request publicly described the overflow and a triggering input [#5].
7.2 Detection rules
title: Java4Shell Malformed Padded Base64 Exploitation Attempt in Web Logs
id: 7f3a9c12-4b8e-4d21-9e65-2a1c8f40d9b3
status: experimental
description: Detects HTTP requests carrying malformed padded Base64 strings characteristic of CVE-2026-114938 (Java4Shell) triggers, including 64-byte block multiples followed by invalid 1-to-3 byte padded tails in Authorization headers, cookies, or query strings.
references:
- https://ti-mindmap-hub.com/report/621a4bee-c665-499f-b31d-fa9fd1595262
- https://ti-mindmap-hub.com/report/0920d550-d62d-4964-bc45-1135a0c28f57
- https://ti-mindmap-hub.com/report/2181914f-6114-4e12-a0c6-4b723e82f40a
logsource:
category: webserver
detection:
selection_canonical_trigger:
- cs-headers|contains: 'AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA='
- c-uri-query|contains: 'AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA='
selection_azure_waf_regex:
cs-headers|re: '(?:\A|[^A-Za-z0-9+/])(?:[A-Za-z0-9+/]{64})+(?:[A-Za-z0-9+/]{0,2}=|[A-Za-z0-9+/]?==)(?:\z|[^A-Za-z0-9+/=])'
condition: 1 of selection_*
falsepositives:
- Truncated or corrupted client authentication tokens or custom non-standard Base64 encodings
level: high
tags:
- attack.initial-access
- attack.t1190
- attack.collection
- attack.t1005
title: Java Process Spawning Shell or Utility After Potential Java4Shell RCE
id: 3c8e5b41-9d20-4a73-8f14-6b5d2e90a1c7
status: experimental
description: Detects a Java Virtual Machine process spawning command shells, scripting interpreters, or network transfer utilities indicative of post-exploitation command execution following CVE-2026-114938 exploitation.
references:
- https://ti-mindmap-hub.com/report/18af8032-4486-4c8c-86f3-89a575486ee0
- https://ti-mindmap-hub.com/report/2181914f-6114-4e12-a0c6-4b723e82f40a
logsource:
category: process_creation
product: linux
detection:
selection_parent:
ParentImage|endswith:
- '/java'
selection_child:
Image|endswith:
- '/sh'
- '/bash'
- '/dash'
- '/zsh'
- '/curl'
- '/wget'
- '/nc'
- '/ncat'
- '/socat'
- '/python3'
- '/perl'
condition: selection_parent and selection_child
falsepositives:
- CI/CD build servers (such as Jenkins agents) or administrative plugins legitimately executing shell scripts; exclude known build agent working directories
level: high
tags:
- attack.initial-access
- attack.t1190
- attack.execution
- attack.t1059.004
// Microsoft Sentinel / Defender XDR: Detect Java processes spawning shells, writing
// hs_err_pid crash logs, or crashing after Base64 decoding spikes (CVE-2026-114938)
let lookback = datetime(2026-11-12T00:00:00Z);
union
(
DeviceProcessEvents
| where Timestamp >= lookback
| where InitiatingProcessFileName in~ ("java", "java.exe")
| where FileName in~ ("sh", "bash", "dash", "zsh", "cmd.exe", "powershell.exe", "pwsh", "curl", "wget", "nc", "socat")
| extend SignalType = "JVM_Child_Shell"
),
(
DeviceFileEvents
| where Timestamp >= lookback
| where InitiatingProcessFileName in~ ("java", "java.exe")
| where FileName matches regex @"^hs_err_pid\d+\.log$"
| extend SignalType = "JVM_Crash_Dump"
)
| project Timestamp, DeviceName, SignalType, InitiatingProcessFileName, FileName, FolderPath, ProcessCommandLine, AccountName
| tstats count min(_time) as firstTime max(_time) as lastTime values(Process) as Processes
from datamodel=Endpoint.Processes
where Processes.parent_process_name="java*"
AND Processes.process_name IN ("sh","bash","dash","zsh","cmd.exe","powershell.exe","pwsh.exe","curl","wget","nc","socat")
by Processes.dest Processes.user Processes.parent_process Processes.process_name
| `drop_dm_object_name("Processes")`
For application and reverse-proxy log hunting, search for bursts of the specific Java exception thrown after the 62-byte heap overwrite and correlated Authorization header anomalies [#3][#5][#6][#8]:
java\.lang\.IllegalArgumentException: Input byte array has wrong 4-byte ending unit
(?:\A|[^A-Za-z0-9+/])(?:[A-Za-z0-9+/]{64})+(?:[A-Za-z0-9+/]{0,2}=|[A-Za-z0-9+/]?==)(?:\z|[^A-Za-z0-9+/=])
7.3 Vendor detection reference and limitations
| Vendor | Published detection or rule identifiers | Source |
|---|---|---|
| Microsoft Azure WAF | Front Door & App Gateway custom rules: Java4ShellB64Header, Java4ShellB64BodyField, Java4ShellB64Query, Java4ShellB64Authorization |
[#8] |
| Cisco Talos / Snort | Snort 2 SIDs 1:67502–1:67513; Snort 3 SIDs 1:301754 and 1:67502–1:67513; Splunk ESCU detections |
[#2] |
| Picus Security | Picus Threat Library Threat ID 69479 (Java4shell Web Attack Campaign) |
[#6] |
Detection limitations:
- HTTP 401 masking: Because the malformed Base64 trigger fails authentication after corrupting heap memory, the web server typically returns an ordinary
HTTP 401 Unauthorizedor400 Bad Requeststatus code and continues running if the overwrite does not hit an unmapped page [#3][#6]. - Encrypted or unlogged request bodies and headers: Standard web access logs rarely record the full contents of
Authorizationheaders, cookies, POST bodies, or response payload sizes, blinding retrospective hunting unless WAF or debug logging is enabled [#6][#8]. - WAF bypass via custom endpoints and outbound TLS: Generic WAF rules inspect HTTP headers, query parameters, and form fields, but cannot inspect custom nested encodings, WebSocket frames after upgrade, or outbound TLS client certificate handshakes [#3][#4][#8].
8. Indicators of Compromise
Network indicators are defanged. Because no in-the-wild exploitation campaign has been observed as of
2026-11-21, no malicious IPs, domains, or malware hashes exist. The tables below list vulnerability, payload-trigger, and host/log hunting artifacts from the cited sources; machine-readable STIX 2.1 and CSV files are generated from this section.
8.1 Vulnerability and exploit trigger indicators
| Type | Indicator | Context | Confidence | Source |
|---|---|---|---|---|
| CVE | CVE-2026-114938 |
OpenJDK HotSpot x86-64 AVX-512 Base64 intrinsic heap OOB write (Java4Shell) | High | [#1][#3][#4] |
| Payload Trigger | AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA= |
64 A chars + = (65B); triggers out_len = -1 and 62-byte heap OOB write on JDK 21/25/27 |
High | [#3][#4][#6] |
| Payload Trigger | 128x"A" + "=" |
128 A chars + = (129B); required on OpenJDK 17 to reach the AVX-512 vectorized block path |
High | [#3][#6] |
| Tail Pattern | =, ==, ===, X=, X==, XY= |
1-to-3 byte trailing Base64 tail after 64-byte block that underflows out_len to -1 or -2 |
High | [#6] |
8.2 Host, exception, and detection rule artifacts
| Type | Indicator | Context | Confidence | Source |
|---|---|---|---|---|
| Exception Log | IllegalArgumentException: Input byte array has wrong 4-byte ending unit |
Thrown by java.util.Base64$Decoder immediately after the 62-byte heap overwrite completes |
High | [#3][#5][#6] |
| Crash Artifact | hs_err_pid*.log |
HotSpot fatal error log generated on SIGSEGV when heap grooming misses target alignment |
High | [#3][#5] |
| CPU Flags | avx512f, avx512bw, avx512vbmi, bmi2 |
All four /proc/cpuinfo flags must be present on x86-64 for HotSpot C2 to emit the vulnerable stub |
High | [#3][#4][#6] |
| Snort SIDs | 1:67502–1:67513, 1:301754 |
Cisco Talos Snort 2 and Snort 3 rules detecting malformed Base64 HTTP attack vectors | High | [#2] |
| Azure WAF Rules | Java4ShellB64Header, Java4ShellB64BodyField, Java4ShellB64Query, Java4ShellB64Authorization |
Microsoft Azure Front Door and Application Gateway custom WAF rule identifiers | High | [#8] |
9. MITRE ATT&CK
| Tactic | Technique | Evidence | Source |
|---|---|---|---|
| Reconnaissance | T1595.002 Active Scanning: Vulnerability Scanning | Probing exposed Java endpoints and HTTP Authorization / token fields for Base64 decoding paths |
[#2][#8] |
| Resource Development | T1587.004 Develop Capabilities: Exploits | AI-assisted (OpenAI Codex) vulnerability discovery (1h) and exploit development (2h, <$200) |
[#3][#7] |
| Initial Access | T1190 Exploit Public-Facing Application | Pre-auth heap OOB write via malformed Base64 in Keycloak, Jira, Confluence, Jenkins, Artifactory, PingFederate |
[#3][#4][#7] |
| Execution | T1203 Exploitation for Client Execution | Compromising a Java client when it opens an outbound TLS connection to a malicious server | [#3][#7] |
| Execution | T1059.004 Command and Scripting Interpreter: Unix Shell | Post-RCE execution of OS commands or shells spawned by the compromised java process |
[#2][#4] |
| Credential Access | T1528 Steal Application Access Token | JavaBleed out-of-bounds heap read leaking application access and session tokens in HTTP responses | [#5][#6] |
| Credential Access | T1552.004 Unsecured Credentials: Private Keys | JavaBleed heap disclosure exposing private cryptographic keys and secrets held in JVM memory | [#5][#6] |
| Collection | T1005 Data from Local System | Enlarging a neighboring response buffer on the Java heap to read arbitrary process memory | [#3][#5][#6] |
| Impact | T1499.004 Endpoint DoS: Application or System Exploitation | Malformed Base64 login bursts or misaligned heap overwrites crashing the JVM (SIGSEGV) |
[#5][#6][#9] |
10. Sources
| # | Title | Source | Published | TI Mindmap HUB |
|---|---|---|---|---|
| 1 | Java4Shell: Remote Code Execution in OpenJDK (CVE-2026-114938) | securitylabs.datadoghq.com (primary) | 2026-11-17 | Open |
| 2 | CVE-2026-114938: Critical vulnerability in OpenJDK JAVA | blog.talosintelligence.com (primary) | 2026-11-18 | Open |
| 3 | Java4Shell (CVE-2026-114938): Pre-auth RCE in OpenJDK, and the challenge of image and feature bloat | webflow.sysdig.com (primary) | 2026-11-18 | Open |
| 4 | CVE-2026-114938 RCE in OpenJDK: Everything You Need to Know | www.wiz.io (primary) | 2026-11-18 | Open |
| 5 | Java4Shell (CVE-2026-114938): Who's Exposed and How to Fix It | cyble.com (secondary) | 2026-11-18 | Open |
| 6 | Java4Shell (CVE-2026-114938): Critical Java RCE Vulnerability Explained | www.picussecurity.com (secondary) | 2026-11-19 | Open |
| 7 | Java4Shell is inside the software you run. Can you find every copy? | www.reversinglabs.com (primary) | 2026-11-19 | Open |
| 8 | Addressing Java4Shell CVE-2026-114938: upgrade guidance and Azure WAF mitigations | techcommunity.microsoft.com (primary) | 2026-11-20 | Open |
| 9 | Java4Shell (CVE-2026-114938): What We Know and How to Get Protected Before the Patch | www.miggo.io (primary) | 2026-11-21 | Open |
11. Pivot in TI Mindmap HUB
- Read the sources with their mindmaps: every row of the Sources table opens the platform report, with its summary, mindmap and extracted entities.
- Search these indicators across all reports: IoC Search · CVE Search
- Load them into your TIP or SIEM: STIX 2.1 bundles
- Ask your AI assistant about this campaign: MCP integration
Methodology & Changelog
- Method: cross-source synthesis of 9 reports collected by TI Mindmap HUB between
2026-11-17and2026-11-21(research window2026-10-22to2026-11-21), retrieved and cross-checked with CVE enrichment (CVE-2026-114938) through the TI Mindmap HUB MCP server. Duplicates removed: 0. - 2026-11-21: first publication.
This report is derived from publicly available sources. It is provided for defensive purposes, as is, without warranty.