A critical security flaw has been discovered in Java, the backbone of countless business applications worldwide. Found by AI-powered research, the bug puts enterprise systems at risk, prompting an urgent call for companies to identify and patch affected
software.
What Is the New Flaw, 'Java4Shell'?
Dubbed 'Java4Shell', the vulnerability is a memory corruption flaw found in OpenJDK, the most popular open-source version of Java. Tracked as CVE-2026-114938, the bug exists in the software's Base64 decoder, a common component used for tasks like authentication and data transfer. When processing specially crafted data, this decoder can write data outside of its designated memory space, an action that can crash the application or, more alarmingly, be exploited by an attacker to run their own code on the server without needing a password. Security firm Calif, which discovered the flaw, demonstrated that it could be used to gain remote control over popular enterprise tools like Jira, Confluence, Jenkins, and Keycloak.
AI's Role in a New Era of Discovery
The discovery of Java4Shell was not the result of months of manual code review. Researchers at Calif used an AI model to analyze Java's code and identify the subtle weakness in a fraction of the time it might have traditionally taken. This marks a significant shift in cybersecurity, where AI is accelerating the pace of vulnerability discovery. While this helps defenders, it also means that malicious actors have access to the same powerful tools, dramatically shrinking the window between a flaw's discovery and its potential exploitation. The number of disclosed vulnerabilities has surged in 2026, a trend many experts attribute to the rise of AI-assisted security research.
Which Software Versions Are at Risk?
The vulnerability does not affect all versions of Java. It specifically impacts OpenJDK builds of Java 17, 21, 25, and 27 on certain hardware. The flaw is only triggered on x86-64 processors that support a specific instruction set known as AVX-512 VBMI. This includes modern server CPUs like Intel's Ice Lake (and newer) and AMD's Zen 4 (and newer). Systems running on ARM processors or older x86-64 chips without this feature are not affected. Critically, the issue extends to any software that bundles its own Java runtime, including many commercial and open-source enterprise applications. This means companies cannot simply check the system's default Java version; they must audit all applications individually.
How to Check If Your Company Is Exposed
The first step for any business is to build a complete inventory of all Java instances across their infrastructure. This includes bare-metal servers, virtual machines, and container images. IT teams should run commands to find all installed Java runtimes, not just the default one. For Linux, this involves searching the entire filesystem, while on Windows, it requires checking the registry and program files. The next step is to check the CPU capabilities on the host machines to see if they support AVX-512 VBMI. A simple command can verify this on Linux systems. Only systems that meet both criteria—running a vulnerable Java version on susceptible hardware—are at immediate risk.
Immediate Steps for Mitigation and Patching
Oracle and other OpenJDK distributors released emergency patches on November 17, 2026, to fix the vulnerability. The top priority for all organisations is to apply these updates immediately, starting with internet-facing systems. Companies should contact their third-party software vendors to get updated releases for applications that bundle their own Java runtime. After applying patches or deploying updated container images, it is crucial to verify that the running application is indeed using the fixed version. For systems that cannot be patched immediately, a temporary mitigation involves starting the Java Virtual Machine (JVM) with a specific flag that disables the optimised, vulnerable code, though this is not a permanent solution.
















