Java4Shell Flaw (CVE-2026-114938) Enables Pre-Auth RCE in Jira, Jenkins, Keycloak and More
About 4 min read
securitysoftwarehardware
A newly disclosed Java vulnerability, dubbed Java4Shell and catalogued as CVE‑2026‑114938, permits unauthenticated attackers to execute arbitrary code on a range of popular enterprise applications, including Atlassian Jira, Confluence, Jenkins, Keycloak, JFrog Artifactory, PingFederate, Apache Kafka Broker, Apache Solr, Elasticsearch, Gerrit and Spinnaker. The flaw resides in a high‑performance Base64 decoder that is automatically selected on x86‑64 processors supporting the AVX‑512 VBMI instruction set. When a malformed Base64 string ending with an extra “=” character is processed, the decoder writes 62 or 63 bytes beyond the allocated output buffer. Although Java rejects the malformed input after the write, the out‑of‑bounds write can corrupt adjacent memory structures, enabling a multi‑stage exploit the researchers call “JavaBleed”. By arranging the server’s memory layout, the overflow can expand a neighboring array, allowing the attacker to write controlled bytes and read back memory, ultimately reaching the part of the JVM that can launch native code.
The vulnerability is present in Java 17.0.6 and later releases on the Java 17 line, as well as in Java 21, Java 25 and Java 27. Standard Java 8 and Java 11 builds are not affected, but the Java SE 8 Performance Pack (build 8u511b33‑perf) is vulnerable, along with several GraalVM distributions for JDK 17, 21 and the GraalVM Enterprise Edition 21.3.20.0.3. The exploit only runs on CPUs that expose the four required AVX‑512 features—avx512f, avx512bw, avx512vbmi and bmi2—found in Intel Xeon Ice Lake, Sapphire Rapids, Emerald Rapids and Granite Rapids families, and AMD Zen 4 or newer silicon. ARM64 processors are immune because they lack the required instruction set.
Oracle, the OpenJDK project and several downstream vendors released patches on the day the flaw was disclosed. Oracle’s advisory lists the fixed builds as the new .1 releases for each affected version (17.0.21.1, 21.0.13.1, 25.0.5.1 and 27.0.1.1). Amazon’s Corretto builds, including 17.0.21.1.2 and equivalent updates for 21, 25 and 27, have also been patched. Azul’s Zulu 17, 21, 25 and 27 editions received November updates, and SAP’s SapMachine line now offers 17.0.21.1, 21.0.13.1, 25.0.5.1 and 27.0.1.1. Red Hat has not yet published fixes for its Enterprise Linux 8‑10 distributions or its OpenJDK 17, 21 and 25 builds, meaning customers must await updated container images before rebuilding and redeploying workloads. Other vendors such as Eclipse Temurin, Microsoft’s OpenJDK build and BellSoft Liberica had not listed patched versions at the time of reporting.
Security researchers at Calif, the firm that first disclosed the issue, have withheld the full exploit code for the six most widely used applications, but independent labs have reproduced the memory corruption and a related memory leak. Upwind demonstrated the overflow on an AWS instance equipped with an Intel Ice Lake CPU, where the write corrupted the next heap object and eventually caused the JVM to crash. Blackpoint Cyber’s Adversary Pursuit Group sent roughly 28,300 malformed login requests to a Spring Boot test service in about 20 seconds, causing repeated crashes without ever authenticating. In a separate local test they used the JavaBleed step to read a secret placed adjacent to the overflow, succeeding in all 30 runs, though they did not achieve remote code execution.
The vulnerability’s impact scores vary across vendors. Oracle rates it 8.1 / 10 under CVSS 3.1, noting that successful exploitation can lead to full takeover of the Java SE runtime. Calif’s own analysis assigns a CVSS 4.0 score of 9.2 / 10, emphasizing the lack of authentication requirement. Red Hat’s preliminary rating is 9.8 / 10, Amazon assigns 8.8 / 10, and Canada’s Cyber Centre describes it as a remote, unauthenticated threat in its government alert. The U.S. Cybersecurity and Infrastructure Security Agency (CISA) does not list the flaw in its Known Exploited Vulnerabilities (KEV) catalog, and Canada’s Cyber Centre reported no known active exploitation at the time of disclosure.
Exploitation hinges on the server decoding Base64 data before authentication checks. Common vectors include HTTP Basic Authorization headers, SAML artifacts, CSRF tokens and other Base64‑encoded fields that many web applications parse early in the request lifecycle. Because the vulnerable decoder is only selected for performance on supported CPUs, the same container image may be safe on one host and vulnerable on another, complicating inventory efforts. Administrators can verify CPU support for the required AVX‑512 features by inspecting the flags line in /proc/cpuinfo and confirming the presence of avx512f, avx512bw, avx512vbmi and bmi2.
Mitigation steps for organizations unable to apply patches immediately include disabling the intrinsic Base64 decoder at JVM startup. Upwind found that the flags -XX:UseAVX=0 or -XX:UseAVX=2 prevented the overflow on all tested versions, though a more aggressive flag -XX:DisableIntrinsic=_base64_decodeBlock can stop the JVM from launching altogether. Operators should also monitor for anomalous patterns such as a high volume of malformed Base64 inputs, repeated JVM crashes, or unexpected memory‑read activity, while recognizing that absence of these signs does not guarantee safety.
Finally, products that bundle their own Java runtime must obtain updates from the respective vendors, restart affected services, and rebuild any container images to ensure the patched JVM is used. The broader lesson underscores the risk of performance‑oriented native intrinsics in managed runtimes: a micro‑optimisation intended to accelerate Base64 decoding introduced a severe out‑of‑bounds write on a subset of modern CPUs, opening a path to pre‑authentication remote code execution across a swath of enterprise software. Prompt patching, CPU‑feature verification, and temporary disabling of the vulnerable intrinsic are essential actions for any organization running Java 17 or later on AVX‑512‑capable hardware.
A new technique called Weight2Shell has been disclosed by cybersecurity researchers, which allows artificial intelligence (AI) models to produce different behavior on different machines, eve…
Season 2: Legacy for Gears of War: E‑Day launches tomorrow, marking the franchise’s twentieth anniversary and offering a wave of new content for both veteran players and newcomers. The updat…
Hela: of Mice & Magic is set to launch on December 1, 2026 for Xbox Series X|S, and the title will be available on day one through Xbox Game Pass. The game presents an open‑world adventure i…