Skip to Side A
SIDE A AI & ML

How to Find, Mitigate, and Patch the Critical Java4Shell Flaw (CVE-2026-114938) Now

Track #55 Date Artist Saeed Abbasi Plays 838

Executive Summary Java4Shell (CVE-2026-114938) is a critical memory-corruption vulnerability in OpenJDK’s Base64 decoder. The researchers who found it rate it 9.2 under CVSS v4.0, and Oracle rates ...

How to Find, Mitigate, and Patch the Critical Java4Shell Flaw (CVE-2026-114938) Now

Change log

Update November 20: Expanded Qualys product information to help security teams detect Java4Shell exposure across assets, applications, and cloud environments; prioritize risks; and take mitigation and remediation action.

Click here to review the change log history
  • Update November 20: Expanded Qualys product information covering detection, prioritization, and remediation.
  • Update November 17: Initial publication of the Java4Shell (CVE-2026-114938) security blog.

Executive Summary

Java4Shell (CVE-2026-114938) is a critical memory-corruption vulnerability in OpenJDK’s Base64 decoder. The researchers who found it rate it 9.2 under CVSS v4.0, and Oracle rates it 8.1 under CVSS v3.1. An attacker with no credentials can corrupt Java heap memory, read secrets from it, and reach remote code execution. Researchers demonstrated pre-authentication RCE on default installations of Keycloak, Jira, Confluence, Artifactory, Jenkins, and PingFederate. Unpatched OpenJDK builds from 17.0.6 onward, from any vendor, are affected when they run on x86-64 processors with AVX-512 VBMI, which includes Intel Xeon from Ice Lake through Granite Rapids and AMD EPYC from Zen 4 onward. Oracle released fixes on November 17, 2026, and a single JVM flag closes the exposure where patching has to wait. CISA has issued an alert urging organizations to patch immediately. Start with internet-facing identity, CI/CD, and collaboration systems, and assign an owner and a deadline to every system still unpatched.


What’s at Risk

A Critical Java Flaw Could Hand Attackers Your Identity and Build Servers.

Java4Shell is in the Java runtime itself, so no application or library has to be at fault for a service to be exposed. The flaw sits in handwritten assembly that speeds up Base64 decoding with AVX-512 instructions. A short malformed input makes that code write 62 bytes past the end of a buffer before Java rejects the input.

Base64 carries login headers, tokens, and file uploads, so the vulnerable code often runs before a user has authenticated. Calif, the firm that discovered the flaw, demonstrated remote code execution against the following products in their default configurations:

Access requiredProducts
None (pre-authentication)Keycloak, Atlassian Jira, Atlassian Confluence, JFrog Artifactory, Jenkins, PingFederate
Authenticated userApache Kafka Broker, Apache Solr, Elasticsearch, Gerrit, Netflix Spinnaker

The researchers say these lists are not exhaustive. They also reached RCE in sample applications built on Apache Struts and Spring Boot.

The pre-authentication list is where the business risk concentrates. Identity providers issue the tokens every other system trusts, and build and artifact servers sign and ship your software. A compromise of either can expose downstream systems that trust its identities, tokens, or software artifacts.

Code execution is not the only outcome. A successful exploit chain can read Java heap memory before it runs any attacker code. That memory can hold private keys, tokens, and personal data. CISA also warns that crafted input can crash the JVM, so availability is at risk too. Java clients are exposed as well. The researchers report a client-side exploit in which a Java program is compromised simply by connecting over TLS to a malicious server.



Are You Affected?

A system is in scope only when both conditions are true. For an attack to work, attacker-controlled data must also reach the vulnerable Base64 decoding path in the application.

ConditionAffectedNot affected
Java runtimeUnpatched OpenJDK-based builds from 17.0.6 onward, including 21, 25, and 27. Also Oracle Java SE 8 Enterprise Performance Pack 8u511b33-perfReleases before 17.0.6, including standard OpenJDK 8 and 11. Also any vendor build that contains the fix
Processorx86-64 with AVX-512 VBMI: Intel Xeon (Ice Lake, Sapphire Rapids, Emerald Rapids, Granite Rapids), AMD EPYC and Ryzen (Zen 4 and newer)ARM64, and x86-64 without AVX-512 VBMI

The runtime condition covers every OpenJDK-based distribution: Oracle Java SE, Oracle OpenJDK, Oracle GraalVM for JDK, Eclipse Temurin, Amazon Corretto, Microsoft Build of OpenJDK, Azul Zulu, BellSoft Liberica, SAP SapMachine, and Red Hat OpenJDK. There is one exception on Java 8. Oracle lists the 8u511b33-perf build of Java SE 8 as vulnerable.

On Linux, run this command to check the processor. The host meets the hardware condition only if all four flags appear.

grep -m1 ‘^flags’ /proc/cpuinfo | tr ‘ ‘ ‘\n’ | grep -E ‘^(avx512f|avx512bw|avx512vbmi|bmi2)$’

Two cautions when scoping:

  • Check the runtime each application actually runs. Many products and container images bundle their own JDK, which operating system updates do not touch. CISA notes that bundled runtimes, including those in appliances, may not appear as separate entries in a software inventory.
  • Use the processor condition to order the work, not to close findings. A workload on an unaffected CPU today can land on an affected one after an instance resize or a move to newer hardware.

Exploitation Status

As of November 17, 2026, we have not seen public confirmation of exploitation in the wild. Do not plan around that. The trigger is a short malformed Base64 string; the root cause and exploitation technique are public, and the researchers have said details of the bug leaked before the patch.

The researchers are holding back their product-specific exploits until organizations have had time to upgrade, and plan to publish them later. They report finding the bug with AI assistance in about an hour and having a first working exploit two hours after that, for under $200 in AI token costs. Expect others to repeat that work.

There is one limit worth knowing. No universal exploit exists: each product needs its own chain, and the technique is sensitive to network conditions. That slows mass exploitation. It does not protect a specific target such as your identity provider.

What to Do Now

Updating the Java runtime is the only complete fix. Oracle released fixed builds on November 17, 2026.

Oracle Java SEFixed build
8 Enterprise Performance Pack8u513-perf
1717.0.21.1
2121.0.13.1
2525.0.5.1
2727.0.1.1

Other OpenJDK vendors publish on their own schedules. As of November 17, 2026, Amazon had released Corretto 17.0.21.1.2 with the fix. Use your vendor’s advisory to identify the fixed build and confirm it addresses CVE-2026-114938.

If you cannot patch today, there is a temporary workaround. It is a startup setting for Java, applied by the team that runs the application, and it takes effect after a restart. You need only one of the two options below.

  • Preferred: -XX:-UseBASE64Intrinsics. This turns off the fast Base64 decoder where the bug lives. Java falls back to its standard decoder, and everything else runs as before. Applications that decode large amounts of Base64 may run slower, so test first.
  • Alternative: -XX:UseAVX=2. This turns off a wider set of processor optimizations, including the vulnerable one, so the performance cost is broader. Use it only on Intel and AMD servers. Java on ARM does not accept this setting and will not start.

Neither option replaces the patch.

Either way, restart every Java process. A patch or a flag takes effect only when the JVM restarts, so verify the running process and not only the installed package. Do not rely on a reverse proxy as a control. Request buffering breaks some exploit chains but is not a general mitigation.

Reduce exposure while you wait for a patch. Take identity, build, and collaboration consoles off the open internet, or put them behind a VPN, until they are patched. CISA also suggests validating Base64 input and enforcing input-size limits at the application boundary. Size limits alone will not stop this bug, because the malformed input is very short. The JVM flag above is the more direct stopgap because it removes the vulnerable code.

Work in this order:

  1. Internet-facing identity providers such as Keycloak and PingFederate.
  2. Internet-facing Jira, Confluence, Jenkins, and Artifactory.
  3. Other internet-facing Java services that handle logins, tokens, or file uploads.
  4. Internal Java systems, starting with Kafka, Solr, Elasticsearch, Gerrit, and Spinnaker.

Assign an owner and a remediation deadline to every system that is waiting on a vendor build.

What to Watch For

CISA advises monitoring for rogue runtimes, unexpected JVM crashes, and suspicious Java processes. Qualys TRU suggests starting with these checks:

  • Unexpected JVM crashes or restarts on internet-facing Java services.
  • Java processes that start a shell or open outbound connections they have not made before.
  • Java runtimes on a host that your inventory does not account for.

How Qualys Can Help

Inventory Java Installations with Qualys CSAM 

Qualys CyberSecurity Asset Management (CSAM) lists every asset with Java installed, along with the vendor and version of each runtime, so teams can quickly scope Java4Shell remediation. Because only OpenJDK 17.0.6 and later versions are affected, the version tells you which installations are in scope. Bundled JDKs in containers and appliances may not appear in a standard inventory, so check those separately. 

All Assets With OpenJDK Are Installed 

Use the following CSAM query to identify potentially affected OpenJDK installations across Java 17, 21, 25, and 27 for further assessment.

Qualys EASM - CSAM ETM Asset View Dashboard

Find Vulnerable Java Runtimes Beyond Standard Locations with Qualys Deep Scan 

QID 389494 detects vulnerable OpenJDK installed as managed software (via the OS package manager or a standard installer) through standard Cloud Agent VM scans. On Windows assets, enabling Qualys Deep Scan extends the same QID to detect unmanaged Java runtimes in custom or nonstandard locations. 

This matters more for Java than for most software. Many products ship their own copy of Java, and operating system updates do not touch it. Deep Scan identifies vulnerable Java runtimes in application install folders, secondary drives, and other configured directories. Findings appear in VMDR with the full path to the Java binary, the installed version, and the recommended fixed version, giving security and IT teams the details they need to find and update runtimes that would otherwise be missed. 

This added visibility matters when the same asset has more than one copy of Java. Updating the system Java installation can leave a bundled runtime in an application folder unpatched and still exposed to Java4Shell. Customers can tailor inspection with directory inclusion and exclusion rules, scan schedules, and resource controls. Deep Scan is included with VMDR and is available on Windows assets running Cloud Agent [6.2] or later. 

Identify Affected Cloud Workloads and Prioritize Exploitable Attack Paths 

Qualys TotalCloud enables organizations to quickly identify vulnerable container images and running workloads, while leveraging runtime reachability and attack path analysis to understand real-world exploitability and potential blast radius. 

1. Identify Affected Containers and Images 

Using Qualys Query Language (QQL), security teams can identify affected containers and images by: 

  • CVE: Search for workloads impacted by a specific vulnerability. 
    • QQL Query – vulnerabilities.cveids: CVE-2026-114938 
  • Software/Package: Identify container images and running workloads containing affected software or packages 
    • QQL Query – (software.name: “amazon-corretto” or software.name: “zulu” or software.name: “openjdk” or software.name: “temurin” or software.name: “sapmachine” or software.name: “bellsoft-java” or software.name: “jdk-17” or software.name: “jdk-21” or software.name: “jdk-25” or software.name: “jdk-27”) and ((software.version >= 17.0.6 and software.version < 17.0.21.1) or (software.version >= 18 and software.version < 21.0.13.1) or (software.version >= 22 and software.version < 25.0.5.1) or (software.version >= 26 and software.version < 27.0.1.1))&nbsp;
Assets Images TruRisk Score
AI Detection Vulnerability Summary

2. Assess Runtime Reachability and Attack Paths&nbsp;

Beyond vulnerability detection, Qualys TotalCloud correlates vulnerable software with runtime activity and cloud context to help identify:&nbsp;

  • Runtime Reachability: Whether affected software is actively used in running workloads.&nbsp;
  • Attack Paths: How internet exposure, misconfigurations, and excessive privileges could create exploitable paths to affected workloads.&nbsp;
  • Potential Blast Radius: Which connected cloud resources could be exposed if a vulnerable workload is compromised.&nbsp;
Attack Path : Public Exposed Container with Critical vulnerability

By combining vulnerability intelligence, runtime context, and attack path analysis, Qualys helps organizations move beyond identifying affected assets to prioritizing the risks that matter most.&nbsp;

Detect Java4Shell at Disclosure with Qualys InstaScan

Java4Shell fixes will not arrive on a single day. Oracle published its Critical Patch Update on November 17; Amazon Corretto has shipped 17.0.21.1.2, and other OpenJDK distributions will publish their own advisories on their own schedules. Qualys InstaScan, powered by Agent Insta, matches each new advisory against the software inventory Qualys already holds for your assets, collected by Qualys Cloud Agents, scanners, and imported third-party tools.&nbsp;

Affected Java runtimes appear as findings in Qualys ETM, typically within minutes of the advisory being processed, without a new scan. Your team can assign owners and patch deadlines while the next scheduled scan is still hours away. InstaScan findings are based on the installed version, so use the CPU check above to rank them rather than to close them.&nbsp;

Where to find InstaScan findings. New findings appear in Qualys ETM under Risk Management → Findings → InstaScan and stay there for about 48 hours, so your team can focus on what is new. After that, they move automatically to the Vulnerabilities tab alongside your other findings, and agent or scanner detections of the same CVE merge into the same record. Nothing is lost: in the Vulnerabilities tab, filter by finding.isInstaScan: TRUE or look for the InstaScan badge in the Sources column.&nbsp;

Qualys ETM Risk Management Dashboard

From On-Prem to Cloud: Track Java4Shell in One View with Qualys ETM&nbsp;

Finding Java is only the first step. The real challenge is turning a sprawling Java footprint into clear, risk-based action. The Java4Shell dashboard in Qualys Enterprise TruRisk Management (ETM) brings asset inventory, threat-driven detections, and remediation progress together in one place. It covers on-premises, cloud, and container environments, and it puts real-world exposure and business context next to each finding.&nbsp;&nbsp;

&nbsp;Security and IT teams work from the same view, so they can go from “Where is Java?” to “What do we fix first?” in minutes and track every fix through to verified closure.&nbsp;

Qualys ETM Dashboard

Download the Java4Shell Dashboard today.


2. Mitigate Before You Can Patch

Prioritize with Enterprise TruRisk Management (ETM)&nbsp;

Qualys Enterprise TruRisk Management (ETM) combines Java4Shell findings from Qualys and third-party sources, removes duplicates, and gives each one a TruRisk score that weighs Qualys threat intelligence against each asset’s business criticality and exposure. Currently, since the exploit isn’t available in the wild, prioritizing based on asset criticality and internet exposure is the best way forward.&nbsp;

Qulays Inventory Assets Audit Dashboard

TruConfirm, the exploit validation capability in Qualys ETM, is not available for Java4Shell today because no public exploit exists. Until one does, rank Java4Shell findings by TruRisk score, asset criticality, and internet exposure. We will update this post if that changes.

Remediate with TruRisk Eliminate

Qualys TruRisk Eliminate brings every Java4Shell detection into one console, whether the host runs the Qualys Cloud Agent or is assessed by scanner, and pairs each detection with a recommended action.

Java4Shell Remediation Dashboard

From there, teams have two ways to act: a mitigation they can apply right away, and vendor patches as they become available. Because Java updates take time to test and deploy, we recommend mitigating first, then patching in rings to ensure operational resilience. Mitigation keeps every asset protected until it’s patched.

TruRisk Eliminate marks CVE-2026-114938 as fully mitigable, and Enforce App Hardening is available for every Java4Shell detection, across the OpenJDK, Oracle Java SE, Amazon Corretto, and Amazon Linux QIDs. This mitigation disables the vulnerable hardware-accelerated Base64 decoder for Java processes on the host, so Java falls back to its safe built-in decoder. It persists across reboots, but Java applications already running stay exposed until they restart, so schedule restarts starting with internet-facing identity, CI/CD, and collaboration systems.&nbsp;

Mitigation options for CVE 2026 114938

Mitigation buys time; it doesn’t replace patching. When you’re ready to patch, select the vendor patch for each asset from the Remediation tab and deploy it to update the Java runtime and close the finding for good.&nbsp;

Detection QIDs

Qualys is releasing the following detection QIDs. We will add distribution-specific detection QIDs to this blog as they are released.

QIDDetection TitleRelease
389494OpenJDK Remote Code Execution Vulnerability (CVE-2026-114938) (Java4Shell)VULNSIGS-2.6.747-3
389610Oracle Java Standard Edition (SE) November 2026 Critical Patch Update (CPUNOV2026)VULNSIGS-2.6.747-3
389608Amazon Corretto 17, 21, 25 and 27 Security Update (NOV26)VULNSIGS-2.6.747-3
533508Memory Corruption Vulnerability in OpenJDK Base64 decoder (CVE-2026-114938) (Java4Shell)

QID 533508 identifies Jenkins, Atlassian Jira, and Atlassian Confluence applications running versions that are potentially affected by CVE-2026-114938. The detection sends an HTTP GET request to the application and checks for vulnerable application versions. Qualys will expand coverage as additional affected products are identified.

Application-Level Detection with Qualys TotalAppSec

Host-level inventory and vulnerability detection show where vulnerable Java runtimes are installed. Java4Shell, however, is reached through applications. The vulnerable decoder is triggered when an application passes attacker-controlled Base64 data to it. Several products that researchers exploited, including Jenkins, Atlassian Jira, and Atlassian Confluence, are web applications. CISA also warns that Java runtimes bundled with third-party applications, container images, and appliances may not appear as separate entries in software inventories.

Qualys TotalAppSec adds an application-level view. It identifies potentially affected web applications at the HTTP layer, including those whose underlying Java runtime may not be readily visible in host-level software inventory.

Supporting Java Findings in TotalAppSec

Three existing TotalAppSec QIDs, not Java4Shell detections, help you find Java-based web applications and related exposures across your application portfolio:

  • QID 150891 identifies Java web applications. Use it to list applications whose runtimes need verification.
  • QID 150896 flags stack traces in HTTP responses, which may reveal technical details useful to an attacker.
  • QID 150898 flags exposed Java class and JAR files.
QIDDetection TitleWhat it Identifies
150891Java Application DetectedSupporting:&nbsp;Java-based web applications, identified by URL extensions such as .jsp, .action, .do, and .jspa, or by JSESSIONID cookies.
150896Java Binary DetectedSupporting: Java binary files exposed by the application, including compiled Java classes and JAR files.
150898Java Stack Trace DisclosureSupporting: Java stack traces exposed in HTTP responses, which may reveal sensitive technical information.

References

Source: Saeed Abbasi · blog.qualys.com
MORE

Same Mixtape