// Güvenlik

The Java4Shell Vulnerability Enables Remote Code Execution

A memory corruption vulnerability in OpenJDK’s Base64 decoder can be triggered with a crafted 64-character input. CISA has called for an emergency patch.

The Java4Shell vulnerability causes memory corruption in OpenJDK’s Base64 decoder. It is tracked as CVE-2026-114938 and is considered high risk, with an NVD CVSS score of 8.1. The researchers who discovered it assigned it a score of 9.2 on the CVSS 4.0 scale. In an advisory published on November 17, CISA urged organizations to patch immediately.

Java runs beneath much of the software used by businesses and many desktop applications. That means this vulnerability isn’t limited to a single product; it affects any application using the same runtime.

The promise of memory safety is broken

One of Java’s strongest selling points is memory safety. The runtime manages memory on the developer’s behalf and checks access to it. However, the Base64 decoder in the HotSpot virtual machine uses a low-level code path accelerated with processor instructions. Researchers showed that a malformed input can overwrite adjacent memory along this path.

The crafted input is surprisingly short: 64 letter A’s followed by a single equals sign. In older builds of OpenJDK 17, the same trigger works with 128 letters followed by an equals sign. The memory overflow could lead to sensitive data being read, much like Heartbleed, or even to direct remote code execution.

Which systems are affected

The vulnerability can only be exploited on certain processors. It requires x86-64 processors that support the AVX-512 VBMI instruction set; ARM64 systems are reportedly unaffected. The Java version and distributor matter too, as each vendor has published separate information for its own builds.

Using default settings, researchers demonstrated unauthenticated code execution in Keycloak, Jira, Confluence, JFrog Artifactory, Jenkins, and PingFederate. Examples that can be exploited after authentication include Kafka, Solr, Elasticsearch, Gerrit, and Spinnaker. They also achieved the same result with sample applications built using Apache Struts and Spring Boot.

The risk isn’t limited to server-side systems. A Java program that opens a TLS connection to a server can be compromised even if it doesn’t serve requests to others. That means a broad attack surface that also includes Java-based desktop applications and game clients.

Patch and workaround

Oracle released fixes in its November 2026 Critical Security Patch Update. The listed builds are Java SE 8u511b33, 17.0.21.0.3, 21.0.13.0.3, 25.0.5.0.3, and 27.0.1.0.3. The same patches also need to be applied to application servers, container images, and embedded Java versions bundled with devices.

If you can’t apply the patch right away, there’s a temporary mitigation. You can disable the accelerated decoder path by adding -XX:-UseBASE64Intrinsics to the application’s JVM options. The Apache Shiro team recommends setting this option through JAVA_TOOL_OPTIONS. However, this isn’t a permanent fix; you’ll need to upgrade to a version patched by the vendor.

Internet-facing systems should be prioritized. The Java inventory shouldn’t be limited to application servers; container and embedded versions need to be included as well. The vulnerability’s detailed technical write-up and exploit demos are publicly available, making it riskier to delay patching.

Source: CISA KEV · NVD

// JOIN THE CONVERSATION

Share your experience

Bir sorunun, farklı bir çözümün veya eklemek istediğin bir notun var mı? Giriş yapmadan da yazabilirsin.

// KEEP READING

One more note.

All posts ↗︎