← Back to articles
● Newsjavavulnerabilitiespatchingoraclecybersecurity

Java4Shell: the CVE-2026-114938 Java flaw and how to patch it

By · November 18, 2026 at 6:22 AM UTC · 7 min read

Updated:

Oracle has fixed Java4Shell (CVE-2026-114938), a bug in Java's Base64 decoder that lets an unauthenticated attacker take over Java over the network. It affects Java 17, 21, 25 and 27 on certain Intel and AMD chips, and apps like Jira, Jenkins or Keycloak. Which versions fix it and what to do.

File JG · DocumentBack to news

Java4Shell: the CVE-2026-114938 Java flaw and how to patch it

Type
News
Author
Date
Updated
Reading time
7 min read
Topics
Cybersecurity
Subjects
java, vulnerabilities, patching, oracle, cybersecurity

Summary

Oracle has fixed Java4Shell (CVE-2026-114938), a bug in Java's Base64 decoder that lets an unauthenticated attacker take over Java over the network. It affects Java 17, 21, 25 and 27 on certain Intel and AMD chips, and apps like Jira, Jenkins or Keycloak. Which versions fix it and what to do.

Oracle shipped its monthly Java security update on Tuesday, November 17, and one of the bugs it fixes now has a name: Java4Shell. It is tracked as CVE-2026-114938 and scores 8.1 out of 10, and according to Oracle's advisory1 an attacker with no username or password can exploit it over the network to take over Java. The same day, the US cybersecurity agency CISA urged organizations to patch immediately2.

If your company runs Java applications, and almost every company does even if nobody has noticed, it's worth checking today which versions you have. I'll update this story as new details come out.

◢What is Java4Shell?

It is a memory corruption bug in the Base64 decoder of Java's HotSpot virtual machine on x86-64 processors, according to CISA's alert2. Base64 is a way of turning data into plain text, and it shows up everywhere: login headers, tokens, email attachments, configuration files.

CISA says a specially crafted Base64 string could crash Java and allow remote code execution without authentication. In plain terms: if a Java application receives that string from the internet and decodes it, the attacker might end up running their own programs on the server.

Oracle places the flaw in the Compiler component and rates it as difficult to exploit. Its note adds that it can be attacked by supplying data to the affected functions, for example through a web service, without anyone running an applet or a downloaded application. Oracle credits the discovery to Quang Luong of Calif.io and to Albert Yang.

◢Which applications and servers are at risk

Calif has published its technical write-up and, as reported by The Hacker News3 and BleepingComputer4, its researchers managed to run code without logging in, under default settings, on Keycloak, Atlassian Jira, Atlassian Confluence, JFrog Artifactory, Jenkins and PingFederate. With a valid account they also pulled it off on Apache Kafka, Apache Solr, Elasticsearch, Gerrit and Spinnaker. Calif says the list isn't complete and rates the flaw 9.2 out of 10 under CVSS 4.0, while Oracle gives it 8.1 under CVSS 3.1.

One condition narrows the scope. The vulnerable code is a faster version of the Base64 decoder that Java only uses on x86-64 Intel and AMD processors that support the AVX-512 VBMI instructions. On other processors, ARM included, that code never runs. That has a practical upshot: the same container image can be vulnerable on one server and not on another, depending on the processor of the machine it starts on.

There's no one-size-fits-all attack either. According to both outlets, each application needs its own way of getting the malicious Base64 string to the decoder.

◢Which Java versions are affected?

According to Oracle's advisory1, these are the affected supported versions:

  • ▹Oracle Java SE 17.0.21.0.3, 21.0.13.0.3, 25.0.5.0.3 and 27.0.1.0.3.
  • ▹Oracle Java SE 8u511b33-perf, the Performance Pack edition of Java 8.
  • ▹Oracle GraalVM for JDK 17.0.21.0.3 and 21.0.13.0.3, and GraalVM Enterprise Edition 21.3.20.0.3.

Java 11 and the regular edition of Java 8 are not on the list for this bug, although they do get other fixes in the same update. Amazon doesn't list it among the fixes in its Corretto 115 release either.

Oracle also notes that it only tests supported versions and that older releases in those same lines are likely affected too. Both outlets add that on the 17 line the bug is present from version 17.0.6 onward. If you have a Java 17, 21, 25 or 27 that nobody has touched in years, assume it's in scope.

◢Is it being exploited yet?

Attempts have started, although no successful attack has been confirmed. As reported by The Hacker News6, watchTowr is seeing reconnaissance requests looking for vulnerable servers as well as "blind" exploitation attempts against its honeypot sensors, and Previdian has counted nine attempts against five of its sensors from six IP addresses. Cloudflare says it has seen, for the first time, the same source using both Java4Shell and ARTEX, the AI penetration testing framework that attackers increasingly use to automate attacks. watchTowr adds that the flaw is far trickier to exploit than most, because it needs a specific CPU and Java version and an application that decodes attacker-controlled Base64. As of November 26, the flaw is not in CISA's catalog of exploited vulnerabilities7 and the NVD entry8 still marks exploitation as "none". The fact that attacks are already being tried is reason enough not to wait. I wrote recently about Google spotting AI agents that read patches and exploit the bug on their own, so the gap between a patch shipping and the first attack keeps shrinking.

For now, Calif hasn't released the full attacks it used against Jira, Jenkins and the other applications, as reported by The Hacker News and BleepingComputer.

Oracle's update includes 11 fixes for Java SE, and the company says all of them can be exploited over the network without credentials. Java4Shell is the most serious one, but it isn't the only reason to update.

◢Where could Java be hiding in my company?

This is the hard part. Java isn't just a program someone installed on a laptop. It ships inside server applications, developer tools, internal search engines, integration platforms and network appliances. CISA says so explicitly: JDKs and Java runtimes bundled with third-party applications, container images or appliances may not show up as separate entries in your software inventory.

For a technical team, the first step is simple: run java -version on every server and in every container image, and look for JDK or JRE folders inside installed applications. For a small business without in-house IT, the first step is a question to whoever runs your systems.

◢Which versions fix it

Oracle released the new builds on November 17: JDK 17.0.21.19, JDK 21.0.13.110 and JDK 25.0.5.111. Amazon shipped fixed Corretto builds the same day that explicitly list CVE-2026-114938: 17.0.21.1.2, 21.0.13.1.2 and 25.0.5.1.2, according to its changelog12, and 27.0.1.1.4 for Java 27, according to that branch's changelog13. Those Corretto builds are based on the new OpenJDK 17.0.21.1, 21.0.13.1, 25.0.5.1 and 27.0.1.1 releases.

If you use a different Java distribution, such as Red Hat's, Eclipse Temurin, Azul or Microsoft's, look for its advisory on this CVE and check whether a fixed build is out. Each vendor ships its own fixed build.

◢What to do now

For the technical team, following the guidance from CISA2 and Oracle1:

  1. ▹Take an inventory of every Java runtime you have, including the ones bundled inside applications, containers and appliances. Also check which servers have processors with AVX-512 VBMI: on Linux, grep -o -w avx512vbmi /proc/cpuinfo | head -1 prints something if the processor supports it. Even so, update all of them, because an image running today on a processor without those instructions can land tomorrow on one that has them.
  2. ▹Apply the updates as soon as they're available, starting with internet-facing systems.
  3. ▹Restart services after updating and rebuild container images. An updated Java on disk protects nothing if the running process is still the old one.
  4. ▹If you can't patch yet, Calif suggests starting Java with the -XX:-UseBASE64Intrinsics option, which turns off only the vulnerable fast decoder, or with -XX:UseAVX=2, which turns off AVX-512 entirely and only applies to x86-64 servers. Both are stopgaps to remove once the patch is in. CISA also suggests: restrict and validate Base64 input at the application boundary, enforce input size limits and limit unauthenticated access. Oracle adds that blocking the network protocols the attack needs can reduce the risk, but neither approach replaces the patch.
  5. ▹Watch for unexpected Java virtual machine crashes, Java processes you don't recognize and runtimes that shouldn't be there, which are the signs CISA mentions.

◢What leadership should ask

If your IT is outsourced, the conversation with your provider fits in three questions: which of our applications use Java, which version are they on, and when will you apply the November 17 update? The same goes for off-the-shelf software: many vendors will need to ship their own update, because Java is bundled inside their product and you can't swap it yourself.

It's the same pattern we saw with the critical Apache HTTP Server flaw: a foundational piece that's everywhere, that nobody looks at because it works, and that suddenly has to be tracked down in a hurry. Knowing what you have installed before the advisory lands is what turns a week of stress into an afternoon of work.

If you want your team to know how to react to advisories like this one and ask suppliers the right questions, that's part of what I cover in my cybersecurity training.


← Back to articles

The week's posts, in your inbox

A weekly roundup of what I publish and, if you want, an alert straight away when something serious happens. Always only on the topics you pick.

What do you want to hear about?
Which emails do you want?

You'll be asked to confirm, and you can unsubscribe from any email. Privacy policy

The week's posts, in your inbox

A weekly roundup of what I publish and, if you want, an alert straight away when something serious happens. Always only on the topics you pick.

What do you want to hear about?
Which emails do you want?

You'll be asked to confirm, and you can unsubscribe from any email. Privacy policy

Related documents

  1. Article

    GL.iNet routers hacked via GoodCloud: how to check yours

    On 20 November an attacker used GoodCloud, GL.iNet's remote management cloud, to run root commands on customers' routers and KVMs. GL.iNet has shipped fixed firmware, but updating does not clean a device that was already hit. What happened, how to check and what to do.

  2. News

    pCloud Pass cyberattack: what we know and what to do if you use it

    pCloud has confirmed a cyberattack on its pCloud Pass password manager after users received alerts about unknown devices connecting to their accounts. It says some email addresses were exposed and its cloud storage was not affected. What we know, what we don't and what to do.

  3. News

    SAP confirms a security incident in its GitHub environment

    SAP has confirmed a cybersecurity incident after reports that attackers stole employee tokens and got into its GitHub development environment. It says it sees no access to customer data. What we know, what we don't and what to watch if your company runs SAP.

End of documentBack to news