Java4Shell: OpenJDK Base64 Flaw Raises RCE Risk
CVE-2026-114938, dubbed Java4Shell, affects an AVX-512 VBMI Base64 decoder path in OpenJDK. Here’s what’s confirmed about impact and patching.
Reporting cutoff: 2026-11-18, 02:55 UTC
A memory-corruption vulnerability in OpenJDK’s Base64 decoder can expose Java applications to crashes, memory disclosure and, in application-specific circumstances, remote code execution. Tracked as CVE-2026-114938 and dubbed Java4Shell by security firm Calif, the flaw affects a hardware-accelerated decoding path on qualifying x86-64 processors with AVX-512 Vector Byte Manipulation (VBMI) support.
Calif disclosed the issue on November 17, saying its researchers used an AI model during discovery and exploit development. The firm says the initial vulnerability investigation took about an hour, the first working exploit another two hours, and AI token costs were below $200. Those figures are the researcher's account, not an independently audited measure of the cost or the model's contribution.
The technical risk is real enough to warrant prompt inventory and vendor-specific remediation. But the headline version of the story needs qualification: AVX-512 VBMI hardware is a prerequisite, and achieving code execution depends on how an individual application exposes the vulnerable decoder to attacker-controlled input. There is no universal exploit that compromises every Java service.
What the vulnerability affects
The flaw is in OpenJDK’s Base64 decoding implementation. According to Calif, malformed Base64 input can trigger memory corruption in the accelerated decoder. The Canadian Centre for Cyber Security classifies the weakness as a heap-based buffer overflow (CWE-122) and says successful exploitation could lead to memory corruption, disclosure of sensitive information, process crashes or arbitrary code execution.
The hardware requirement narrows the affected environment. Calif says the vulnerable path requires an x86-64 processor with AVX-512 VBMI support; ARM64 systems are not affected by this specific path. Its disclosure lists Intel Xeon Ice Lake and newer families, and AMD EPYC and Ryzen Zen 4 or newer, among processor families that meet the conditions. Exact processor model and exposed instruction flags should be checked rather than inferred from a broad vendor or generation label.
Calif’s disclosure says OpenJDK 17.0.6 and later are affected. The firm also lists distributions built from OpenJDK, including Amazon Corretto, Eclipse Temurin, Microsoft Build of OpenJDK, Azul Zulu, BellSoft Liberica, SAP SapMachine, Red Hat OpenJDK, Oracle OpenJDK, Oracle Java SE and Oracle GraalVM for JDK.
That upstream-code relationship is a reason to inventory bundled runtimes, not a substitute for a vendor-specific affected-and-fixed version matrix. Vendors package, backport and release fixes on their own schedules. The available records reviewed for this report do not establish one universal fixed build number across all those distributions.
Remote code execution is application-dependent
The most consequential claim is that the memory-corruption bug can become remote code execution. The Canadian Cyber Centre says the issue could be exploited remotely without authentication by sending specially crafted Base64 data to Java processes on qualifying hardware. Red Hat’s advisory likewise describes a remote attacker supplying malformed Base64 input to an affected JVM.
That does not mean every application using Java is automatically reachable or exploitable from the internet. The attacker needs a route to cause the affected decoder to process controlled input, and the route depends on the application’s design and deployment.
Calif’s disclosure and reporting by BleepingComputer distinguish targets where researchers demonstrated unauthenticated exploitation from targets where authentication was required. The unauthenticated list reported by those sources includes Keycloak, Atlassian Jira, Atlassian Confluence, JFrog Artifactory, Jenkins and PingFederate. Elasticsearch appears in the group of applications where authentication was required, alongside Apache Kafka Broker, Apache Solr, Gerrit and Spinnaker. Calif also says it tested sample applications built with Apache Struts and Spring Boot.
These are researcher-reported demonstrations, not evidence that every installation of those products is vulnerable in every configuration. BleepingComputer reports Calif’s qualification that there is no universal exploit: the exploitation chain depends on the application-specific way malicious Base64 data reaches the decoder. Product owners should therefore check the application vendor’s guidance as well as the Java runtime.
AI helped find the flaw, according to Calif
Calif attributes the discovery to researcher Quang Luong, who used an AI model as part of an audit of OpenJDK internals. The company says Luong found the issue in roughly one hour and spent another two hours developing the first working exploit. It puts the total token cost below $200.
The Information independently reported Calif’s account on November 17, identifying the model as OpenAI’s GPT-6 Cyber and saying researchers used it to find the flaw and build exploit demonstrations. That report is independent coverage of the company’s claims, but it is not an independent reproduction of the discovery process or a measurement of the stated token cost.
The episode is evidence that AI-assisted code review can contribute to vulnerability research. It does not establish that the model independently discovered or validated the vulnerability without human direction. Calif’s own framing credits a researcher and describes an iterative workflow in which AI-assisted analysis and human expertise were combined.
For security teams, the operational lesson is not that AI has replaced vulnerability researchers. It is that the cost and speed of certain research tasks may be changing, while defensive teams still need patch inventory, runtime visibility and a way to assess application-specific exposure.
Patch and mitigation status
Oracle published a November 17, 2026 security update. The Oracle-related affected builds are listed in the Canadian Cyber Centre’s alert and in Calif’s disclosure. A University of California, Berkeley Information Security Office notice gives corresponding replacement build numbers for Oracle Java SE and OpenJDK lines:
| Java line | Affected Oracle build listed in advisories | Replacement build listed by Berkeley |
|---|---|---|
| Java 8 | 8u511 / 8u511-perf | 8u513 |
| Java 11 | 11.0.33 | 11.0.33.1 |
| Java 17 | 17.0.21 | 17.0.21.1 |
| Java 21 | 21.0.13 | 21.0.13.1 |
| Java 25 | 25.0.5 | 25.0.5.1 |
| Java 27 | 27.0.1 | 27.0.1.1 |
Important qualification: the source records reviewed here do not unambiguously map every replacement build to CVE-2026-114938 alone. Oracle’s November security update covers multiple Java flaws, and Berkeley’s notice points to Oracle and OpenJDK records for the broader update. Organisations should confirm that a specific vendor release addresses this CVE before treating the table as a complete product-by-product remediation matrix. Builds for Temurin, Corretto, Zulu, Microsoft, BellSoft, SAP, Red Hat and Linux distributions must be checked against their own advisories; Oracle build numbers must not be assumed to apply to them.
Where an immediate patch is not available, Calif recommends disabling the hardware-accelerated Base64 intrinsics with -XX:-UseBASE64Intrinsics, or disabling AVX-512 with -XX:UseAVX=2 on x86-64 hosts. The Canadian Cyber Centre also lists -XX:UseAVX=2 as a possible interim mitigation. Calif warns that the AVX option should only be applied on x86-64: ARM OpenJDK does not recognise it and may fail to start. Mitigations should be validated in a staging environment and checked against the relevant Java vendor’s documentation before deployment.
The practical response is to identify the runtime actually used by each service, including Java bundled inside containers, appliances and third-party application packages. Update through the relevant vendor’s supported channel, then rebuild and redeploy images where runtimes are embedded. Prioritise internet-facing services and systems that accept untrusted Base64 data.
No public evidence of exploitation in the wild so far
The Canadian Cyber Centre said in its November 17 alert that it was not aware of active exploitation at the time of publication. Cisco Talos similarly said it had not observed exploitation in the wild when its November 17 analysis was published. Calif’s proof-of-concept and application demonstrations establish researcher-reported exploitability in test environments; they do not establish that attackers have used the flaw against real-world victims.
That status can change after public disclosure. Security teams should monitor vendor advisories and threat intelligence, and review relevant application, authentication and endpoint logs for suspicious activity. They should distinguish scanning or attempted exploitation from confirmed compromise.
What remains unresolved
The central vulnerability claim is supported by the researcher disclosure and government/vendor security advisories. The patch picture is less settled across the OpenJDK ecosystem. Some notices describe the upstream affected range broadly, while vendor packaging and patch release schedules differ. The exact authentication and reachability requirements also vary by application.
The next useful evidence is a complete, dated matrix from each major OpenJDK distributor naming affected builds, fixed builds and backport status, alongside application-vendor advisories for the products in Calif’s demonstrations. Until those records are available and reconciled, organisations should not infer that a runtime is fixed merely because a similarly numbered Oracle build has been updated.
Java4Shell is a serious flaw in a widely reused runtime component, but the accurate risk statement is narrower than “RCE everywhere”: only systems meeting the hardware and runtime conditions are in scope, and successful exploitation depends on the application’s input path. Inventory first, use the correct vendor patch, and treat JVM flags as temporary mitigation rather than a replacement for remediation.
AI-assisted content
This story was drafted and/or edited with AI assistance and reviewed before publishing.
