Cyber Security

Java4Shell Vulnerability: What Businesses Must Do Now

A critical OpenJDK flaw disclosed on 17 November 2026 puts Jira, Jenkins, Keycloak and other Java apps at risk. What happened, who is affected and what to do now.

The Java4Shell vulnerability (CVE-2026-114938) is a serious memory-corruption flaw in OpenJDK, the engine that runs most Java software, and it was made public with fixes from Oracle and the OpenJDK project on 17 November 2026. It can let an attacker take over some widely used business applications, such as Jira, Confluence, Jenkins and Keycloak, without logging in, and attackers began probing for it within two days. Any business that runs Java-based software on its own servers or cloud machines should patch now.

Key takeaways

  • Java4Shell affects OpenJDK 17.0.6 and newer, including the 21, 25 and 27 release lines, on x86-64 servers whose processors support AVX-512 VBMI.
  • Fixed builds (17.0.21.1, 21.0.13.1, 25.0.5.1 and 27.0.1.1) were released on 17 November 2026.
  • Exploitation attempts were seen from 18 November, though no successful break-ins had been confirmed at the time of writing.
  • If you cannot patch at once, a JVM start-up flag (-XX:-UseBASE64Intrinsics) switches off the vulnerable code path.
  • Most of the risk sits in self-hosted tools; ask every software vendor whether their product is affected.

What happened

On 17 November 2026, Oracle released its November 2026 Critical Security Patch Update, which credits Quang Luong of the security firm Calif for CVE-2026-114938 and states that Oracle “strongly recommends that customers apply Critical Security Patch Update security patches as soon as possible”. On the same day, Calif published its write-up, describing the bug as “a memory-corruption vulnerability in OpenJDK’s Base64 decoder” and naming it Java4Shell.

Base64 is a routine encoding used in login tokens, cookies and file uploads. According to Qualys, a short, malformed input makes the faster processor-specific version of the decoder “write 62 bytes past the end of a buffer before Java rejects the input”. That can crash the application, leak secrets or, with more work, let an attacker run their own code. No password is needed.

The conditions matter. Calif says the flaw affects OpenJDK 17.0.6 or newer and needs an x86-64 processor with AVX-512 VBMI; ARM64 machines are not affected. Qualys lists the affected chips as Intel Xeon from Ice Lake onward and AMD EPYC and Ryzen from Zen 4 onward, and says standard OpenJDK 8 and 11 are not affected. Tenable’s FAQ notes that Oracle scores the flaw 8.1 out of 10 (high attack complexity), while Calif scores it 9.2 under the newer CVSS 4.0 system. Tenable adds that a Java program can also be compromised by connecting to a malicious server over TLS.

Calif says it found the bug with an AI coding assistant in roughly an hour, built a first working exploit two hours later, and spent under $200 doing so. It claims pre-login code execution in default set-ups of Keycloak, Atlassian Jira and Confluence, JFrog Artifactory, Jenkins and PingFederate, and post-login execution in Apache Kafka, Apache Solr, Elasticsearch and others. Calif stresses there is “no universal exploit”.

Attackers moved quickly. SecurityWeek reported on 19 November that GreyNoise had recorded more than 150 requests from five IP addresses but no successful intrusions on its sensors, and that Previdian had logged nine exploitation attempts. The same report lists vendor responses: Red Hat rated the flaw critical for RHEL 8, 9 and 10; Atlassian advised Data Center customers to disable AVX-512, while its cloud products need no action; Cisco said more than a dozen of its products were affected, with no fixes yet; and Amazon, Microsoft and Azul released patched Java builds. The Keycloak project shipped updated container images and told administrators to start each affected server with the -XX:-UseBASE64Intrinsics flag in the meantime.

Not everyone sees a mass-exploitation event. OX Security estimates that fewer than 0.12% of Java instances worldwide are exposed to remote code execution, because the attack needs the right hardware, an exposed decoder and a product-specific exploit. Even so, internet-facing systems deserve attention first.

Why the Java4Shell vulnerability matters for businesses

Java sits quietly inside a great deal of business software. Many smaller firms never write Java but still run it: a self-hosted Jira or Confluence, a Jenkins build server, a single sign-on portal or a vendor’s ERP product. The tools Calif names are often exposed to the internet so that staff and clients can log in, which is exactly where a pre-login flaw does most damage.

Two points make this harder than a normal monthly patch. First, the fix is in the Java runtime, so updating the application alone may not help if it bundles its own copy of Java in a container or installer. Second, modern cloud servers often use exactly the processors that are affected; Palo Alto Networks lists several common AWS instance families as potentially affected. Crashing a server is also far easier than taking it over.

For Indian businesses, a compromised application server can mean a personal data breach, with the reporting and safeguard duties covered in our DPDP Act compliance checklist. Software and IT services firms should prioritise build servers, because one weak Jenkins or Artifactory server can expose many clients’ code. For US and UK firms, Tenable noted that the flaw had not yet been added to CISA’s Known Exploited Vulnerabilities catalogue, but with probing already under way, waiting for that listing is not a sensible plan.

What to do now

  1. List every Java workload. Include self-hosted tools, vendor appliances, containers and cloud servers, and note each Java version; 17.0.6 upwards needs attention.
  2. Check the processors. On Linux, Calif and Qualys suggest checking /proc/cpuinfo for the avx512f, avx512bw, avx512vbmi and bmi2 flags. ARM64 servers are not affected.
  3. Patch internet-facing systems first. Move to Java 17.0.21.1, 21.0.13.1, 25.0.5.1 or 27.0.1.1, or your vendor’s equivalent build, starting with login portals, Jira, Confluence, Jenkins, Artifactory and Keycloak.
  4. Apply the interim flag where you cannot patch yet. Start the JVM with -XX:-UseBASE64Intrinsics, then restart every instance. Keycloak explains how to confirm the setting has taken effect.
  5. Rebuild containers and images. Updating the host is not enough if the application ships its own Java runtime.
  6. Reduce exposure. Qualys advises that reverse proxies are not a reliable control and suggests moving admin consoles off the internet or behind a VPN.
  7. Ask your vendors directly. Request a written statement on whether their product is affected and when a fix will ship, especially for appliances you cannot patch yourself.
  8. Watch for warning signs. OX Security and Palo Alto Networks point to bursts of Base64 decoding errors and unexpected hs_err_pid crash logs as possible signs of attack attempts.

Last month’s PHP2Shell vulnerability followed the same pattern; a tidy inventory and a tested patch routine make these weeks manageable.

Other tech news this week

  • Bell Canada breach: Bell confirmed that what it called an “agentic” threat actor accessed systems used to order and provision telecom circuits on 17 November and took enterprise customer data, BleepingComputer reported.
  • Jensen Huang back at Nvidia: Nvidia’s board unanimously reinstated Jensen Huang as president and chief executive on 23 November and formed a national security and export control committee, according to Nvidia’s announcement.
  • Amazon buys Decart’s AI optimisation technology: Amazon is acquiring the technology behind Decart’s optimisation stack and its team, in a deal Bloomberg valued at $7.5 billion, as it prepares to sell its Trainium chips to customers, TechCrunch reported.
  • Google AI Mode reads Drive and Wallet: Google Search’s AI Mode can now optionally draw on Google Drive, Google Wallet and the Gemini app for more personal answers, according to TechCrunch.

Frequently asked questions

What is the Java4Shell vulnerability?

Java4Shell (CVE-2026-114938) is a memory-corruption flaw in the Base64 decoder of OpenJDK, disclosed and patched on 17 November 2026. A malformed input can crash a Java application or, in some products, let an attacker run code without logging in. It was found by the security firm Calif.

Which Java versions are affected by Java4Shell?

OpenJDK 17.0.6 and newer, including the 21, 25 and 27 lines, are affected when running on x86-64 processors with AVX-512 VBMI. Standard Java 8 and 11 and ARM64 servers are not affected. The fixed versions are 17.0.21.1, 21.0.13.1, 25.0.5.1 and 27.0.1.1.

Is Java4Shell being exploited?

Security firms saw scanning and exploitation attempts from 18 November 2026, the day after disclosure. GreyNoise reported no successful intrusions on its sensors at that point. Because attackers are actively probing, businesses should patch internet-facing Java systems without delay.

How do I protect my server if I cannot patch Java yet?

Start the Java process with the -XX:-UseBASE64Intrinsics flag and restart every instance, which switches off the vulnerable code path. Also move admin consoles behind a VPN where possible. Treat this as a stopgap and install the patched Java build as soon as your vendor provides it.

If you are not sure which of your systems run Java, or need help patching and hardening them, our managed cybersecurity team can carry out an inventory and patch review with you. You can get in touch with us here.

Sources

Need help with this?

Our team sets up and supports IT, networks, security, AI and software for growing businesses.

Talk to our team