Java4Shell: a critical OpenJDK flaw found with AI needs patching now
Java4Shell, a critical OpenJDK flaw found with an AI tool, can let attackers run code remotely. CISA and CERT-In urge patching of affected Java builds.
A serious flaw in OpenJDK, the open-source version of Java, is forcing security teams around the world to hunt for Java installations they may not know they have. Named Java4Shell and tracked as CVE-2026-114938, it was disclosed on 17 November 2026 by the security firm Calif. Attackers who exploit it could read secrets from memory or run their own code on a server without logging in. The US agency CISA issued an alert on 17 November, and India's CERT-In issued its advisory on 18 November. As of the latest checks, no attacks using it have been confirmed.
What Java4Shell is
Java is a programming language used in banking systems, business software, websites and mobile apps. Programs run inside a Java Virtual Machine (JVM), and OpenJDK is the open-source code that many vendors build their own Java products from. A flaw in OpenJDK therefore reaches products from many companies at once.
Java4Shell is a memory-corruption bug in the part of OpenJDK that decodes Base64. Base64 is a way of turning data into plain text made of letters, numbers and symbols, and it is common in login headers, tokens and file uploads. The vulnerable code is a speed-optimised version of the decoder for certain Intel and AMD processors. When fed a short, specially built input, it writes 62 bytes beyond the end of the memory it was given. Think of a cashier who is handed a form with one line too many and writes it onto the next customer's slip. The result can expose passwords, keys or session tokens, and in some conditions let an attacker run commands remotely.
Calif, which found the flaw, rates its severity at 9.2 out of 10 on the CVSS 4.0 scale. Oracle rates it 8.1 on the older CVSS 3.1 scale. These are two different scoring systems, not a dispute over the facts.
Who is affected and who is not
Both conditions below must be true for a system to be at risk. The Java runtime must be an unpatched OpenJDK-based build from version 17.0.6 onward, including versions 21, 25 and 27, plus one Oracle Java SE 8 build. Older releases, including standard OpenJDK 8 and 11, are not affected. The processor must be an x86-64 chip with a feature called AVX-512 VBMI. That covers Intel Xeon chips from Ice Lake through Granite Rapids and AMD EPYC and Ryzen chips from Zen 4 onward. ARM64 chips are not affected by this particular flaw.
Affected distributions include Oracle Java SE, Oracle OpenJDK, Oracle GraalVM, Eclipse Temurin, Amazon Corretto, Microsoft Build of OpenJDK, Azul Zulu, BellSoft Liberica, SAP SapMachine and Red Hat OpenJDK. A patched Oracle release is not automatically a fix for every vendor's build, so teams must check each vendor's guidance. Many products and container images bundle their own copy of Java, which an operating system update will not touch, and these bundled copies may not appear in a software inventory.
The researchers demonstrated remote code execution without logging in, using default settings, on Keycloak, Atlassian Jira and Confluence, JFrog Artifactory, Jenkins and PingFederate. For Apache Kafka, Apache Solr, Elasticsearch, Gerrit and Netflix Spinnaker, an attacker had to be logged in. Analysts note that identity systems issue the tokens other systems trust, and build servers sign and ship software, so a break-in at either could spread to many others. The lists are not exhaustive, and these results do not mean every installation is vulnerable or compromised.
How it was found, and why that matters
Calif says its researcher Quang Luong used OpenAI's Codex tool to examine OpenJDK code. The AI pointed to a possible problem in the Base64 decoder, and Luong then tested it and built a proof of concept, a demonstration that the flaw can be triggered. The firm says it took about an hour to identify the bug and two more hours to write the first working exploit. It is the second recent case of AI-assisted research finding a major web-server flaw. In October 2026 the same firm disclosed PHP2Shell, two flaws in PHP, after which the US National Security Agency issued an advisory on 21 October and CERT-In on 22 October, the latter aimed at small and medium businesses.
That speed is what worries defenders. If an AI tool and a researcher can go from nothing to a working exploit in three hours, attackers with the same tools may be quick to copy. Analysts note that the technical details are public and that the researchers say the details leaked before the patch. The researchers are holding back their product-specific exploit code until organisations have had time to upgrade. Java's history shows why this is taken seriously: Log4Shell in December 2021 and Spring4Shell in March 2022 both led to urgent advisories.
What agencies and vendors are telling organisations
CISA urged organisations to check their inventories for Java development kits and runtimes, including those bundled inside other applications, container images and devices, and to apply vendor updates, starting with systems that face the internet. If patching must wait, it suggests limiting access to affected services, validating incoming Base64 data and watching for unusual Java processes or crashes. These are stop-gaps, not fixes. Analysts add that a single JVM setting closes the exposure where patching must wait.
CERT-In warned that a remote attacker could send a malformed Base64 request and potentially execute code, and advised users of affected Oracle Java SE and Oracle GraalVM products to install Oracle's updates. Oracle published its November 2026 security update on 17 November. Canada's cyber centre and the European Union's CERT-EU also urged organisations to identify affected systems and install updates.
What it means for Indian businesses
Indian banks, fintechs and software firms run a lot of Java, including identity and build systems of the kind named above. The first job is an inventory: find every Java runtime, including those inside vendor products. The second is to rank by exposure, putting internet-facing identity, build and collaboration systems first. The third is to patch or apply the stop-gap.
Use the simulator to estimate how long a patch campaign could take. The defaults are examples and not any company's data.
What to watch next
Watch for whether security firms confirm attacks in the wild, for the researchers' publication of their product-specific exploits, and for vendors that have not yet shipped fixed builds. Teams should also look for updates to the guidance on which versions are affected.
What is not yet checked: the sources differ on small details of which Oracle release notes list the CVE, and on early patch status, so teams should confirm fixed builds against their own vendor's advisory. The affected-version list comes from a security vendor's analysis and the researchers' own statements, not from an independent audit. No exploitation had been confirmed as of 17 and 18 November.
Key takeaways
- Java4Shell, CVE-2026-114938, is a critical memory-corruption flaw in OpenJDK's Base64 decoder, disclosed on 17 November 2026.
- It affects unpatched OpenJDK-based builds from 17.0.6 onward on x86-64 chips with AVX-512 VBMI, and not ARM64.
- Researchers demonstrated remote code execution without login on six products, including Jenkins, Jira and Keycloak.
- CISA alerted on 17 November and CERT-In on 18 November; no attacks had been confirmed as of those dates.
- Teams should inventory every Java runtime, including bundled ones, and patch internet-facing identity and build systems first.
Sources
- [How to Find, Mitigate, and Patch the Critical Java4Shell Flaw (CVE-2026-114938) Now](https://blog.qualys.com/vulnerabilities-threat-research/2026/11/17/how-to-find-mitigate-and-patch-the-critical-java4shell-flaw-cve-2026-114938-now) (Qualys, 17 November 2026, updated 19 November 2026)
- [Java security flaw explained: Why CISA, CERT-In urge urgent software update](https://www.business-standard.com/technology/tech-news/java-security-flaw-explained-why-cisa-cert-in-urge-urgent-software-update-1261119007181.html) (Business Standard, 19 November 2026)
Tags: Cybersecurity Java CERT-In CISA AI-assisted research