Java4Shell (CVE-2026-114938): Frequently asked questions about OpenJDK remote code execution vulnerability
A memory corruption flaw in Java's Base64 decoder can be triggered by a specially crafted Base64 string, allowing an attacker to read memory or run code on affected applications. Exploitation requires a specific processor feature and is application-specific, with no universal exploit.
Published on tenable.com
Subscribe
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
Likely a missing bounds check in the Base64 decoding performance shortcut, causing a buffer overflow when processing crafted input.
Impact
An attacker could read sensitive memory (keys, tokens) or run code on affected applications, but only on specific processors and with application-specific exploits; failed attempts may crash the application.
What the attacker needed
Java 17, 21, 25, or 27 affected version; x86-64 CPU with AVX-512 VBMI support; Application passes untrusted data to Base64 decoder; Application-specific exploit required
The fix
Oracle released fixed builds on November 17, and a temporary mitigation is to disable the Base64 shortcut with a Java startup 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.
Java uses a fast shortcut to decode Base64, a common way to encode data like login details. If that shortcut gets a specially crafted input, it can write past the memory it reserved, which may let an attacker read secrets or run their own code. Only certain processors and Java versions are affected, and each application needs its own exploit.
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.