# Java4Shell: affected versions and fixes

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

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

CVE-2026-114938 Disclosed 17 November 2026

**Java4Shell (CVE-2026-114938)** is a flaw in Java’s decoder for Base64, a common way to represent data as text. In an affected application, specially crafted input can expose information, cause a crash or let an attacker run code. [\[1\]](https://java4shellguide.com/reference#source-1)

Core advisories reviewed 18 Nov 2026 · 16:41 UTC . Check vendor notices for newer releases.

- [Who is affected](https://java4shellguide.com/reference#exposure)
- [Find your vendor’s fix](https://java4shellguide.com/reference#patches)
- [Temporary mitigation](https://java4shellguide.com/reference#mitigation-flag)
- [Latest vendor events](https://java4shellguide.com/reference#timeline)

## Affected systems

The flaw is in an accelerated decoder: a faster way Java processes Base64 text. The documented attack needs all three conditions below, with that shortcut enabled. [\[1\]](https://java4shellguide.com/reference#source-1) [\[4\]](https://java4shellguide.com/reference#source-4)

### An unpatched Java release

Unpatched OpenJDK **17.0.6 onwards**, including 21, 25 and 27. Vendor products with backported decoder code can differ; see the Java 8/11 exceptions below.

[Check versions →](https://java4shellguide.com/reference#patches)

### Certain Intel or AMD processors

The shortcut needs **x86-64 with AVX-512 VBMI**. Native ARM64 Java is outside this hardware scope. Use the processor features available to the service itself, including inside a virtual machine.

[Inspect CPU flags →](https://java4shellguide.com/reference#inspection)

### Attacker-supplied data reaches Java

Login credentials, tokens and uploads may be decoded before a user signs in. A login screen alone is not protection. Java clients can also process hostile server data.

[Researcher examples ↗](https://calif.io/java4shell#write-once-rce-everywhere)

**Java 8 / 11:** Standard OpenJDK 8 and 11 are not marked affected by this CVE. **Oracle Java 8 Enterprise Performance Pack and Azul Prime (formerly Zing) are exceptions.** Oracle lists `8u511b33-perf` as affected; Prime has affected Java 8 and 11 builds. [Prime fixes →](https://java4shellguide.com/reference#prime) [\[2\]](https://java4shellguide.com/reference#source-2) [\[3\]](https://java4shellguide.com/reference#source-3) [\[10\]](https://java4shellguide.com/reference#source-10)

**Which applications have been demonstrated?**

**Calif reports pre-login code execution in:** Keycloak, Jira, Confluence, JFrog Artifactory, Jenkins and PingFederate. It also reports post-login attacks against Kafka Broker, Solr, Elasticsearch, Gerrit and Spinnaker.

This is a researcher test list, not a complete product/version matrix. A product name alone does not determine exposure. Check its runtime, hardware and vendor advisory. [Read the demonstrations ↗](https://calif.io/java4shell#write-once-rce-everywhere)

## Vendor patches

Match the vendor and full build. Oracle’s version numbers do not apply to every distribution.

### Confirmed fixed builds

 Oracle & Temurin · checked 16:41 UTC

| Java line | Oracle Java SE | Eclipse Temurin |
| --- | --- | --- |
| 17 | [`17.0.21.1+4` ↗](https://www.oracle.com/java/technologies/javase/17-0-21-1-relnotes.html) | [`17.0.21.1+2` ↓](https://java4shellguide.com/reference#temurin) |
| 21 | [`21.0.13.1+4` ↗](https://www.oracle.com/java/technologies/javase/21-0-13-1-relnotes.html) | [`21.0.13.1+2` ↓](https://java4shellguide.com/reference#temurin) |
| 25 | [`25.0.5.1+4` ↗](https://www.oracle.com/java/technologies/javase/25-0-5-1-relnotes.html) | [`25.0.5.1+2` ↓](https://java4shellguide.com/reference#temurin) |
| 27 | [`27.0.1.1+4` ↗](https://www.oracle.com/java/technologies/javase/27-0-1-1-relnotes.html) | [`27.0.1.1+4` ↓](https://java4shellguide.com/reference#temurin) |

### Temurin: check your platform and delivery channel

Adoptium has announced fixed builds; release publication is in progress. Packages are updated alongside the binaries; container images follow completion of a Java line’s binaries. A fixed version number does not mean every platform’s download is ready.

[Read Adoptium’s announcement ↗](https://adoptium.net/news/2026/11/temurin-november-2026-cspu-java4shell) · [Check downloads ↗](https://adoptium.net/temurin/releases) · [Platform release tracker ↗](https://github.com/adoptium/temurin/issues/326)

**Oracle Java 8 Enterprise Performance Pack:** the fixed release is [`8u513-perf`](https://www.oracle.com/java/technologies/downloads/#jepp). Standard OpenJDK 8 and 11, including Temurin, are outside the published affected release lines. GraalVM users should follow [Oracle’s product advisory](https://www.oracle.com/security-alerts/cspunov2026.html).

**Which affected Oracle builds are listed?**

Oracle lists `17.0.21.0.3`, `21.0.13.0.3`, `25.0.5.0.3`, `27.0.1.0.3` and `8u511b33-perf`. These are its listed supported builds, not the full historical affected range. Earlier builds may also be affected. [Oracle source →](https://java4shellguide.com/reference#source-3)

### Azul Prime / Zing: check its own release number

Prime is separate from Azul Zulu. Its affected builds include Java 8 and 11. Azul lists Stable releases `26.08.110.0` and `26.02.510.0` with the fix; match your supported release stream rather than comparing their numbers with ordinary JDK builds.

[Prime fix notice ↗](https://docs.azul.com/prime/CVE-Fixes-November26) · [Prime release notes ↗](https://docs.azul.com/prime/release-notes.html)

The vendor and product notices below were checked at 16:41 UTC. Other distribution channels retain the earlier review noted below.

[**Amazon Corretto on Amazon Linux** Fixed packages listed for 17, 21, 25 and 27. Select your OS channel. View advisories ↗](https://explore.alas.aws.amazon.com/CVE-2026-114938.html) [**Red Hat OpenJDK** Bulletin says fixes are being expedited. Check current product errata. View bulletin ↗](https://access.redhat.com/security/vulnerabilities/RHSB-2026-018) [**Azul Zulu** CVE-specific fixed builds are listed. Match your Java line and update stream. View fixed versions ↗](https://docs.azul.com/core/cve) [**Keycloak server and Operator** Separate JVMs need separate checks. The advisory gives mitigation steps and does not yet recommend a specific fixed Keycloak image. Read product guidance ↗](https://www.keycloak.org/2026/11/java4shell-vulnerability-cve-2026-114938) [**Atlassian products** Product-specific mitigation and restart instructions, with separate advice for Data Center and Cloud customers. Read product guidance ↗](https://community.atlassian.com/forums/discussion/3317765/data-center-mitigations-for-cve-2026-114938)

**Other distribution release channels** At the earlier 10:30 UTC review, a CVE-specific fixed build had not been verified here for these distributions. Check their current notices; use the interim mitigation on affected systems while a fix is unconfirmed. [Microsoft ↗](https://learn.microsoft.com/en-us/java/openjdk/release-notes)[Liberica ↗](https://docs.bell-sw.com/security/search/)[SapMachine ↗](https://github.com/SAP/SapMachine/releases)

Unsupported intermediate Java releases need vendor review or migration to a supported fixed release. For bundled Java, update through the application vendor. [Draft a vendor enquiry →](https://java4shellguide.com/prompts?from=patches#vendor)

## Restart and verify

Installing a Java update does not replace the Java already running inside an application. Restart every affected instance, or deploy new containers, then confirm the running version. For bundled Java, use the application vendor’s supported update path.

### If you cannot patch yet

This option disables the affected faster decoder while keeping ordinary decoding available. Add it to the service’s startup settings and restart:

`-XX:-UseBASE64Intrinsics`

Verify that the option is active. [Red Hat guidance](https://access.redhat.com/security/vulnerabilities/RHSB-2026-018)

**Inspection commands and mitigation verification**

### Check the actual running JVM

`jcmd <PID> VM.version`

Replace `<PID>` with the Java process ID. Use an available JDK tool with permission to inspect that process, in its execution environment. Record the full vendor/build. [jcmd manual ↗](https://docs.oracle.com/en/java/javase/27/docs/specs/man/jcmd.html)

### Identify an installed Java executable

`java -version`

Run the actual service’s Java executable, inside its container if applicable. Your shell’s default Java may be different.

### Inspect Linux CPU flags

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

Calif’s check requires all four flags. A failed command is inconclusive. Check each execution environment; a cloud family name alone is insufficient. [Source ↗](https://calif.io/java4shell#affected-products)

### Verify the restarted JVM

`jcmd <PID> VM.flags -all`

Replace `<PID>` with the service’s Java process ID. With an available JDK tool and appropriate process permissions, check that `UseBASE64Intrinsics = false`. Otherwise use your vendor’s runtime diagnostics. [jcmd reference ↗](https://docs.oracle.com/en/java/javase/27/docs/specs/man/jcmd.html)

### Alternative flag: x86-64 only

`-XX:UseAVX=2` disables AVX-512 more broadly. Do not apply it to ARM JVMs: they may fail to start. [Red Hat recommends the narrower Base64 flag. ↗](https://access.redhat.com/security/vulnerabilities/RHSB-2026-018)

A proxy or WAF rule is not a universal substitute for fixing the runtime. Avoid running crash-triggering proof-of-concept tests on production. [Exploit limitations ↗](https://calif.io/java4shell#limitations)

**Optional: track your response in this browser**

1. **Find the Java runtime each service actually uses.** Record vendor, full build, CPU features and owner. Include containers, CI agents, bundled JVMs and appliances. Prioritise internet-facing and login services.
2. **Patch, or apply the temporary JVM flag.** Use a vendor-confirmed fix. If it is unavailable, set `-XX:-UseBASE64Intrinsics` in each affected service’s startup options. Test service health after the change.
3. **Restart and verify every instance.** Rebuild images and roll out new containers where needed. Check the running JVM’s build and flags; installing a package does not replace an already-running process.
4. **Track exceptions and investigate suspicious activity.** Record evidence and remaining owners. If compromise is suspected, preserve logs and follow your incident response process. Patching does not undo a compromise.

Using an app rather than operating a service? [Read the app-user steps →](https://java4shellguide.com/#apps)

## How the attack works

An affected decoder can write past the memory reserved for its output. Compare the faulty path with a patched runtime or the temporary workaround.

Shown here: untrusted Base64 reaches an affected runtime on matching x86-64 hardware. [Check the full conditions →](https://java4shellguide.com/reference#exposure)

The affected decoder writes beyond the output boundary into neighbouring memory.

Conceptual diagram. Blocks are not byte counts or a map of a particular application.

### Affected: the write escapes its buffer

Memory corruption can cause a crash or expose data. Code execution needs further application-specific conditions; an overwrite does not automatically give an attacker control.

### Patched: the edge case is handled safely

The OpenJDK fix checks short final fragments before the faulty calculation and leaves them to ordinary Java handling. The harmful write is avoided. [Find your vendor’s fixed build →](https://java4shellguide.com/reference#patches)

### Workaround: bypass the affected decoder

With `UseBASE64Intrinsics = false` active in the running service, ordinary decoding remains available and the affected accelerated path is not used. Keep the permanent patch planned. [Apply and verify the workaround →](https://java4shellguide.com/reference#mitigation-flag)

### Why the unpatched path fails

1. #### Text reaches Java

   An app decodes untrusted Base64, sometimes before it checks a login. Java reserves space for the decoded result.
2. #### The final write is miscalculated

   A malformed ending can make the accelerated decoder calculate a negative length. Its write mask then permits a full block.
3. #### Neighbouring memory is overwritten

   The write can cross the result buffer’s boundary. Java may reject the input afterwards, but the memory damage has already happened.

Based on [Calif’s analysis](https://calif.io/java4shell), the [OpenJDK fix](https://github.com/openjdk/jdk/commit/5177a70b385c16f26ede191fdac7aaba0bed0f8b) and [Red Hat’s mitigation guidance](https://access.redhat.com/security/vulnerabilities/RHSB-2026-018).

## Questions and current limits

**Is it being exploited in the wild?**

Calif has demonstrated remote code execution. The sources reviewed for this guide do not establish real-world exploitation activity. That uncertainty is not a reason to delay mitigation. A research demonstration, a public proof of concept and a confirmed incident are different kinds of evidence. [Research evidence ↗](https://calif.io/java4shell)

**Why do severity scores differ?**

Calif reports **9.2 under CVSS 4.0**. Oracle and OpenJDK report **8.1 under CVSS 3.1**. These use different scoring versions and assessments; neither score determines your application’s exposure. [Calif ↗](https://calif.io/java4shell) [Oracle ↗](https://www.oracle.com/security-alerts/cspunov2026.html)

**Is this Log4Shell? Will updating Log4j fix it?**

No. Java4Shell concerns the Java runtime’s Base64 implementation. A Log4j update does not replace the affected JVM. Follow your Java or application vendor’s fix for `CVE-2026-114938`. [OpenJDK advisory ↗](https://openjdk.org/groups/vulnerability/advisories/2026-11-17)

**Do containers, a login page or a proxy make me safe?**

A container can still use an affected JVM and expose the host’s CPU features. Data may be decoded before authentication. Calif says request buffering stops some demonstrated chains, but not all. Assess the running service and patch its runtime. [Red Hat ↗](https://access.redhat.com/security/vulnerabilities/RHSB-2026-018) [Calif’s limitations ↗](https://calif.io/java4shell#limitations)

## Optional tools

Use the checker to interpret diagnostic output, or adapt a prompt for your own follow-up work.

### Check your Java output

Paste Java version or diagnostic output. The checker identifies the build, reads any CPU and JVM settings, and compares them with the published guidance.

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

### Customisable AI prompts

Six templates help you review a service, plan an update or prepare a message. Edit the details before copying; verify the advice against vendor evidence.

- [Assess a service →](https://java4shellguide.com/prompts?from=ai-prompts#exposure)
- [Review a codebase →](https://java4shellguide.com/prompts?from=ai-prompts#codebase)
- [Plan a rollout →](https://java4shellguide.com/prompts?from=ai-prompts#rollout)
- [Draft an update →](https://java4shellguide.com/prompts?from=ai-prompts#briefing)

## Disclosure and patch timeline

Public disclosures and vendor release notices. Times are shown only when stated by the source; other same-day events are not ordered by time.

1. 18 NOV · 16:23 UTC

   ### Temurin rollout remains in progress

   Adoptium’s release-status update reports more platform builds awaiting completion. Check the tracker for actual availability; the estimated completion window is not a release confirmation. [Status update ↗](https://github.com/adoptium/temurin/issues/326#issuecomment-6984566878)
2. 18 NOV · 09:29 UTC Advisory updated

   ### Keycloak gives server and Operator guidance

   Its notice explains separate mitigation for the server and Operator JVMs. It cannot yet recommend a specific fixed Keycloak image. The time shown is the advisory’s update time. [Keycloak advisory ↗](https://www.keycloak.org/2026/11/java4shell-vulnerability-cve-2026-114938)
3. 18 NOV 2026

   ### Temurin announces fixed builds

   Adoptium publishes the fixed versions, with downloads appearing as platform testing completes. Packages and container images need their own availability checks. [Announcement ↗](https://adoptium.net/news/2026/11/temurin-november-2026-cspu-java4shell)
4. 17 NOV 2026

   ### Azul releases Core and Prime fixes

   November updates address Java4Shell. Prime’s fixed Stable releases are 26.08.110.0 and 26.02.510.0, including its Java 8 and 11 lines. [Core notes ↗](https://docs.azul.com/core/release-notes) [Prime notes ↗](https://docs.azul.com/prime/release-notes.html)
5. 17 NOV 2026

   ### Public disclosure and research demonstrations

   Calif describes Java4Shell, its hardware requirements and application-specific attacks. [Disclosure ↗](https://calif.io/java4shell)
6. 17 NOV · 21:00 UTC 13:00 Pacific

   ### Oracle’s patch release

   Calif gives this release time; Oracle’s release notes confirm the date. OpenJDK publishes its vulnerability advisory. [Release time ↗](https://calif.io/java4shell#recommendations) [Fixed builds ↗](https://www.oracle.com/java/technologies/javase/27-0-1-1-relnotes.html)
7. 17 NOV 2026 Time not specified

   ### Amazon Linux lists Corretto fixes

   Its CVE tracker records fixed packages in supported channels. [Package tracker ↗](https://explore.alas.aws.amazon.com/CVE-2026-114938.html)

## Sources and review notes

Technical claims use original research and vendor documents. Community discussion informs the questions this guide answers.

1. 01 [**Calif · original research** Attack conditions, demonstrations, mitigation and reported patch time ↗](https://calif.io/java4shell)
2. 02 [**OpenJDK · 17 November advisory** CVE-specific affected release lines and CVSS 3.1 score ↗](https://openjdk.org/groups/vulnerability/advisories/2026-11-17)
3. 03 [**Oracle · November security update** Affected Oracle and GraalVM builds, including Java 8 Performance Pack ↗](https://www.oracle.com/security-alerts/cspunov2026.html)
4. 04 [**Red Hat · Java4Shell bulletin** Hardware scope, mitigations and product update guidance ↗](https://access.redhat.com/security/vulnerabilities/RHSB-2026-018)
5. 05 [**Oracle · Java 27 release notes** Java 27 fixed build and release date; other Java lines linked in the version table ↗](https://www.oracle.com/java/technologies/javase/27-0-1-1-relnotes.html)
6. 06 [**Amazon Linux · CVE package tracker** Corretto package status and advisory links by OS channel ↗](https://explore.alas.aws.amazon.com/CVE-2026-114938.html)
7. 07 [**Azul · CVE and fixed-version matrix** Zulu build numbers by Java line and update stream ↗](https://docs.azul.com/core/cve)
8. 08 [**Oracle · runtime diagnostics manual** jcmd process requirements and VM.version and VM.flags inspection ↗](https://docs.oracle.com/en/java/javase/27/docs/specs/man/jcmd.html)
9. 09 [**Adoptium · Temurin patch guidance** Vendor-specific fixed builds and publication progress; reviewed 16:41 UTC ↗](https://adoptium.net/news/2026/11/temurin-november-2026-cspu-java4shell)
10. 10 [**Azul Prime · November CVE fixes** Product-specific fixes, including the Java 8 and 11 exception ↗](https://docs.azul.com/prime/CVE-Fixes-November26)
11. 11 [**Keycloak · product advisory** Server and Operator mitigation, image status and update time ↗](https://www.keycloak.org/2026/11/java4shell-vulnerability-cve-2026-114938)
12. 12 [**OpenJDK · decoder fix** Early handling of short final fragments in the accelerated decoder ↗](https://github.com/openjdk/jdk/commit/5177a70b385c16f26ede191fdac7aaba0bed0f8b)

Published by [After Dinner Software](https://afterdinnersoftware.com/); independent of the researchers and Java vendors. This guide summarises the linked primary sources and keeps confirmed fixes separate from unresolved vendor status. Core scope and the Oracle, Temurin, Red Hat, Amazon Linux, Azul, Keycloak and Atlassian notices were rechecked at 16:41 UTC. Microsoft, Liberica and SapMachine links retain their earlier 10:30 UTC review qualification. This is a dated snapshot. Verify the current notice for your exact build before acting.

## Guide updates

Substantive changes to this guide, with their supporting sources. [Subscribe by RSS ↗](https://java4shellguide.com/feed.xml)

18 Nov 2026 · 16:41 UTC

### Azul Prime exception and vendor events added

Added Prime’s affected Java 8/11 lines and separate Stable fixes. Updated the response sheet, AI prompts and checker to preserve that distinction. Added Keycloak product guidance and the dated Azul and Temurin release events.

[Azul Prime fix notice ↗](https://docs.azul.com/prime/CVE-Fixes-November26)

18 Nov 2026 · 14:24 UTC

### Temurin fixed builds added

Added Temurin’s announced fixed builds alongside Oracle’s. Temurin uses +2 for Java 17, 21 and 25, while Oracle uses +4. Availability still depends on platform and delivery channel. Core exposure and mitigation advice was rechecked.

[Adoptium guidance ↗](https://adoptium.net/news/2026/11/temurin-november-2026-cspu-java4shell)

18 Nov 2026 · 10:30 UTC

### Initial vendor and response review

Checked the exposure conditions, Oracle fixes and Java 8 Performance Pack exception. Added running-process verification, vendor channels and the limits of the researcher demonstrations.

[Research and vendor sources →](https://java4shellguide.com/reference#sources)
