Java4Shell (CVE-2026-114938): Find affected Java in your container images
A buffer overflow in the optimized Base64 decoder of OpenJDK on x86-64 processors with AVX-512 VBMI allows remote code execution when attacker-supplied data reaches the decoder. Exploitation requires custom work per target and a failed attempt can crash the Java process.
Published on sonarsource.com
Calif, a security research firm, reported the flaw and named it Java4Shell. Calif reports it demonstrated remote code execution without logging in against several widely used Java products in their default configurations.
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
Impact
An attacker could achieve remote code execution without logging in against some Java products, though each exploit needs custom work and a failed attempt can crash the process.
What the attacker needed
X86-64 CPU with AVX-512 VBMI; accelerated decoder enabled (default); attacker-supplied data reaches Base64 decoder
The fix
Oracle fixed the flaw in its November 17 Critical Security Patch Update; until patching, the accelerated decoder can be disabled with a Java option.
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.
A part of Java that decodes Base64 data (a way of encoding binary as text) has a bug that lets specially crafted input overwrite memory. An attacker who can send such input to a vulnerable Java program could run their own code on the server. Only certain modern processors are affected, and the attack is not trivial.
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.