On November 17, 2026, the researchers at Calif disclosed a flaw in Java itself that reads like a bad dream for anyone running a Java application on a VPS. A single malformed Base64 string — the kind of data your server decodes thousands of times a day without thinking about it — can crash the Java Virtual Machine, leak heap memory, or, in the hands of someone who knows what they are doing, run code on your server without a login. They called it Java4Shell, and within three days honeypots around the world were already seeing attackers probe for it.
This guide shows you how to patch Java4Shell on a VPS: what the flaw actually is, the three conditions that decide whether your server is exposed, how to check your Java version and your CPU in about a minute, and the exact fixed builds for Ubuntu, Debian, RHEL-based systems, Temurin, Corretto, and Docker containers. It also covers the one JVM flag that buys you time if you cannot patch today, and the special warning for Minecraft servers — because Minecraft 26 runs on Java 25, which puts every modern Minecraft server squarely in range.
The fix itself is a Java update and a restart. The hard part is knowing whether you are affected, because the answer depends on your Java build, your processor, and whether the Java you think you are running is the Java that is actually running. This guide works through all three.
Table of Contents
- What Is Java4Shell?
- How the Bug Works: One ‘=’ Too Many
- Who Is Affected?
- How Bad Is It Really?
- Is Java4Shell Being Exploited Right Now?
- Check If Your VPS Is Affected
- Fixed Java Versions by Vendor and Distro
- Step 1: Patch Java on Ubuntu and Debian
- Step 2: Patch Java on RHEL, AlmaLinux, and Rocky Linux
- Step 3: Patch Temurin, Corretto, and Manual Installs
- Step 4: Patch Java in Docker Containers
- Step 5: Verify the Patch Actually Landed
- Can’t Patch Right Now? The One-Flag Stopgap
- Minecraft Servers: A Special Warning
- What Else the November 17 Release Fixes
- What to Do If You Think You Were Hit
- FAQ
- The Bottom Line
What Is Java4Shell?
Java4Shell, tracked as CVE-2026-114938, is a memory-corruption flaw in the Base64 decoder of the HotSpot JVM — the virtual machine at the heart of OpenJDK and Oracle Java. Base64 is the encoding Java uses to turn binary data into text, and it shows up everywhere on a server: HTTP Basic authentication credentials, SAML artifacts, CSRF tokens, MIME-encoded email headers, API tokens, and file uploads. Every time your Java application decodes one of those values, it runs the affected code.
The flaw was found and disclosed by Calif, a security research firm, on November 17, 2026. Oracle and the OpenJDK project shipped fixes the same day as part of Oracle’s November Critical Security Patch Update, and CISA issued an urgent alert the same day strongly urging organizations to patch immediately. The November update was a big one — 655 patches covering 640 unique CVEs across 21 Oracle product families — but Java4Shell was the one that mattered, because it sits in the Java runtime itself rather than in any single application.
Calif demonstrated unauthenticated remote code execution against six widely deployed Java applications in their default configurations: Keycloak, Atlassian Jira, Atlassian Confluence, JFrog Artifactory, Jenkins, and PingFederate. With a login, they also demonstrated it against Apache Kafka, Apache Solr, Elasticsearch, Gerrit, and Spinnaker. The researchers are holding back the application-specific exploit chains while users update, and there is no single universal exploit — but the public proof of concept that demonstrates the underlying memory corruption is out there, and by November 23 there were 73 public proof-of-concept repositories on GitHub, some of them claiming remote code execution.
That is the honest shape of this flaw: a real, demonstrated path to code execution on some of the most common Java server software in the world, behind a trigger that any unauthenticated visitor can send to a web service. It is not Log4Shell — the trigger is harder to weaponize reliably, and it only fires on certain processors. But it is not theoretical either.
How the Bug Works: One ‘=’ Too Many
To make Base64 decoding fast, HotSpot includes a hand-written assembly routine that uses the AVX-512 VBMI instructions on modern x86-64 processors. It decodes 64 bytes at a time instead of one character at a time, which is a big speedup for a routine that runs constantly. The problem is in how that routine handles the tail of an input — the last few characters, where Base64 uses ‘=’ padding.
When the final chunk of a Base64 string is a short padded tail, the routine miscalculates the size of the output buffer it needs. The calculation underflows to -1, and the decoder writes up to 64 bytes past the end of its output buffer before Java notices the input was malformed and rejects it. That is a heap-based buffer overflow: a write past an array into memory that belongs to something else.
What an attacker can do with that write depends on the application and its heap layout, which is why there is no one-size-fits-all exploit. Calif showed two outcomes. The first is a Heartbleed-style disclosure: the overflow can be steered into reading heap contents back to the attacker — session tokens, secrets, credentials sitting in memory. Security researchers call this variant JavaBleed, and Blackpoint Cyber demonstrated it by crashing a test Spring Boot application with about 28,300 malformed login requests in roughly 20 seconds, without logging in, and reading a secret from memory in all 30 local runs. The second outcome is the serious one: with the right heap layout, the overwrite corrupts data structures the JVM uses to run code, and the attacker gets remote code execution. Upwind reproduced the underlying memory corruption on an Intel Ice Lake server on AWS until the Java process crashed, confirming the bug is reachable on ordinary cloud hardware.
The upstream fix, commit JDK-8393212, is four lines long. If fewer than four characters remain in the input, the decoder jumps to the slow scalar path instead of the fast AVX-512 path. The fix was committed under embargo on October 14 with a deliberately bland commit message, and it shipped in the November 17 releases. Four lines, one jump instruction — and the difference between a patched and an unpatched server.
Who Is Affected?
A server is exposed only when three conditions hold at once. Miss any one of them and you are safe from this particular flaw — but check all three, because the one people get wrong is the CPU.
| Condition | What it means | How to tell |
|---|---|---|
| 1. A vulnerable Java build | OpenJDK 17.0.6 and later on the 17 line, or Java 21, 25, or 27 before the November 17 fixes. Oracle Java SE 8 Enterprise Performance Pack (8u511b33-perf) is also affected. | java -version — see the check section below |
| 2. An x86-64 CPU with AVX-512 VBMI | Intel Xeon from Ice Lake onward, AMD EPYC and Ryzen from Zen 4 onward. ARM64 servers (Graviton, Ampere) are not affected, and neither are older x86-64 CPUs without the VBMI instruction set. | grep -o avx512_vbmi /proc/cpuinfo | head -1 |
| 3. Attacker-controlled Base64 reaching the decoder | Your Java application decodes Base64 that an attacker can supply — HTTP Basic credentials, SAML artifacts, CSRF tokens, MIME-encoded words, API tokens. | If your app is a web service, assume yes |
Standard Java 8 and Java 11 are not affected, because they do not contain the AVX-512 Base64 code path at all. Java versions 18, 19, 20, 22, 23, 24, and 26 are end-of-life and get no fix — if you are running one of those, the answer is to move to a supported line, not to wait for a patch that is never coming.
On a VPS, the CPU condition is the one that surprises people. Most budget VPS plans run on older hardware, and those are safe from this flaw no matter what Java they run. But the newer instance types — the ones providers sell for AI and high-performance workloads — are exactly the ones with Ice Lake, Sapphire Rapids, and Zen 4/5 processors. AWS C6i, M6i, and R6i instances, and the newer C7i/M7i/R7i and C7a/M7a/R7a families, all have AVX-512 VBMI. If your VPS sits on a host bought in the last few years, assume the CPU condition is met until you check.
One more scope note: every distribution built from OpenJDK is in scope — Amazon Corretto, Eclipse Temurin, Azul Zulu, the Microsoft Build of OpenJDK, Red Hat builds, Liberica, SapMachine, and GraalVM. The flaw is in the shared HotSpot code, not in any one vendor’s packaging. And the applications that bundle their own Java runtime are in scope too: Atlassian, Cisco, Elastic, Jenkins, Keycloak, Ping Identity, and Siemens have all published advisories, and several still had no fixed release as of late November. If you run one of those products on your VPS, check the vendor’s advisory as well as your system Java.
How Bad Is It Really?
The scores for this flaw disagree with each other, and the disagreement is worth understanding because it tells you how to prioritize it.
| Who scored it | Score | What the score reflects |
|---|---|---|
| Oracle / OpenJDK | 8.1 (CVSS 3.1, High) | Network-reachable, no login required, but high attack complexity — weaponizing it reliably takes real work |
| Calif (the discoverers) | 9.2 (CVSS 4.0, Critical) | Same flaw, scored on demonstrated unauthenticated code execution against real applications |
| Red Hat | 9.8 (Critical) | Highest of the vendor scores, reflecting the pre-auth RCE demonstration |
| Amazon Linux | 8.8 | Between Oracle and Red Hat |
| FIRST EPSS (Nov 26) | 0.593 | Estimated probability of exploitation in the wild — very high for a freshly disclosed flaw |
The honest comparison is with Log4Shell, the December 2021 Java flaw that everyone in this field still measures things against. Java4Shell is not Log4Shell. Log4Shell fired on every Java version, every CPU, with a single string an attacker could paste into a username field. Java4Shell needs a vulnerable build, a specific CPU instruction set, and a heap layout the attacker has to work for. That is a real difference, and it is why Oracle scored the attack complexity as high.
But the gap between “hard to exploit” and “not exploited” is closing fast. Calif demonstrated pre-authentication code execution on six major applications, the public proof-of-concept code is out, and the EPSS score of 0.593 puts this flaw in the top tier of what attackers are expected to go after. The right way to think about it: this is not a fire to panic about, but it is a patch to install this week, not next month. If your VPS runs Java on a modern CPU and faces the internet, treat it as a priority update.
Is Java4Shell Being Exploited Right Now?
As of late November 2026, the picture is this: attackers are actively probing for vulnerable servers, exploitation attempts have been recorded on honeypots, but no confirmed successful intrusion in the wild has been publicly reported.
- November 17: Calif discloses the flaw; Oracle and OpenJDK ship fixes; CISA issues an urgent alert strongly urging immediate patching. The same day, CISA notes the flaw is “easy to weaponize” and can be exploited remotely without authentication.
- November 18–19: GreyNoise records over 150 requests matching the shape of a Java4Shell attack, coming from five IP addresses. Threat intelligence firm Previdian logs nine exploitation attempts from six IPs. WatchTowr reports its global honeypot network being hit with requests carrying “java4shell-recon” user-agents, alongside blind exploitation attempts using correctly shaped requests. Cloudflare’s Cloudforce One team notices scanners starting to hide their tools — one IP probed a target with a Java4Shell user-agent, then returned about 17 hours later with the exploit trigger while impersonating the Chrome browser.
- November 20–21: VulnCheck’s honeypots see exploitation attempts, and VulnCheck adds Java4Shell to its own Known Exploited Vulnerabilities list on November 23.
- November 23: 73 public proof-of-concept repositories are on GitHub, some claiming remote code execution. VulnCheck has made a full RCE exploit available to its customers.
Two things to be precise about, because the coverage has been sloppy on both points. First, CISA has not added CVE-2026-114938 to its Known Exploited Vulnerabilities catalog — the November 25 and November 27 catalog versions do not list it, and the November 18 additions were Synology DSM, BerriAI LiteLLM, Apache Axis, and REDCap. CISA issued an urgent alert, which is not the same thing as a KEV listing. Second, GreyNoise has not seen any successful intrusions on its sensors — the activity so far is probing and early exploitation attempts, not confirmed breaches. WatchTowr’s assessment is the one to take seriously: the early attempts “aren’t particularly functional or scary yet,” but attackers are iterating product by product, and that is where real exploitation starts.
The window between disclosure and weaponization is the whole story of this flaw. It took about three days for the first probes to appear, and about a week for a full RCE exploit to be circulating commercially. Every day an unpatched, exposed server stays up is a day the exploit gets better.
Check If Your VPS Is Affected

Three commands tell you almost everything. Run them on the VPS itself, and run them as the user that runs your Java applications — the Java on your PATH is not necessarily the Java your application uses.
First, the Java version:
java -version
On a vulnerable build you will see something like this:
openjdk version "25.0.5" 2026-10-20
OpenJDK Runtime Environment (build 25.0.5+11)
OpenJDK 64-Bit Server VM (build 25.0.5+11, mixed mode, sharing)
That 25.0.5 — without a .1 after it — is vulnerable. The fixed build reads 25.0.5.1. The same pattern holds on every line: 17.0.21 is vulnerable, 17.0.21.1 is fixed; 21.0.13 is vulnerable, 21.0.13.1 is fixed. If your version has no fourth number, or the fourth number is 0, you are on a pre-fix build.
Second, the CPU:
grep -o avx512_vbmi /proc/cpuinfo | head -1
If that prints avx512_vbmi, your processor has the instruction set and the vulnerable code path can run. If it prints nothing, your CPU cannot execute the vulnerable routine and this flaw cannot reach you — you can still patch, but there is no urgency.
Third — and this is the one people skip — find every Java on the box, not just the one on your PATH. Applications bundle their own runtimes, and the bundled one is the one that matters:
sudo update-alternatives --list java
find /opt /usr/lib/jvm /usr/local -maxdepth 4 -name "java" -type f 2>/dev/null
ps aux | grep -i java | grep -v grep | awk '{print $11}' | sort -u
The first command lists the system-registered JVMs. The second finds runtimes tucked away in application directories. The third shows you which Java binary your running processes are actually using. If any of them is a pre-fix build on a VBMI processor, that service is exposed. Check Docker too — a container image carries its own Java, and the host’s patched Java does nothing for it. That gets its own step below.
Fixed Java Versions by Vendor and Distro
Every vendor ships the fix under its own version numbers, so check your distribution against this table rather than guessing from the version string. The upstream fixed builds are 17.0.21.1, 21.0.13.1, 25.0.5.1, and 27.0.1.1; everything else is a vendor repackaging of the same fix (JDK-8393212).
| Java line | Affected builds | Fixed build (Oracle / OpenJDK) | Eclipse Temurin | Amazon Corretto |
|---|---|---|---|---|
| Java 17 | 17.0.6 through 17.0.21 | 17.0.21.1 | 17.0.21.1+2 | 17.0.21.1.2 |
| Java 21 | All builds before 21.0.13.1 | 21.0.13.1 | 21.0.13.1+2 | 21.0.13.1.2 |
| Java 25 | All builds before 25.0.5.1 | 25.0.5.1 | 25.0.5.1+2 | 25.0.5.1.2 |
| Java 27 | All builds before 27.0.1.1 | 27.0.1.1 | 27.0.1.1+4 | 27.0.1.1.4 |
| Java 8 EPP | 8u511b33-perf (Oracle only) | 8u513-perf | Not applicable | Not applicable |
| Java 8 / 11 (standard) | Not affected | No change needed | — | — |
Distribution packages landed fast. Debian and Ubuntu both shipped fixed Java within two days of disclosure. Debian 13 (trixie) has openjdk-25 at 25.0.5.1+2-1~deb13u1 (DSA-6640-1) and openjdk-21 at 21.0.13.1+2-1~deb13u1 (DSA-6639-1); Debian 12 (bookworm) has openjdk-17 at 17.0.21.1+2-1~deb12u1 (DLA-4917-1). Ubuntu fixed openjdk-17, openjdk-21, and openjdk-25 for 22.04, 24.04, and 26.04 in USN-9155-1 through USN-9158-1. RHEL 8, 9, and 10 and Alpine Linux had fixed packages by November 20. If you build from source, confirm JDK-8393212 is in your tree; a distribution package whose version number looks current can still predate the fix.
Step 1: Patch Java on Ubuntu and Debian

If you installed Java from your distribution’s repositories, this is a normal package update. Update the package lists, upgrade the Java packages, and then restart every Java service — the new library does nothing until the process restarts.
sudo apt update
sudo apt install --only-upgrade openjdk-25-jdk openjdk-21-jdk openjdk-17-jdk
If you only have one Java line installed, upgrade just that package — apt will tell you if a package is not installed. After the upgrade, check the version:
java -version
You want to see 25.0.5.1, 21.0.13.1, or 17.0.21.1 (with the vendor’s build suffix, for example 25.0.5.1+2-1~deb13u1 on Debian 13 or the Ubuntu equivalent). Then restart the services. A restart is not optional: a running JVM keeps the old, vulnerable code loaded in memory no matter what is on disk.
sudo systemctl restart your-java-service
# Examples:
# sudo systemctl restart minecraft-server
# sudo systemctl restart jenkins
# sudo systemctl restart keycloak
Use the actual service names from systemctl list-units --type=service | grep -i -E "java|minecraft|jenkins|keycloak|tomcat". If your application runs under a process manager like Supervisor or a plain nohup background job, stop and start it the same way you normally would — the point is that the old process must exit and a new one must start.
Step 2: Patch Java on RHEL, AlmaLinux, and Rocky Linux
On the Red Hat family, the same idea with dnf. Red Hat shipped fixed packages by November 20, and AlmaLinux, Rocky Linux, and Oracle Linux followed the same builds.
sudo dnf update java-25-openjdk java-21-openjdk java-17-openjdk
Then verify and restart:
java -version
sudo systemctl restart your-java-service
One RHEL-specific wrinkle: if you installed Java from a third-party repository or a manual tarball rather than the distribution packages, dnf update will not touch it. Check where your Java actually lives with readlink -f $(which java) — if it points somewhere under /opt or a home directory, you have a manual install and you need Step 3 instead.
Step 3: Patch Temurin, Corretto, and Manual Installs
If you installed Java by downloading a tarball — Temurin from Adoptium, Corretto from Amazon, Zulu from Azul, or a Microsoft build — the package manager cannot help you. Download the fixed build, extract it next to the old one, and point your service at it.
For Eclipse Temurin, the fixed builds published on November 18 are 17.0.21.1+2, 21.0.13.1+2, 25.0.5.1+2, and 27.0.1.1+4. Download the one that matches your line and architecture from the Adoptium release page, then:
cd /opt
sudo tar -xzf OpenJDK25U-jdk_x64_linux_hotspot_25.0.5.1_2.tar.gz
sudo ln -sfn /opt/jdk-25.0.5.1+2 /opt/java
/opt/java/bin/java -version
Adjust the directory and file names to the build you downloaded. If you manage Java versions with SDKMAN, the fixed builds are available there too:
sdk install java 25.0.5.1-tem
sdk use java 25.0.5.1-tem
sdk default java 25.0.5.1-tem
For Amazon Corretto, the fixed builds are 17.0.21.1.2, 21.0.13.1.2, 25.0.5.1.2, and 27.0.1.1.4 — same procedure, different download. Whichever vendor you use, the rule is the same as before: after the new Java is in place, restart every service that uses it, and verify with java -version on the binary the service actually runs.
Do not delete the old Java directory until you have confirmed the new one works. Rename it or move it aside instead — if the new build has a problem, you want a one-command rollback, not a re-download.
Step 4: Patch Java in Docker Containers
This is the step most people miss, and it is the one that matters most for Minecraft servers and self-hosted Java apps. A container image carries its own Java. Patching the host does nothing for the Java inside the container, and the container does not update itself.
First, find out which images you are running and what Java they contain:
docker ps --format '{{.Names}} {{.Image}}'
docker exec your-container-name java -version
If the container reports a pre-fix build, pull the updated image and recreate the container. Do not just restart the old container — a restart runs the same image with the same vulnerable Java.
docker compose pull
docker compose up -d
Or, for a container started with plain docker run, stop it, remove it, pull the new image, and start it again with the same flags and volumes. Your data lives in the volume, not in the container, so recreating the container is safe as long as you keep the same -v mounts.
Watch out for pinned tags. If your compose file pins an image to a specific digest or a version tag like eclipse-temurin:25-jre from before November 18, docker compose pull may fetch the same vulnerable image again. Check the image’s published date and the Java version inside it after the pull. For Minecraft specifically, the itzg/minecraft-server:java25-graalvm image was fixed with GraalVM 25.0.5.1+4.1, but other image variants were still catching up days later, and image versions were changing by the hour when the first checks were done. Verify the Java version inside the running container after every update — trust the output of docker exec ... java -version, not the tag.
Step 5: Verify the Patch Actually Landed
Do not trust the package manager’s “already up to date” message. Verify the running process, not the installed package.
# The binary on disk
java -version
# The Java your service is actually running
ps aux | grep java | grep -v grep
sudo ls -l /proc/$(pgrep -f your-service-name | head -1)/exe
The /proc/PID/exe symlink points at the binary the process loaded when it started. If it points at the old Java directory, the service is still running vulnerable code and needs a restart. If the version string shows 25.0.5.1, 21.0.13.1, 17.0.21.1, or 27.0.1.1 — with any vendor suffix after it — you are patched.
For a quick end-to-end check, confirm the vulnerable code path is gone by checking that the fixed build is the one answering. There is no single “am I patched” command for this flaw, because the vulnerable routine only runs when the JVM decodes Base64 on a VBMI processor — but the version number is authoritative here. The fix is in the build, and the build number tells you whether it is there. If the version is right and the process was started after the update, you are done.
Can’t Patch Right Now? The One-Flag Stopgap
Sometimes you cannot patch today. The application vendor has not released a fixed build yet, the maintenance window is days away, or the server cannot restart. There is a stopgap, and it is a single JVM flag:
-XX:-UseBASE64Intrinsics
That flag turns off the fast Base64 routine — the AVX-512 code that contains the flaw — and Java falls back to the standard scalar decoder. The vulnerable code simply never runs. There is a small performance cost on Base64-heavy workloads, but for most applications it is not noticeable, and it is infinitely cheaper than a breach.
Apply it in the way your service passes JVM options. The easiest method that works for almost everything is the JAVA_TOOL_OPTIONS environment variable, which the JVM picks up automatically:
export JAVA_TOOL_OPTIONS="-XX:-UseBASE64Intrinsics"
For a systemd service, add it as an override so it survives package updates:
sudo systemctl edit your-java-service
Then add these lines in the editor that opens:
[Service]
Environment="JAVA_TOOL_OPTIONS=-XX:-UseBASE64Intrinsics"
Save, then reload and restart:
sudo systemctl daemon-reload
sudo systemctl restart your-java-service
An alternative flag, -XX:UseAVX=2, limits the JVM to AVX2 instructions and also avoids the VBMI path. Either flag works; the first is more targeted. Treat this as a bridge, not a destination. The flag protects you while you wait, but the patch is the fix — schedule it, and remove the flag once the fixed build is running, so you get the fast decoder back.
One warning: do not apply the flag and then forget about the patch. The flag only disables one code path. The November 17 release fixed ten vulnerabilities, and the flag does nothing for the other nine.
Minecraft Servers: A Special Warning
If you run a Minecraft server on a VPS, Java4Shell is your problem in particular. Minecraft 26 requires Java 25, and every Java 25 build before 25.0.5.1 has the bug. That means every modern Minecraft server was in range on the day of disclosure — and the players connecting to it are, by definition, sending data your server decodes.
The good news is that the distribution packages moved fast. Debian and Ubuntu shipped fixed Java within two days, so if your server runs on the system Java, the apt update in Step 1 covers you. The bad news is the Docker images. The images most Minecraft servers run on lagged behind the package releases, and when the first checks were done on November 19, image versions were changing by the hour. The itzg/minecraft-server:java25-graalvm image was fixed with GraalVM 25.0.5.1+4.1, but you cannot assume your image is fixed because the tag looks the same as it did last week — pull the latest image, recreate the container, and run docker exec <container> java -version to confirm.
There is one more Minecraft-specific trap. Paper, the server software most VPS owners run, has its own download page, and the jar you run is only as patched as the Java underneath it. Updating Paper does not patch Java, and patching Java does not update Paper. Do both: update the Java runtime first, then check you are on a current Paper build. If you host a Minecraft server on a VPS, the full setup — including which Java version each Minecraft release needs — is covered in our Minecraft server on a VPS guide.
What Else the November 17 Release Fixes
Java4Shell was the headline, but the November 17 OpenJDK release fixed ten vulnerabilities in total, and the patch you install for Java4Shell fixes all of them at once. That is worth knowing, because it is the strongest argument for updating rather than just applying the stopgap flag.
| CVE | Component | CVSS 3.1 | What it is |
|---|---|---|---|
| CVE-2026-114938 | hotspot / compiler | 8.1 | Java4Shell — the Base64 AVX-512 heap overflow |
| CVE-2026-114939 | security-libs / JGSS | 7.4 | Kerberos/GSS-API flaw, affects Java 8 through 27 |
| CVE-2026-114940 | security-libs / SSL | 7.4 | TLS flaw, affects Java 8 through 27 |
| CVE-2026-114941 | hotspot / compiler | 7.0 | Compiler flaw, affects Java 21, 25, 27 |
| CVE-2026-114942 | core-libs | 7.0 | Core libraries flaw, affects Java 17, 21, 25, 27 |
| CVE-2026-114943 | hotspot / runtime | 6.5 | Runtime flaw, affects Java 8 through 27 |
| CVE-2026-114944 | core-svc / management | 5.9 | Management interface flaw, affects Java 8 through 27 |
| CVE-2026-114945 | core-libs / lang | 5.3 | Core libraries flaw, affects Java 17, 21, 25, 27 |
| CVE-2026-114946 | hotspot / compiler | 4.8 | Compiler flaw, affects Java 8 through 27 |
| CVE-2026-114947 | security-libs / SSL | 3.7 | TLS flaw, affects Java 25, 27 |
Two of those are 7.4s in security libraries — the JGSS and TLS flaws affect every supported Java line from 8 to 27, and they are remotely reachable in the same way Java4Shell is. The OpenJDK advisory is the authoritative list; the full risk matrix is published in the OpenJDK vulnerability advisory for November 17, 2026. If you were weighing whether the update is worth a restart, this table is the answer: one update closes ten holes, two of them serious.
What to Do If You Think You Were Hit
If your server was running a vulnerable Java build on a VBMI processor, facing the internet, between November 17 and the day you patched it, there is a chance someone probed it. Here is what to do about that, in order.
Check the logs for the probe pattern. Java4Shell probes are malformed Base64 strings sent to endpoints that decode them — login forms, API endpoints, SAML endpoints. Look for bursts of failed login attempts or 400/500 errors from your Java application in the days after November 17, especially requests with unusual user-agents. WatchTowr’s honeypots saw probes carrying “java4shell-recon” in the user-agent, though later probes impersonated ordinary browsers. A burst of thousands of login requests in seconds — Blackpoint’s test used about 28,300 in 20 seconds — is a strong signal.
Assume secrets in memory were readable. The JavaBleed variant of this flaw reads heap contents, and heap contents include session tokens, API keys, and credentials that were in memory at the time. If your application was exposed, rotate the secrets that live in it: database passwords, API keys, session signing keys, and any credentials stored in environment variables the JVM could see. Invalidate active sessions so stolen tokens stop working. This is the step people skip because nothing visibly broke — but a heap disclosure leaves no log entry, and the only safe assumption is that anything in memory was readable.
Look for the crash. The simplest observable sign of an attack attempt is the JVM dying. The overflow corrupts the heap, and on many heap layouts the process crashes outright. If your Java service restarted unexpectedly, or your monitoring shows JVM crashes between November 17 and your patch date, treat that as a possible exploitation attempt and investigate the logs around it.
Check for persistence. If an attacker did get code execution, the usual next steps are the usual ones: new user accounts, new SSH keys in ~/.ssh/authorized_keys, new systemd services, new cron jobs, and modified application files. Check all of them. The Linux kernel patch guide and the PHP2Shell patch guide in this series cover the same intrusion checks — if you have not hardened the server itself, our VPS security checklist walks through the full lockdown.
FAQ
How do I patch Java4Shell on a VPS?
Update Java to the fixed build for your line — 17.0.21.1, 21.0.13.1, 25.0.5.1, or 27.0.1.1 — using your package manager (apt on Ubuntu/Debian, dnf on RHEL-based systems), then restart every Java service so the new code is actually loaded. For Docker containers, pull the updated image and recreate the container; patching the host does not patch the Java inside the image. Verify with java -version on the binary your service runs.
Is my VPS affected if it runs Java 8 or Java 11?
No. Standard Java 8 and Java 11 do not contain the AVX-512 Base64 code path, so this flaw cannot fire on them. The one exception is Oracle’s Java SE 8 Enterprise Performance Pack (8u511b33-perf), which uses a 17-based VM — that one is affected and is fixed in 8u513-perf. If you are on standard Java 8 or 11, you still want the November 17 update for the other nine CVEs it fixes, but Java4Shell itself does not apply to you.
How do I know if my VPS CPU has AVX-512 VBMI?
Run grep -o avx512_vbmi /proc/cpuinfo | head -1. If it prints avx512_vbmi, your processor has the instruction set. Intel Xeon processors from Ice Lake onward and AMD EPYC/Ryzen processors from Zen 4 onward have it. ARM64 servers and older x86-64 processors do not, and on those machines Java4Shell cannot execute.
Can I just disable the vulnerable code instead of patching?
Yes, temporarily. Starting the JVM with -XX:-UseBASE64Intrinsics turns off the fast Base64 routine and Java falls back to the standard decoder, which does not contain the flaw. Set it through JAVA_TOOL_OPTIONS or a systemd override and restart the service. It is a stopgap, not a fix — the November 17 release closes ten vulnerabilities, and the flag only covers one of them. Patch as soon as you can and remove the flag afterwards.
Is Java4Shell as bad as Log4Shell?
No, and the difference matters. Log4Shell fired on every Java version and every CPU with a single string. Java4Shell needs a vulnerable build, a processor with AVX-512 VBMI, and a heap layout the attacker has to work for — which is why Oracle scored it 8.1 rather than 10. But Calif demonstrated unauthenticated code execution on six major applications, the EPSS exploitation probability is 0.593, and exploitation attempts were recorded within three days of disclosure. It is a patch-this-week flaw, not a patch-this-quarter one.
Does patching the host protect my Docker containers?
No. A container image carries its own Java, and the host’s patched Java does nothing for it. You need to pull the updated image and recreate each container, then verify the Java version inside the running container with docker exec <container> java -version. Watch out for pinned tags — if your compose file pins an old image digest, the pull will fetch the same vulnerable image again.
Is Java4Shell in CISA’s Known Exploited Vulnerabilities catalog?
Not as of the November 25 and November 27, 2026 catalog versions. CISA did issue an urgent alert on November 17 strongly urging immediate patching, and VulnCheck added the flaw to its own exploited-vulnerabilities list on November 23 after its honeypots recorded exploitation attempts on November 20–21. The distinction matters: the alert says patch now; the absence from CISA’s catalog says no exploitation has been confirmed to CISA’s standard yet. Neither fact changes what you should do.
The Bottom Line
Java4Shell is the kind of flaw that rewards the people who patch promptly and punishes the people who wait to see how it develops. The fix has been available since November 17. The fixed builds are 17.0.21.1, 21.0.13.1, 25.0.5.1, and 27.0.1.1, and every major distribution had packages within days. The update is a package upgrade and a restart — ten minutes of work on most servers, including the verification.
Run the three checks: java -version, grep avx512_vbmi /proc/cpuinfo, and a search for every Java on the box and inside your containers. If any of them comes back vulnerable, patch it today. If you cannot patch today, start the JVM with -XX:-UseBASE64Intrinsics and put the patch on the calendar for the next maintenance window — then actually do it.
The attackers are already probing. The public proof of concept is already out. The only question left is whether your server is patched before the probes turn into something worse. Check it now, while the answer is still cheap.


