Java4Shell (CVE-2026-114938) explained, and do you need to update Java?
CVE-2026-114938 is a security flaw in Java that Oracle and the OpenJDK project fixed on 17 November 2026. The US Cybersecurity and Infrastructure Security Agency (CISA) says it is known as "Java4Shell". Some people search for it misspelt as "java2shell". Oracle's and OpenJDK's own advisories refer to it only by its CVE number. This guide is accurate as of 18 November 2026.
Quick answer
CVE-2026-114938 is a memory corruption flaw in Java that CISA says could let an attacker run code without logging in. Oracle lists Java SE 17, 21, 25 and 27 as affected, and one Java 8 build. Check whether you have Java. If you do and use it, update it. If you don't use it, java.com's instructions show how to remove it.
What is Java4Shell?
CISA's alert of 17 November describes it as a critical memory corruption flaw that affects the Base64 decoder of the x86-64 HotSpot Java Virtual Machine, which is part of the Java Development Kit (JDK). CISA says specially crafted Base64 input could crash the Java Virtual Machine and allow unauthenticated remote code execution, meaning someone could make the machine run their own instructions.
Oracle rates it 8.1 on version 3.1 of the CVSS severity scale, and the NVD record describes it as difficult to exploit. If those scores are new to you, see CVE and CVSS explained. Oracle's note on this flaw says it can only be exploited by supplying data to the affected part of Java "such as through a web service". CISA tells organisations to put internet-facing systems first when they patch.
Which Java versions are affected, and which fix it?
Oracle's Critical Security Patch Update for November 2026 lists these supported versions as affected:
- Oracle Java SE 8u511b33-perf, 17.0.21.0.3, 21.0.13.0.3, 25.0.5.0.3 and 27.0.1.0.3
- Oracle GraalVM for JDK 17.0.21.0.3 and 21.0.13.0.3
- Oracle GraalVM Enterprise Edition 21.3.20.0.3
Oracle adds that earlier versions of affected releases are likely to be affected too. The OpenJDK advisory of 17 November marks this flaw against Java 17, 21, 25 and 27, not against 8 or 11, and says "We recommend that you upgrade as soon as possible."
Oracle's Java security baseline, which java.com says shows the latest version for each release family, lists 27.0.1.1 for Java 27, 25.0.5.1 for Java 25, 21.0.13.1 for Java 21, 17.0.21.1 for Java 17, 11.0.33.1 for Java 11 and 1.8.0_513 (Java 8 Update 513) for Java 8. Java 8 Update 513 for desktops was released on java.com on 17 November 2026.
CISA also warns that Java can come bundled with other software and may not show up as a separate entry in a list of installed software. It tells organisations to apply Java and vendor patches as soon as they are available.
I have Eclipse Temurin or another OpenJDK build. Am I affected?
Eclipse Temurin, the Java builds published by the Adoptium project, has its own guidance for this flaw, dated 18 November 2026. Adoptium says the flaw is in OpenJDK 17 and later and lets an unauthenticated remote attacker run code on x64 systems, and that a system is only affected if its processor supports the AVX-512 VBMI instruction set. It lists Temurin JDK 11 and JDK 8 as not affected.
Adoptium lists these Temurin versions as containing the fix:
- JDK 27.0.1.1+4
- JDK 25.0.5.1+2
- JDK 21.0.13.1+2
- JDK 17.0.21.1+2
Adoptium says the fixed binaries go on the Temurin download page, its installable packages are updated at the same time, and container images appear on Docker Hub once every binary for that JDK version is out. When it published the guidance, it said binaries were being released as testing finished. If you can't upgrade straight away, Adoptium gives an interim mitigation: add -XX:-UseBASE64Intrinsics to your Java command line or start-up script to turn off the affected code path.
The OpenJDK advisory of 17 November lists the versions affected by the flaws fixed in that release as 27.0.1.0.3, 25.0.5.0.3, 21.0.13.0.3, 17.0.21.0.3, 11.0.33, 8u512 and earlier. It marks CVE-2026-114938 against Java 17, 21, 25 and 27 only. It doesn't list fixed version numbers.
Do I have Java on my Mac or PC?
Here is how java.com says to check.
On a Mac:
- Open System Preferences and look for a Java icon. java.com says that if there is no Java icon, Java 8 or later is not installed.
- If there is one, click it to open the Java Control Panel, then General > About to see the version.
- Developers and anyone who installed a JDK can open Terminal and type
java -versionto see the default JDK. java.com notes the JRE and JDK are separate and can both be on one Mac.
On Windows 10:
- Click Start.
- Scroll to the Java folder.
- Click it, then About Java to see the version.
On Windows 11, java.com's uninstall page opens the list of installed programs at Start > Settings > System > Apps > Apps & features. Look through it: java.com says Java appears in Windows's program list as "Java 8" with an update number, and older versions may be listed as Java(TM), Java Runtime Environment, Java SE, J2SE or Java 2.
Apple's own Java download is a legacy Java 6 runtime for older macOS versions, and Apple's page sends people to Oracle for the latest Java.
Do I need to update Java or uninstall it?
If you find Java and you use it for something, update it. On a Mac, java.com says to open the Java icon in System Preferences, go to the Update tab and click Update Now. On Windows, install the latest version from java.com.
If the only Java you have is Java 8 from java.com, Oracle's entry for this flaw names Java 8 only as the build 8u511b33-perf, and OpenJDK doesn't mark Java 8 at all. Update to Java 8 Update 513 anyway, because the same patch update fixes other Java flaws that do list Java 8.
If you don't know why Java is there and nothing you use needs it, removing it is a reasonable choice. java.com says keeping old versions of Java on your system "presents a serious security risk".
To uninstall Oracle Java on a Mac, java.com gives these Terminal commands, which need an administrator account:
`` sudo rm -fr /Library/Internet\ Plug-Ins/JavaAppletPlugin.plugin sudo rm -fr /Library/PreferencePanes/JavaControlPanel.prefPane sudo rm -fr ~/Library/Application\ Support/Oracle/Java ``
java.com warns not to remove the Java tools in /usr/bin, because that folder is part of macOS. A JDK is removed separately, and java.com links to Oracle's instructions for it.
To uninstall Java on Windows 11:
- Click Start, then Settings.
- Select System, then Apps > Apps & features.
- Select the Java entry and click Uninstall.
- Follow the prompts.
On Windows 10 the path is Start > Settings > System > Apps & features. java.com also offers a Java Uninstall Tool for Windows.
Is Java4Shell being used in attacks?
None of the official sources says so. CISA's alert of 17 November doesn't say the flaw is being exploited, and CISA's own assessment attached to the NVD record on 17 November gives exploitation as "none". The flaw was not in CISA's Known Exploited Vulnerabilities catalogue as of its 18 November update. CISA still urges organisations to patch immediately.
Oracle's advisory also says it has had reports of attackers succeeding because customers hadn't applied patches that were already available. That's the case for updating promptly.
More questions
Does Java4Shell affect Apple silicon Macs?
CISA describes the flaw as being in the x86-64 HotSpot virtual machine. Oracle's and OpenJDK's advisories don't say whether Macs with Apple silicon, or any other processor type, are outside it, so we don't say so either. Adoptium's guidance for Temurin describes the flaw on x64 systems and says the processor must support AVX-512 VBMI for a system to be affected. It doesn't mention Macs. If you have Java on any Mac, update it or remove it.
Can I uninstall Java 8?
Yes. java.com gives uninstall steps for Mac and Windows, and recommends removing all older versions of Java. It also says some applications depend on a particular Java version and may not run without it, so check whether anything you use needs Java before you remove it.
Do I need to do anything if I don't have Java?
Not for Java4Shell. Keep your operating system and apps updated as usual, because CISA notes that Java can come bundled with other software without showing up as a separate entry, and tells organisations to apply vendor patches as well as Java ones.
What does CVSS 8.1 mean?
CVSS is a scoring system for how severe a security flaw is. The NVD record labels Oracle's 8.1 for this flaw as high, with the attack reachable over a network, no login needed and high attack complexity. CVE and CVSS explained goes into the scale.
Sources
- Oracle Critical Security Patch Update Advisory, November 2026, Oracle
- OpenJDK Vulnerability Advisory: 2026/11/17, OpenJDK
- Eclipse Temurin guidance for CVE-2026-114938 "java4shell", Adoptium
- Critical Java Vulnerability Requires Immediate Patching, CISA
- CVE-2026-114938, National Vulnerability Database
- Known Exploited Vulnerabilities Catalog, CISA
- Java security baseline, Oracle
- Download Java, java.com
- Java 8 release changes, java.com
- How to find Java version in Windows or Mac, java.com
- Installing and using Oracle Java on macOS, java.com
- How do I update Java for my Mac?, java.com
- How do I uninstall Java on my Mac?, java.com
- How do I uninstall Java on my Windows computer?, java.com
- Why should I uninstall older versions of Java from my system?, java.com
- What is Java and why do I need it?, java.com
- Download Java for OS X 2017-001, Apple