3 min Security

Critical Java4Shell vulnerability allows attacks on apps

Critical Java4Shell vulnerability allows attacks on apps

The U.S. Cybersecurity and Infrastructure Security Agency (CISA) is urging organizations to immediately patch the critical Java vulnerability CVE-2026-114938. The vulnerability, known as Java4Shell, is located in the Base64 decoder of the HotSpot JVM. It can lead to remote code execution without authentication. Oracle is addressing the issue in a new Critical Security Patch Update.

The Cybersecurity and Infrastructure Security Agency (CISA) has issued an alert regarding the vulnerability. It involves a memory corruption vulnerability in the Base64 decoder of the x86-64 HotSpot Java Virtual Machine, a component of the Java Development Kit.

The issue lies in the hardware-accelerated Base64 intrinsic that HotSpot uses on Intel and AMD processors, according to Prophet Security. Orca Security reports that Java 17, 21, 25, and the recent Java 27, among others, are vulnerable. Builds of Java 8 and 11 also require an update.

The parties differ in their severity assessment. Researchers at Calif, who discovered the vulnerability, assign the flaw a CVSS 4.0 score of 9.2. Oracle, using CVSS 3.1, arrives at a score of 8.1, partly due to the high complexity of the attack, reports SecurityWeek. Calif researcher Quang Luong discovered the flaw while auditing OpenJDK.

No universal exploit

Calif demonstrated remote code execution on environments running Jira, Confluence, Jenkins, and Keycloak. However, there is no universal exploit. An attacker needs a specific path for each application to get malicious Base64 data to the decoder.

CISA points out that JDKs and Java runtimes are often not listed as separate items in software inventories. They are also hidden within third-party applications, container images, and appliances. Systems connected to the internet must be patched first. If that isn’t possible immediately, CISA recommends validating Base64 input at the application edge, limiting input size, and restricting unauthenticated access. In addition, administrators should watch for unexpected JVM crashes, unknown runtimes, and suspicious Java processes.

The patched builds include 8u513, 11.0.33.1, 17.0.21.1, 21.0.13.1, 25.0.5.1, and 27.0.1.1. As a temporary measure, the Base64 intrinsic can be disabled using -XX:-UseBASE64Intrinsics. Distributions such as Temurin, Corretto, Zulu, Microsoft Build, OpenJDK, and Red Hat OpenJDK also require updates.

Oracle addresses Java4Shell in the November Critical Security Patch Update (CSPU), which contains 655 new security patches. A CSPU is a smaller, targeted update released in addition to the regular quarterly updates. In late October, Oracle had already issued separate Security Alerts for four other CVEs. Oracle says it is still receiving reports of attacks exploiting vulnerabilities for which patches are already available. The company therefore advises customers to “remain on actively-supported versions and apply security patches without delay.”

Tip: PHP2Shell exploited four days before disclosure, says Amazon