CISA Urges Immediate Patching of “Java4Shell” (CVE-2026–114
A memory corruption flaw in the x86-64 HotSpot JVM's Base64 decoder fast path can write past the end of a heap buffer when the final input block contains padding characters. An attacker could send crafted Base64 input to crash the JVM or, on affected CPUs, achieve unauthenticated remote code execution.
Chhoeun K.Keaphirunphirakbot Follow
Published on medium.com
On November 17, 2026, Oracle and the OpenJDK project shipped emergency fixes for a vulnerability now being called “Java4Shell” — a name clearly chosen to echo Log4Shell, the 2021 Log4j vulnerability that forced a global patching scramble. CISA strongly urged organizations to immediately patch the vulnerability…
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
The hand-written assembly fast path for Base64 decoding miscalculates the destination buffer size when the final input block contains padding, causing an out-of-bounds heap write before the malformed input is rejected.
Impact
Successful exploitation could crash the JVM or lead to unauthenticated remote code execution, but only on CPUs that support AVX-512 VBMI and BW; ARM64 and other x86-64 systems are unaffected, and no in-the-wild exploitation is confirmed.
What the attacker needed
Java 17.0.6+, 21, 25 or 27; CPU with AVX-512 VBMI and BW; Attacker-controlled data reaches Base64 decode
The fix
Affected JDK builds were fixed on 17 November 2026 via Oracle's Critical Patch Update and the OpenJDK advisory, tracked as JDK-8393212; as a stopgap, affected JVMs can be started with the flag -XX:-UseBASE64Intrinsics to remove the vulnerable fast path.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
Java runs on a virtual machine called the JVM, which has a fast built-in routine for decoding Base64, a common way to encode binary data as text. A mistake in that routine means that certain malformed input can make the JVM write data past the end of a memory buffer, which can crash it or let an attacker run their own code. Only machines with a particular modern CPU feature are exposed.
What is Memory corruption?
Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.