Skip to content
Java4Shell (CVE-2026-114938): Heap Out-of-Bounds Write in OpenJDK Base64 Decoder

Java4Shell (CVE-2026-114938): Heap Out-of-Bounds Write in OpenJDK Base64 Decoder

First seen 24 Nov 2026, 17:22 UTC • •

Article Content

Browse articles
ThreatCluster AI
ThreatCluster •November 24, 2026 at 17:24 UTC
  • •CVE-2026-114938 is a CWE-787 heap out-of-bounds write in the OpenJDK HotSpot AVX-512 Base64 decoder, affecting Java 17, 21 and 25 builds before the 17 November 2026 CPU.
  • •Oracle rates the flaw CVSS 3.1 8.1 (High); early CVSS 4.0 reports give 9.2.
  • •Triggering requires a padded Base64 tail of 1 to 3 bytes at the end of attacker-controlled input.
  • •A public proof-of-concept and standalone exploit script exist; no confirmed in-the-wild exploitation is reported in the sources.
  • •Fix is available in commit 5177a70 (JDK-8393212); the interim mitigation is -XX:-UseBASE64Intrinsics.

A heap out-of-bounds write in the OpenJDK HotSpot x86-64 AVX-512 Base64 decoder, tracked as CVE-2026-114938 (Java4Shell), was reported by Calif and disclosed on 17 November 2026, the same day OpenJDK published its advisory and Oracle shipped patches. Oracle rates it CVSS 3.1 8.1 (High); early reports using CVSS 4.0 give 9.2. The flaw is in the SIMD stub that writes a full block when a padded Base64 tail is shorter than four bytes, overrunning the caller-sized destination buffer. Affected builds are Java 17, 21 and 25 before the 17 November 2026 CPU. Per the write-up, the decoder is reachable from request paths that process attacker-controlled Base64 input, and no authentication is required in that case; outcomes described range from crash to code execution. A public proof-of-concept lab and a standalone exploit script are published, showing an ASan-detected overflow on the pre-fix build and a safe return on the patched build (commit 5177a70, JDK-8393212). The articles do not report confirmed. Mitigations listed include applying the patch or disabling the intrinsic with -XX:-UseBASE64Intrinsics.

Start a free Starter trial for enhanced analysis

Ask AI about this cluster

Timeline

2026-11-17
CVE-2026-114938 disclosed and patched
OpenJDK published its advisory and Oracle shipped patches the same day the bug was reported by Calif.
Medium
2026-11-18
First public proof-of-concept released
A public PoC lab and exploit script were published, demonstrating the out-of-bounds write under ASan on the pre-fix build.
Sploitus

More articles in this cluster (12)

Following this threat?

Track Calif and CVE-2026-114938 in your own feed — you're alerted when they show up in new reporting, leak sites or exploitation.

Free account · no card needed

Common questions

Which Java versions are affected?
Java 17, 21 and 25 builds before the 17 November 2026 CPU are reported as affected. Patched builds include commit 5177a70 (JDK-8393212).
Is this being exploited in the wild?
The sources do not report confirmed in-the-wild exploitation; a public proof-of-concept and exploit script are available.
What should we do first?
Apply the 17 November 2026 Oracle/OpenJDK patch. If patching must wait, disable the Base64 intrinsic with -XX:-UseBASE64Intrinsics.