Java2Shell (Java4Shell): a critical flaw in Java, who is really affected?
Read the step-by-step Java2Shell guide →
On 17 November 2026, Oracle fixed a Java flaw, CVE-2026-114938, nicknamed "Java4Shell" or "Java2Shell". According to the researcher who found it, it allows an attacker to take control of a server without credentials. Yet it only concerns some machines.
In short
- Severity: 8.1 out of 10 according to Oracle, 9.2 out of 10 according to the researcher.
- Java is not JavaScript: WordPress, WooCommerce, Shopify and YouCan sites, as well as JavaScript sites, are not affected, and neither are Android apps.
- Conditions: an unpatched Java 17, 21, 25 or 27, on a recent processor with the AVX-512 VBMI instruction (Intel Ice Lake and later, AMD Zen 4 and later), with a running Java program that receives data from outside.
- Fixes: available from Oracle and Amazon; not yet from Red Hat, AlmaLinux, Rocky, Debian or Ubuntu as of 18 November.
- Attacks: no real-world attack reported to date.
Who should check?
Companies and administrators who run Java software on their servers: Tomcat, Jenkins, Jira, Confluence, Keycloak, Elasticsearch, business software, Minecraft servers. The researcher claims to have taken control, in their default configuration, of Keycloak, Jira, Confluence, Artifactory, Jenkins and PingFederate. He has not published his attack code.
If you have business or point-of-sale software installed by a provider, ask them whether it uses Java and which version.
What to do?
- Check the Java version, the processor and the running Java programs: the commands, which carry no risk, are in our step-by-step guide.
- While waiting for the fix, add the
-XX:-UseBASE64Intrinsicsstartup option, recommended by Red Hat, then check that it is active. - As soon as the fix is released, update Java and restart every Java service: without a restart, the old version stays in memory.
What we do not know yet
- When Red Hat, AlmaLinux, Rocky, Debian and Ubuntu will release their fixes.
- Whether the takeover claimed by the researcher will be reproduced publicly: the current public code only crashes Java.
We will update this article and the guide when the fixes arrive.