Cybersecurity · Threats, malware and attacks

Java4Shell

In Spanish: Java4Shell
Sound like a pro →
See in the galaxyCopy linkCite
Cite this definition

Critical vulnerability in OpenJDK’s hardware‑accelerated Base64 decoding that enables remote code execution.

Updated: 19/11/2026Reading: 1 min⚑ Report a mistake

Description

Java4Shell is a memory‑corruption vulnerability discovered in the hardware‑accelerated Base64 decoding function of the OpenJDK platform. The flaw occurs when the decoder processes specially crafted Base64 data, causing overwriting of the Java process’s memory regions. This overwrite can be leveraged by an attacker to extract sensitive information or inject code that runs remotely on the affected application. The vulnerability is only triggered on x86‑64 processors that support AVX‑512 instructions and when hardware decoding is enabled.

History

The name Java4Shell originated in a security advisory published by the security firm Calif, which described the vulnerability as CVE‑2026‑114938. The finding was made with the assistance of an AI coding assistant and was disclosed in 2026, accompanied by patches and mitigations from Java vendors.

Examples

In the disclosure, the researchers demonstrated that a string consisting of 64 “A” characters followed by a “=” sign was sufficient to trigger memory corruption in affected OpenJDK versions. Using this string, they managed to execute remote code in popular applications such as Jenkins, Confluence, and Apache Tomcat that employed hardware‑accelerated Base64 decoding.

Related terms

Added to Glosarix after appearing in a BleepingComputer article published on November 18, 2026.