Oracle and the OpenJDK project have released security updates for a critical vulnerability in the Java runtime which security firm Calif found using an AI coding agent and which Calif says can allow an attacker with no credentials to take control of servers running widely used enterprise software.
The flaw, tracked as CVE-2026-114938 and named Java4Shell by Calif, is a memory-corruption bug in OpenJDK's Base64 decoder. Patches and an OpenJDK advisory were published on 17 November 2026. NHS England's National Cyber Security Operations Centre has issued a cyber alert in which it assesses exploitation as likely.
According to Calif, the conditions for exposure and the available mitigations are:
- Java versions from OpenJDK 17.0.6 onward are affected, as are distributions derived from it, including Oracle Java SE, Amazon Corretto, Eclipse Temurin, Microsoft Build of OpenJDK and Red Hat OpenJDK
- Versions 8 and 11 are not affected
- Only x86-64 processors with AVX-512 VBMI are exposed, which covers Intel Xeon Ice Lake and newer and AMD Zen 4 and newer, while ARM64 systems are not affected
- Where patching must wait, starting the Java virtual machine with the flag -XX:-UseBASE64Intrinsics disables the affected code path
Calif said it demonstrated remote code execution without authentication against default configurations of Keycloak, Atlassian Jira, Atlassian Confluence, JFrog Artifactory, Jenkins and PingFederate. It said it is withholding its product-specific exploits until users have had time to upgrade. No exploitation in the wild has been reported.
Calif research Quang Luong, found the bug in about an hour and built a first working exploit in two more, at a token cost of under $200, after directing OpenAI's Codex to audit the Java virtual machine, Calif said. Most of the early results were false positives.
According to Calif, the bug sits in a hardware-accelerated decoding routine which, given input with malformed padding, writes 62 bytes past the end of a buffer. An attacker can use this to overwrite memory, read memory contents or run code remotely. It added that exploitation is not universal and requires work specific to each application.
Calif scores the flaw 9.2 under CVSS 4.0 while Oracle rates it 8.1, or high, under CVSS 3.1. The US Cybersecurity and Infrastructure Security Agency issued an alert on 17 November urging organisations to patch immediately.
NHS England's alert says exploitation depends on the processor requirement and on hardware-accelerated Base64 decoding being enabled, and that exploits will need to be adapted for each application.
Toby Walsh, a computer scientist and AI researcher, told the BBC the flaw was both unlikely and serious because Java is designed to manage memory safely.
Under Article 32 of the UK GDPR, controllers and processors must implement technical and organisational measures that ensure a level of security appropriate to the risk, and Article 5(1)(f) requires personal data to be processed in a manner that ensures appropriate security. Timely application of security updates forms part of those measures.
Java4Shell is the latest in a series of disclosures by Calif, which previously published vulnerabilities it named PHP2Shell and Squidbleed.
