TUE 24 NOV 2026
Home / Vulnerabilities

Java4Shell Flaw Enables Unauthenticated Remote Code Execution in Jenkins, Jira and Keycloak

A critical OpenJDK Base64 decoder flaw enables remote code execution in multiple enterprise applications, including Jenkins, Jira and Keycloak.

EB By
18 Nov 2026, 11:45 · Updated 20 Nov, 05:38 · 3 min read
A critical OpenJDK vulnerability dubbed Java4Shell allows unauthenticated attackers to execute arbitrary code remotely
A critical OpenJDK vulnerability dubbed Java4Shell allows unauthenticated attackers to execute arbitrary code remotely…

A critical OpenJDK vulnerability dubbed Java4Shell allows unauthenticated attackers to execute arbitrary code remotely on several enterprise applications, including Jenkins, Atlassian Jira, Confluence and Keycloak. Tracked as CVE-2026-114938, the memory-corruption flaw carries a CVSS score of 9.2.

Disclosed by researchers at Calif, the vulnerability affects OpenJDK’s Base64 decoder, which uses accelerated x86-64 instructions to process encoded data. Improper handling of Base64 padding can trigger an out-of-bounds memory write, potentially allowing attackers to compromise vulnerable Java applications.

Malformed Base64 input triggers memory corruption

The vulnerability originates in the decoder’s handling of padding characters such as “=” at the end of Base64 input.

A specially crafted string containing 64 “A” characters followed by an equals sign can trigger the flaw. On OpenJDK 17, the required input increases to 128 “A” characters followed by “=”.

Calif explained the underlying memory corruption:

“At runtime, the decoded buffer length is calculated as (ceil(inp_len / 4) \* 3) – padding. When the bug is triggered, with 65 bytes ([64 bytes] + ‘=’) as input, that calculation allocates a 50-byte buffer. During decoding the bug makes output_mask == -1 for evmovdqub, so 64 bytes are written starting at offset 48, an out-of-bounds write past the end of the buffer.”

The researchers demonstrated unauthenticated remote code execution against Keycloak, Atlassian Jira, Atlassian Confluence, JFrog Artifactory, Jenkins and PingFederate under default configurations.

Authenticated exploitation was also demonstrated against Apache Kafka Broker, Apache Solr, Elasticsearch, Gerrit and Spinnaker. Applications built using Struts and Spring Boot are also affected.

Exploitation can expose sensitive Java process memory

Although the initial memory corruption gives attackers limited control over where data is written, Calif developed techniques to expand its impact.

By corrupting the length of nearby arrays, the researchers demonstrated how the vulnerability could enable attacker-controlled writes and memory reads. Calif calls the memory disclosure technique JavaBleed.

The researchers also demonstrated a client-side attack against Java programs that connect to malicious servers over TLS.

Exploitation reliability required careful memory allocation timing and low-latency network connections. Calif described its approach:

“For the current attack path to achieve optimal stability and reliability in exploitation, Calif turned to physics and utilized money to solve the problem, rather than experimenting with TCP/IP stack configuration.”

“In other words, Calif rented another VM in the same region as our target.”

Oracle releases patches for affected Java distributions

The vulnerability affects OpenJDK 17.0.6 and later, alongside Oracle Java SE, Amazon Corretto, Eclipse Temurin, Microsoft Build of OpenJDK, Azul Zulu, BellSoft Liberica, SAP SapMachine and Red Hat OpenJDK.

Exploitation requires an x86-64 processor supporting AVX-512 VBMI, including Intel Xeon processors from Ice Lake onward and AMD Zen 4 or newer. ARM64 systems are not affected.

Oracle released a fix on November 17, 2026, through its November Critical Patch Update, which addresses 655 vulnerabilities in total.

Administrators should update affected Java installations immediately. Where immediate patching is impossible, Calif’s report identifies -XX:-UseBASE64Intrinsics and -XX:UseAVX=2 as temporary mitigation options. Neither replaces installing the security update.

EB

Covers WordPress vulnerabilities, plugin security and website protection.

Related stories