Critical Java4Shell vulnerability leaves many Java apps exposed to remote code execution
by Paul

Critical Java4Shell vulnerability leaves many Java apps exposed to remote code execution

Security researchers at Calif Research have disclosed a critical vulnerability in OpenJDK, the world's most widely used Java runtime, dubbed Java4Shell and tracked as CVE-2026-114938. The flaw is a memory-corruption bug in OpenJDK's Base64 decoder that allows an unauthenticated remote attacker to overwrite heap memory, read it in a fashion reminiscent of the 2014 Heartbleed bug, and ultimately achieve remote code execution. The vulnerability scores 9.2 out of 10 under the CVSS 4.0 framework, placing it firmly in the critical category, and affects OpenJDK version 17.0.6 and newer, meaning virtually all major Java distributions built from it, including Amazon Corretto, Eclipse Temurin, Microsoft's build of OpenJDK, Azul Zulu, Oracle Java SE, and others, are impacted.

The researchers say the vulnerability is unusual in that it involves memory corruption in Base64 decoding, a routine operation performed by countless applications. They demonstrated remote code execution against sample applications built on widely used frameworks such as Apache Struts and Spring Boot, noting that ordinary features like authentication and file uploads can expose the vulnerable decoder. An independent researcher also shared a client-side exploit showing that even a Java program that exposes no service of its own can be compromised simply by opening a TLS connection to a malicious server. Unlike a universal point-and-shoot attack, however, each exploited target reportedly requires a bespoke application profile, and the researchers said they are withholding weaponized exploit chains for specific products until users have had time to patch.

A fix is already available: OpenJDK published a security advisory and Oracle released a patch at 1:00 p.m. Pacific Time on November 17, 2026. All Java users are urged to update immediately. As temporary mitigations, administrators can start OpenJDK with the flag -XX:-UseBASE64Intrinsics to disable hardware-accelerated Base64 operations, or use -XX:UseAVX=2 on x86-64 hosts to disable AVX-512, though the researchers caution the latter flag will prevent startup on ARM systems.

Paul
Written by Paul
Follow
Add as a preferred source on Google
MORE ABOUTOpenJDKJava
OpenJDK iconOpenJDK
  61
  • Free
  • Open Source
  • ...

OpenJDK is an open-source implementation of the Java Platform, Standard Edition, enabling collaboration on various related projects. It is a programming language that emphasizes privacy with features like No Tracking and No registration required. OpenJDK operates offline, ensuring uninterrupted development. It is rated 5 and serves as a robust alternative for developers seeking a comprehensive Java solution.

Other apps mentioned in this article

  • Java icon
    Java
    Programming Language

Comments

0

PHP is now laughing (in bytecode that Java cannot understand) and it reads like: QXQgbGVhc3QsIG5vYm9keSBpcyB0YWxraW5nIGFib3V0IG1lCg==