Java2Shell (CVE-2026-114938): Who Is Actually Affected — and What the Numbers Say

Boris Szelcsanyi ·

Java2Shell — the name its discoverers use is Java4Shell — is CVE-2026-114938, a memory-corruption flaw in OpenJDK's Base64 decoder, fixed on 17 November 2026. The headlines are alarming and accurate: unauthenticated remote code execution, demonstrated against Jenkins, Keycloak, Jira, Confluence, Artifactory and PingFederate in their default configurations. The measured exploitation data is just as real and points the other way: an EPSS score of 0.734% and no entry in CISA's exploited-vulnerability catalog.

Both of those are true at once, and the reason is the most useful thing about this CVE: being "affected" requires three separate conditions to hold, and most servers fail at least one of them. This is a vulnerability where the question "does it reach us?" has an answer you can actually check.

17.0.6+

the OpenJDK versions that contain the vulnerable Base64 intrinsic

AVX-512

CPU feature required — ARM64 and older x86 hosts cannot be exploited

0.734%

EPSS as of 18 Nov 2026; not in CISA KEV (catalog 2026.11.18)

What is Java2Shell (CVE-2026-114938)?

It is an out-of-bounds write in OpenJDK HotSpot's hand-written x86-64 Base64 decoding routine. According to Calif.io's technical write-up — the team that found it, and the same team behind PHP2Shell a month earlier — the routine miscalculates the store mask for a padded tail. Feed it 64 A characters followed by a single = and an internal length calculation underflows to −1. The mask becomes all-ones, and the decoder writes a full 64 bytes into a 50-byte array: 62 bytes past the end, at offsets 50 to 111. On OpenJDK 17 the trigger is 128 As instead of 64, because the input threshold to reach that code path is higher.

Java rejects the input and throws an IllegalArgumentException — but by then the neighbouring heap objects are already corrupted. Calif turned that fixed-value overwrite into a heap-disclosure primitive they call JavaBleed, and from there into code execution by corrupting the length field of an adjacent array. The irony is the point: Java's headline feature is memory safety, but the runtime underneath it is C, C++ and assembly.

Are you actually affected? Three filters, all of which must be true

This is where the measured numbers and the headline reconcile. Three independent conditions have to hold before a host is exploitable:

ConditionYou are exposed if…You are out if…
1. Runtime versionOpenJDK 17.0.6 or newer, across the 17, 21, 25 and 27 branchesAnything older than 17.0.6 — the optimisation did not exist yet
2. CPU instruction setx86-64 with AVX-512 VBMI: Intel Xeon Ice Lake, Sapphire Rapids, Emerald Rapids, Granite Rapids; AMD EPYC and Ryzen Zen 4 or newerARM64 is not affected at all — AWS Graviton, Ampere, Apple silicon. Older or lower-end x86 without the AVX-512 flags is also out
3. A reachable, hot Base64 pathAttacker-controlled data reaches Base64.getDecoder() — auth headers, tokens, file uploads — and the method has been called enough times for the C2 JIT to compile it to the vulnerable intrinsicNo attacker-reachable decode, or a path too cold to be JIT-compiled to the fast routine

Calif publishes a one-line check for the second filter on Linux, and it is the fastest way to cut your own estate in half:

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

All four flags must be present for the host to be vulnerable. An empty result is a real answer, not an inconclusive one.

One caveat worth stating plainly, because it cuts the other way: the vulnerable code ships in every OpenJDK build from 17.0.6 on, so every mainstream distribution inherits it — Amazon Corretto, Eclipse Temurin, Microsoft Build of OpenJDK, Azul Zulu, BellSoft Liberica, SAP SapMachine, Red Hat OpenJDK, Oracle OpenJDK and Oracle Java SE. And many products bundle their own JRE inside an installer, appliance or container image, so the JDK on the host's PATH is not the only one to check.

Which applications were shown vulnerable?

Calif reports demonstrating remote code execution in default configurations of:

Calif calls both lists non-exhaustive, and says there is no universal exploit. Each target needs a bespoke profile: a decoder route, a live "writer" object, a feedback path, a heap layout and an application action. The attack is also sensitive to network timing — the researchers rented a VM in the same region as their target to keep round-trip times stable. Notably, they list nginx's default request-body buffering as something that breaks several of their grooming profiles, while warning it is not a general mitigation: Elasticsearch's chain runs from one complete request, and traffic after a WebSocket upgrade is not buffered at all.

Is it 9.2 or 8.1? Why the severity scores disagree

Both numbers are circulating and both are legitimate — they come from different scorers using different frameworks:

SourceFrameworkScoreNotable
Calif.ioCVSS 4.09.2 CRITICALThe discoverer's rating
Oracle via NVDCVSS 3.18.1 HIGHVector AV:N/AC:H/PR:N/UI:N/C:H/I:H/A:H — note AC:H. Oracle's own text calls it a "difficult to exploit vulnerability"

The AC:H is the honest part of that record, and it matches the research: heap grooming per target, JIT warm-up, timing sensitivity. As FIRST's CVSS v4.0 user guide puts it, a base score measures severity, not risk, and is "independent of any factor associated with threat or the computing environment." Severity tells you what happens if it is exploited. It does not tell you how likely that is on your hardware.

What the exploitation data says — and what it doesn't

We queried both catalogs directly rather than quoting a secondary source:

SignalValueChecked
EPSS probability (FIRST)0.734%18 Nov 2026
EPSS percentile55.118 Nov 2026
CISA KEVNot listedcatalog 2026.11.18
For contrast: PHP2Shell99.999%KEV since 26 Oct 2026

A 55th-percentile EPSS means this CVE is, statistically, a thoroughly median vulnerability for near-term exploitation — on a model trained across the whole population, most of which does not run AVX-512 Java. That is a deprioritisation signal, not an all-clear, and the distinction matters: EPSS is population-level, a working proof of concept is public, and the researchers are holding weaponised per-product chains back only until people have patched. If your estate clears all three filters above, your local probability is far higher than the global one. If it fails filter two, it is effectively zero regardless of what the score says.

How to check, and what to do

  1. Patch. OpenJDK published an advisory on 17 November and Oracle shipped fixes in its November security alert the same day. Distributions rebuild on their own schedules — check your vendor rather than the upstream version string.
  2. Or disable the intrinsic. Start the JVM with -XX:-UseBASE64Intrinsics to turn off hardware-accelerated Base64, or -XX:UseAVX=2 to disable AVX-512. Apply -XX:UseAVX=2 only on x86-64 hosts — OpenJDK on ARM does not recognise the flag and will refuse to start.
  3. Inventory the JREs you did not install. Appliances, vendor installers and container images carry their own runtimes. An SBOM is the fast path here.
  4. Check the CPU flags on each host before you schedule an emergency window. An ARM fleet turns this from a weekend into a Tuesday.
  5. Restart. A running JVM keeps the vulnerable code loaded; replacing the package does nothing until the process restarts.

What it costs

Here is the practical reason the probability question matters. We ran our own engine for a fictional company — an Austrian manufacturer, 120 staff, €20M revenue, MFA and EDR deployed, one internet-facing Java application — varying only the exploitation probability assigned to this CVE. A breach would cost it €442,494 (downtime at Austrian labour cost, lost margin, forensics and regulatory exposure).

Exploitation probability usedAnnual likelihoodExpected annual loss
Baseline — no Java2Shell vector2.24%€9,912
0.734% — the measured EPSS2.28%€10,082
10% — a cautious guess2.76%€12,232
50% — "it’s a 9.2, assume the worst"4.86%€21,510
99.999% — PHP2Shell’s measured value7.48%€33,109

Same server, same flaw, same CVSS: €10,082 or €21,510 of expected annual loss depending entirely on whether you price the severity or the evidence. Our engine prices the evidence — per-vector probability is EPSS × susceptibility × control effectiveness, aggregated so an attacker needs only one working path. That is also why we do not round a 0.734% up to "critical": it would move a remediation budget to the wrong place, and in the same month a genuinely hot CVE — the Brotli decoder flaw, EPSS 82.6% and on KEV since October — was sitting in the same estates with less press.

The EU angle

For NIS2 entities, Article 21(2)(e) covers vulnerability handling and disclosure, and the test a supervisor applies is whether your response was appropriate and proportionate — not whether you panicked in proportion to the press coverage. A documented decision that says "our Java estate runs on Graviton, filter two fails, we patched on the normal cycle" is a stronger artefact than an undocumented emergency change window. The same logic serves DORA Article 8 asset-and-vulnerability management for financial entities.

Sources

We don't link exploit code. To put a number on your own exposure rather than a severity label, run the free external scan or the CRQ simulation.

Frequently asked questions

What is Java2Shell (CVE-2026-114938)?

Java2Shell — called Java4Shell by Calif.io, the team that found it and also disclosed PHP2Shell — is an out-of-bounds write in OpenJDK HotSpot’s x86-64 Base64 decoding intrinsic. A padded tail makes an internal length calculation underflow, so the decoder writes 64 bytes into a 50-byte array: 62 bytes past the end. Java still rejects the input, but neighbouring heap objects are already corrupted, which the researchers escalated to heap disclosure and then remote code execution. OpenJDK and Oracle released fixes on 17 November 2026.

Which systems are actually affected by Java2Shell?

Three conditions must all hold. First, OpenJDK 17.0.6 or newer, across the 17, 21, 25 and 27 branches — the optimisation did not exist before 17.0.6. Second, an x86-64 CPU with AVX-512 VBMI support: Intel Xeon Ice Lake, Sapphire Rapids, Emerald Rapids and Granite Rapids, or AMD EPYC and Ryzen Zen 4 and newer. ARM64 is not affected at all, which rules out AWS Graviton, Ampere and Apple silicon. Third, attacker-controlled data must reach a Base64 decode that has been called often enough for the JIT to compile it to the vulnerable routine.

How do I check whether my CPU is vulnerable?

On Linux, run: grep -m1 '^flags' /proc/cpuinfo | tr ' ' '\n' | grep -E '^(avx512f|avx512bw|avx512vbmi|bmi2)$'. All four flags must be present for the host to be vulnerable; an empty result is a definite answer, not an inconclusive one. Checking this across your estate before scheduling emergency patching is usually the fastest way to cut the work in half.

Is Java2Shell 9.2 or 8.1?

Both, from different scorers using different frameworks. Calif.io rates it CVSS 4.0 9.2 CRITICAL. Oracle, as the CNA, rates it CVSS 3.1 8.1 HIGH with the vector AV:N/AC:H/PR:N/UI:N/C:H/I:H/A:H — note AC:H, high attack complexity — and Oracle’s own description calls it a difficult to exploit vulnerability. The AC:H matches the research: exploitation needs per-target heap grooming, JIT warm-up and stable network timing, and the researchers state there is no universal exploit.

How do I mitigate Java2Shell without patching immediately?

Start the JVM with -XX:-UseBASE64Intrinsics to disable hardware-accelerated Base64 encoding and decoding, or -XX:UseAVX=2 to disable AVX-512. Apply -XX:UseAVX=2 only on x86-64 hosts — OpenJDK on ARM does not recognise the flag and will fail to start. Patching remains the complete fix, and a running JVM keeps the vulnerable code loaded, so the process has to restart either way. Remember the Java runtimes you did not install: appliances, vendor installers and container images often bundle their own JRE.