# Java4Shell, explained.

Canonical page: [https://java4shellguide.com/](https://java4shellguide.com/)

Published by [After Dinner Software](https://afterdinnersoftware.com/).

CVE-2026-114938 · Java security flaw

A flaw in Java can let an attacker steal data, crash an app or run code with its permissions. **Not every Java app is affected:** its Java version, processor and data handling all matter. [\[1\]](https://java4shellguide.com/reference#source-1)

Core advisories reviewed 18 Nov 2026 · 16:41 UTC · [Sources](https://java4shellguide.com/reference#sources)

## If you run a service

1. Install your Java or app maker’s fix.
2. Restart each app or container.
3. Check the Java version now running.

[Find your Java update](https://java4shellguide.com/reference#patches)

Cannot update yet? [Use the temporary workaround](https://java4shellguide.com/#temporary-title).

18 Nov update [Azul Prime also needs checking on Java 8 and 11.](https://java4shellguide.com/reference#prime)

## What is Java4Shell?

Java runs many business apps and servers. Java4Shell affects how it reads **Base64**, a way to represent data as text. Malicious data can corrupt an app’s memory, sometimes **before a login is checked**. [\[4\]](https://java4shellguide.com/reference#source-4)

**Updating Log4j does not fix this.** Java4Shell needs the Java or app maker’s update. [More questions answered →](https://java4shellguide.com/reference#questions)

[See how the attack works →](https://java4shellguide.com/reference#how-it-works)

## Who can be affected?

All three conditions must apply, with Java’s faster Base64 decoder enabled.

**An affected Java version**

Unfixed releases from **Java 17.0.6 onwards**, including 21, 25 and 27. Some vendor products also need separate checks below. [Fixed versions →](https://java4shellguide.com/reference#patches)

**A matching processor**

Intel or AMD x86-64 with **AVX-512 VBMI**. Native ARM64 Java is outside this scope. Check the server or virtual machine running the app. [Processor details →](https://java4shellguide.com/reference#exposure)

**Attacker-controlled data**

The app passes hostile data to Java’s affected decoder—for example, through sign-ins, uploads or a server’s response to a Java client. [Examples →](https://java4shellguide.com/reference#applications)

**Java 8 and 11:** standard OpenJDK 8 and 11 are outside the published scope. **Oracle Java 8 Enterprise Performance Pack and Azul Prime (formerly Zing) are exceptions.** [Check the product-specific fixes →](https://java4shellguide.com/reference#java8)

Researchers have demonstrated attacks against real apps. The reviewed sources do not establish attacks in the wild. [Evidence and limits →](https://java4shellguide.com/reference#exploitation)

## If you run a Java service

Start with internet-facing services, especially sign-in systems.

1. ### Update the Java the app actually uses

   Use your Java supplier’s fix. If the app includes Java, use the app maker’s update. For containers, rebuild or replace the image. Updating only the host may leave these copies unchanged.

   [Find the fixed versions →](https://java4shellguide.com/reference?context=services#patches)
2. ### Restart and check every running instance

   Restart the app or deploy new containers. Check the Java version inside each running instance; an installed update alone is not enough.

   [Commands to check the running version →](https://java4shellguide.com/reference?context=services#inspection)
3. ### Record what still needs fixing

   Give each unresolved service an owner and next action. Investigate suspicious activity: an update does not undo an earlier compromise.

### If you cannot update yet

This Java startup option turns off the affected fast decoder. Ordinary Base64 decoding still works.

`-XX:-UseBASE64Intrinsics`

Add it to the app’s supported startup settings and restart. Check `UseBASE64Intrinsics = false` in the running Java process.

Keep the permanent update planned.

[How to check the setting →](https://java4shellguide.com/reference?context=services#inspection)

## If you use an app

**Installed app:** follow the maker’s Java4Shell update advice, or your IT team’s instructions on a work device. Some apps include Java; updating a separate Java installation may not fix them.

**Online service:** the provider must update its servers. Check its service notice or ask whether it has fixed `CVE-2026-114938`. Updating your browser cannot fix its servers.

 [Draft a question for the provider →](https://java4shellguide.com/prompts?context=apps#vendor)

## If you brief a team

For each affected or unchecked service, name an owner and report its status:

- **Fixed:** updated and restarted; the running version is confirmed.
- **Temporarily protected:** the workaround is confirmed; the update is still planned.
- **Unresolved:** name the next action and review time.

 [Draft a team update →](https://java4shellguide.com/prompts?context=teams#briefing)

## Optional tools

### Check Java output

Paste version or diagnostic output to see what it confirms and what still needs checking.

[Open the checker →](https://java4shellguide.com/reference#triage)

### Customise an AI prompt

Six editable templates for a service review, patch plan, vendor enquiry or team update.

[Browse prompts →](https://java4shellguide.com/prompts)

[Download the Java4Shell response sheet](https://java4shellguide.com/java4shell-response-sheet.pdf)

### Download the response sheet

One printable page of affected systems, actions and checks.

[PDF ↓](https://java4shellguide.com/java4shell-response-sheet.pdf) [Plain text ↓](https://java4shellguide.com/response-checklist.txt)
