The topic matters especially to anyone responsible for backup: many backup and management components ship with their own Java runtime. That runtime does not appear in any operating system patch list and is only renewed through the vendor's update. In this article we try to give an overview across our vendors.
Critical Vulnerability in OpenJDK Reported: CVE-2026-114938—What to Do
As of 20 November 2026, none of our backup partners has published its own advisory on this vulnerability. We deliberately decided not to wait for that: we would rather inform you now with what can be substantiated today, and keep this article up to date as new findings emerge. It shows where Java is documented and where you should check. It does not replace a vendor statement.
Java4Shell: The vulnerability in brief
Java4Shell is a memory corruption flaw in the Base64 decoder of OpenJDK's HotSpot JVM. On certain processors, Java uses an accelerated decoding routine. A crafted Base64 string causes this routine to write beyond the memory reserved for it (Calif, Tenable).
The consequences range from crashing the application, to reading memory contents such as keys and tokens, to executing malicious code, in some applications without prior authentication. Base64 is used in many everyday functions, for example HTTP authentication headers, tokens and SAML. (Semgrep).
|
Attribute |
Status on 20 November 2026 |
|
Affected Java lines |
OpenJDK 17 (from 17.0.6), 21, 25 and 27. Interim versions that are no longer maintained, such as 22 to 24 and 26, will not receive a patch |
|
Not listed as affected |
Standard Java 8 and 11 |
|
Affected distributions |
Among others Oracle, Amazon Corretto, Eclipse Temurin, Azul Zulu, Red Hat, Microsoft, SAP SapMachine, BellSoft Liberica |
|
Processor requirement |
x86-64 with AVX-512 VBMI: Intel Xeon from Ice Lake, AMD from Zen 4. ARM64 is not affected |
|
Severity |
Oracle: CVSS 3.1 = 8.1 (high). Calif: CVSS 4.0 = 9.2 (critical) |
|
Fixed versions |
Oracle and Eclipse Temurin: 17.0.21.1, 21.0.13.1, 25.0.5.1, 27.0.1.1. Amazon Corretto and Azul Zulu have had their own fixed builds since 17 November; Microsoft, Red Hat and Ubuntu are shipping fixes as well |
|
Workaround |
JVM start option |
JVMs based on Eclipse OpenJ9, which include IBM Semeru, are a special case. According to Semgrep's analysis, OpenJ9 and IBM J9 do not contain the faulty HotSpot code path. IBM had not confirmed this as of 20 November. HCL, however, has stated for Domino that the IBM Semeru JVMs it ships are not based on HotSpot and are not affected (HCL).
How big the risk really is
The vulnerability is serious, but it is not a second Log4Shell. Crashing a Java process is easy. Reliable code execution, by contrast, requires a separate exploit for each application, a matching CPU and additional groundwork in memory (Help Net Security).
Attack attempts are increasing: after the BSI, watchTowr and Previdian are now also reporting scans and blind exploitation attempts (The Hacker News). Public exploits that successfully execute code, and successful attacks, are not known so far (BSI). Calif is deliberately withholding the product-specific exploit chains. VulnCheck now provides its customers with a working exploit; according to Tenable there is no universal exploit. Security researchers expect targeted attacks on individual applications rather than a broad wave.
For backup environments this results in three concrete risks:
- Outage: A management or web service that is crashed repeatedly can block backup and restore, even without any code being executed.
- Credential exposure: Backup servers hold credentials for almost all production systems. Reading the process memory would be particularly damaging here.
- Outbound connections: According to Calif, even a Java program that offers no service itself can be compromised if it opens a TLS connection to a server controlled by the attacker.
A mitigating factor is that backup management interfaces in a properly segmented environment are not reachable from the internet. If you are not certain of that, check it now.
Where Java is used in our partners' solutions
The following overview is an Empalis analysis. For it we evaluated the vendors' publicly available manuals, system requirements and security bulletins, as of 20 November 2026. It is not an official vendor statement, and we will extend it as soon as the vendors comment.
For Commvault, NetBackup and IBM Storage Protect, Java is clearly documented in the manuals. For the other partners we found no public information, which is neither an all-clear nor a finding. Whether a component is actually exploitable depends on three things: the bundled Java version, the JVM (HotSpot or OpenJ9) and the server's CPU.
|
Vendor and product |
What the documentation says about Java |
Assessment and what to check |
|
Commvault (CommServe, Command Center) |
Java is installed automatically during installation, as a separate version in the installation path. Command Center additionally uses Apache Tomcat (CommServe, Command Center). In 2023 a Commvault employee cited Eclipse Temurin 17.0.8 as an example (Community). |
Temurin is a HotSpot distribution, and the 17 line is within the affected range. Check the version in the release file in the installation's JRE directory. The JRE is only renewed through Commvault updates. |
|
Cohesity NetBackup |
The JRE package is required on primary servers and optional on media servers and clients. The Java Administration Console is optional (NetBackup 11.0). |
The publicly accessible documentation does not state the bundled JRE version. Check the version on the primary server and wait for the vendor statement. |
|
IBM Storage Protect Client |
From version 8.1.23, the Java GUI and the web client require IBM Semeru 21 (IBM). |
Semeru is based on OpenJ9, which according to Semgrep does not contain the faulty code path. IBM has not yet confirmed this, but HCL has stated as much for the Semeru JVMs in Domino. Check that Semeru is really installed and not a different OpenJDK 21. |
|
IBM Storage Protect for Virtual Environments |
From 8.2.2, the Java GUI and the data mover require IBM Semeru 21, installed system-wide on the data mover host (IBM). |
Same as for the client. Here the runtime is installed separately and therefore also has to be patched separately. |
|
IBM Storage Protect Server and Operations Center |
IBM regularly publishes bulletins for both on the supplied IBM SDK, Java Technology Edition, most recently in March 2026 (IBM). |
The IBM SDK is also based on J9 technology. Wait for IBM's bulletin. |
|
IBM Storage Protect Plus |
A bulletin from September 2026 names Spring, Tomcat and Netty as included components, in other words a Java application stack (IBM). |
Which Java runtime the appliance uses is not publicly documented. A vendor statement is needed. |
|
Veeam |
The system requirements of the Veeam Plug-ins for Enterprise Applications that we reviewed do not mention a Java dependency (Veeam). |
For the other components we could not substantiate this conclusively. No vendor statement found. |
|
Rubrik, Cohesity DataProtect |
Closed appliances. We found no public information on the Java runtimes they contain. |
A patch can only come from the vendor here. Monitor advisories and support portals. |
|
Wasabi, Impossible Cloud, Keepit |
Cloud services. The platform is operated and patched by the provider. We found no statements on the vulnerability. |
No patching required on your side for the platform. Your own Java software that accesses these services belongs in the inventory. |
|
AWS |
Amazon Corretto 8 and 11: not affected. Corretto 17, 21, 25 and 27: fixed since 17 November. No patch is planned for Corretto 22, 23, 24 and 26 (AWS). AWS WAF has received new Java4Shell rules (Changelog). |
The WAF rules are set to "Count" by default and only block once they are switched to "Block". |
Unabhängig vom Backup-Produkt lohnt ein Blick auf die Umgebung drumherum. Calif hat Angriffe ohne Anmeldung gegen Keycloak, Jira, Confluence, Artifactory, Jenkins und PingFederate gezeigt. Wird eines dieser Systeme für die Anmeldung an Backup-Konsolen oder für die Automatisierung genutzt, sollte hier gehandelt werden.
Regardless of the backup product, it is worth looking at the surrounding environment. Calif has demonstrated unauthenticated attacks against Keycloak, Jira, Confluence, Artifactory, Jenkins and PingFederate. If one of these systems is used for signing in to backup consoles or for automation, action should be taken there.
An indicator: how the vendors were affected by earlier Java vulnerabilities
A look back shows how deeply Java is embedded in the individual products. For this we evaluated the vendor statements on Log4Shell (CVE-2021-44228, December 2021). The pattern from back then matches our analysis: Veeam was not affected, while Commvault, NetBackup and IBM Spectrum Protect were affected in several components.
|
Vendor |
Statement on Log4Shell in 2021 |
What this suggests for today |
|
Veeam |
Not affected. According to Veeam, Log4j was not used in any Veeam product (KB4254). |
Java apparently played hardly any role in Veeam's 2021 portfolio. The portfolio has grown since then, so a current statement from Veeam is still needed. |
|
Commvault |
Affected, rated critical: Cloud Apps package, sub-functions of the agents for Oracle and Microsoft SQL Server, Commvault File System and HyperScale X (Advisory CV_2021_12_1). |
Java is built into several packages, not just the web interface. Agent systems belong in the check as well. |
|
Cohesity NetBackup (Veritas at the time) |
Affected: primary server 8.1.2 to 9.1.0.1, OpsCenter, CloudPoint, MSDP and appliances. Not affected: media servers, clients and the Java Remote Administration Console (Veritas). |
The focus was on the primary server. That is also where the JRE package is mandatory today. |
|
IBM Spectrum Protect (now Storage Protect) |
Affected: web GUI of the backup-archive client, Data Protection for VMware and Hyper-V (IBM), the help system of the Operations Center (IBM) and IBM Storage Protect Plus Container Backup (IBM). |
The same components use Java today. The difference: they run on IBM Semeru and therefore on OpenJ9. |
Important for putting this in context: Log4Shell was a vulnerability in a Java library, whereas Java4Shell is in the Java runtime itself. Anyone who was affected back then demonstrably uses Java, but is not automatically exploitable today. The reverse is equally true. What remains decisive is the runtime version, the JVM type and the CPU.
Closer to today's situation is the JDK vulnerability "Psychic Signatures" (CVE-2022-21449) from April 2022. We found only one statement on it: Commvault was not affected, because the runtime shipped at the time, AdoptOpenJDK 11.0.8, was outside the affected versions (Commvault Community). This shows how much depends on the specific bundled version.
What to do now
The order is: take inventory, narrow down, secure, then patch as soon as the respective vendor delivers.
- Take inventory of Java runtimes. Search backup servers, media agents, proxies and management systems for all Java installations, including the bundled ones in the program directories.
java -versiononly shows the system-wide installation. - Determine version and JVM. HotSpot-based OpenJDK builds of the 17 (from 17.0.6), 21, 25 and 27 lines are affected. The
releasefile in the respective Java directory states vendor and version. - Check the CPU. On Linux, all four flags must be present for the faulty path to be used at all:
grep -m1 '^flags' /proc/cpuinfo | tr ' ' '\n' | grep -E '^(avx512f|avx512bw|avx512vbmi|bmi2)$'. For virtual machines, what counts is what the hypervisor passes through to the VM. - Restrict reachability. Secure the management interfaces and APIs of the backup environment. This increases resilience immediately, regardless of patch status.
- Install vendor updates. Bundled runtimes should only be updated in the way the vendor intends. Replacing the JRE on your own can cost you supportability.
- Use the workaround only after consultation. The start option
-XX:-UseBASE64Intrinsicsdisables the faulty routine. It comes from the researchers who discovered the vulnerability and is not mentioned in the Oracle and OpenJDK advisories. In backup products, set it only in coordination with vendor support. - Monitor. Unexpected crashes of Java services are currently a warning sign and should be investigated.
Sample scripts for the check
For steps 1 to 3 we provide two sample scripts, one for Linux and one for Windows. Both are read-only: they change nothing on the system and do not start Java. They check the CPU, record running Java processes including any workaround that is set, search the file system for Java runtimes and assess each finding by version and JVM type.
Important notice
Both scripts are expressly examples. We provide them without warranty and without support, and they are used at your own risk. Empalis accepts no responsibility for errors, incorrect results, crashes or consequential damage arising from their use. The scripts give an assessment, not a vendor statement. The thresholds for fixed versions follow Oracle's numbering. Read the scripts before use and test them on a non-critical system first.
The comments and the output of the scripts are in German. The table explains the result labels as the scripts print them.
|
Result (as printed) |
Meaning |
|
HANDLUNGSBEDARF |
Action required: affected Java version on a CPU that uses the faulty path |
|
BETROFFENE VERSION |
Affected version, but mitigated by the CPU or a workaround. An update is still needed |
|
PRUEFEN |
Check manually: version cannot be determined, or a Java line that is no longer maintained |
|
VERMUTLICH KORRIGIERT |
Probably fixed: version is at or above the fixed level |
|
VERMUTLICH NICHT BETROFFEN |
Probably not affected: OpenJ9 or IBM Semeru, confirmation from IBM pending |
|
NICHT BETROFFEN |
Not affected: Java 8, Java 11 or Java 17 before 17.0.6 |
Sample script for Linux: java4shell-check.sh
Run with root privileges: sudo ./java4shell-check.sh. With -p only running processes are checked; a search path as an argument narrows down the file search.
#!/usr/bin/env bash
# =============================================================================
# java4shell-check.sh - Pruefskript fuer CVE-2026-114938 ("Java4Shell")
# Empalis Consulting GmbH - Version 1.0, Stand 18.11.2026
#
# BEISPIELSKRIPT - Nutzung auf eigene Verantwortung.
# Bereitstellung ohne Gewaehr und ohne Support. Empalis uebernimmt keine
# Verantwortung fuer Fehler, falsche Ergebnisse, Abstuerze oder Folgeschaeden.
# Vor dem Einsatz pruefen und zuerst auf einem unkritischen System testen.
#
# Was das Skript tut (nur lesend, es veraendert nichts und startet kein Java):
# 1. prueft, ob die CPU den fehlerhaften Codepfad ueberhaupt nutzen kann
# (x86-64 mit avx512f, avx512bw, avx512vbmi, bmi2)
# 2. sucht Java-Laufzeiten im Dateisystem, auch mitgelieferte ("gebuendelte")
# 3. erfasst laufende Java-Prozesse, auch in Containern, und erkennt einen
# gesetzten Workaround (-XX:-UseBASE64Intrinsics, -XX:UseAVX<=2 oder # -XX:DisableIntrinsic=_base64_decodeBlock) # 4. bewertet jede Laufzeit nach Version und JVM-Typ (HotSpot / OpenJ9) # # Aufruf: sudo ./java4shell-check.sh [Suchpfad ...] # ohne Suchpfad wird das gesamte lokale Dateisystem durchsucht # Optionen: -p nur laufende Prozesse pruefen (schnell, keine Dateisuche) # -h Hilfe # # Rueckgabewert: 0 = kein Befund, 1 = Handlungsbedarf, 2 = manuell pruefen # # WICHTIG: Das Ergebnis ist eine Einschaetzung auf Basis oeffentlich bekannter # Informationen (Stand siehe oben) und ersetzt keine Aussage des Herstellers. # Die Schwellen fuer korrigierte Versionen folgen der Oracle-Nummerierung. # Gebuendelte Laufzeiten nur ueber den Hersteller des Produkts aktualisieren. # ============================================================================= set -u export LC_ALL=C SCRIPT_STAND="1.0 / 18.11.2026" ONLY_PROCS=0 usage() { sed -n '2,31p' "$0" | sed 's/^# \{0,1\}//'; exit 0; } while getopts ":ph" opt; do case "$opt" in p) ONLY_PROCS=1 ;; h) usage ;; *) echo "Unbekannte Option: -$OPTARG" >&2; exit 3 ;;
esac
done
shift $((OPTIND - 1))
if [ "${BASH_VERSINFO[0]}" -lt 4 ]; then
echo "Dieses Skript benoetigt bash ab Version 4." >&2; exit 3
fi
[ "$#" -eq 0 ] && set -- /
# ---------------------------------------------------------------- CPU-Pruefung
ARCH=$(uname -m)
CPU_VULN=0
CPU_TEXT=""
if [ "$ARCH" = "x86_64" ]; then
FLAGS=" $(grep -m1 '^flags' /proc/cpuinfo 2>/dev/null | cut -d: -f2) "
MISSING=""
for f in avx512f avx512bw avx512vbmi bmi2; do
case "$FLAGS" in *" $f "*) ;; *) MISSING="$MISSING $f" ;; esac
done
if [ -z "$MISSING" ]; then
CPU_VULN=1
CPU_TEXT="x86-64 mit AVX-512 VBMI: fehlerhafter Codepfad ist nutzbar"
else
CPU_TEXT="x86-64, es fehlen:$MISSING -> fehlerhafter Codepfad wird nicht genutzt"
fi
else
CPU_TEXT="$ARCH: nicht betroffen (die Luecke betrifft nur x86-64)"
fi
CPU_MODEL=$(grep -m1 '^model name' /proc/cpuinfo 2>/dev/null | cut -d: -f2 | sed 's/^ *//')
# ------------------------------------------------------------- Hilfsfunktionen
# Liest einen Wert wie JAVA_VERSION="17.0.8" aus einer release-Datei
release_value() { # $1=Datei $2=Schluessel
sed -n "s/^$2=\"\{0,1\}\([^\"]*\)\"\{0,1\}.*$/\1/p" "$1" 2>/dev/null | head -n1
}
# Zerlegt eine Versionsangabe in "major minor security patch"
parse_version() { # $1=Version, z.B. 17.0.21.1 | 1.8.0_392 | 21
local v="${1%%[-+ ]*}" a b c d
v="${v//_/.}"
IFS=. read -r a b c d _ <<<"$v" a=${a//[!0-9]/}; b=${b//[!0-9]/}; c=${c//[!0-9]/}; d=${d//[!0-9]/} if [ "${a:-0}" = "1" ]; then # altes Schema 1.8.0_392 -> 8.0.392
a=${b:-0}; b=${c:-0}; c=${d:-0}; d=0
fi
echo "${a:-0} ${b:-0} ${c:-0} ${d:-0}"
}
# 0 (wahr), wenn Version A >= Version B (je vier Zahlen)
version_ge() {
local i x y
local -a A=($1) B=($2)
for i in 0 1 2 3; do
x=$((10#${A[$i]:-0})); y=$((10#${B[$i]:-0}))
[ "$x" -gt "$y" ] && return 0
[ "$x" -lt "$y" ] && return 1
done
return 0
}
# Ermittelt Version, Hersteller und JVM-Typ zu einem Java-Verzeichnis.
# $1 = Java-Verzeichnis (JAVA_HOME), $2 = Praefix fuer Container (/proc/PID/root)
inspect_home() {
local home="$1" root="${2:-}" rel=""
J_VERSION=""; J_VENDOR=""; J_VM=""
for cand in "$root$home/release" "$root${home%/jre}/release"; do
[ -r "$cand" ] && { rel="$cand"; break; }
done
if [ -n "$rel" ]; then
J_VERSION=$(release_value "$rel" JAVA_VERSION)
J_VENDOR=$(release_value "$rel" IMPLEMENTOR)
J_VM=$(release_value "$rel" JVM_VARIANT)
fi
# OpenJ9 erkennt man zuverlaessig an der Bibliothek libj9vm*
if find "$root$home/lib" "$root$home/bin" -maxdepth 3 -name 'libj9vm*' 2>/dev/null | grep -q .; then
J_VM="OpenJ9"
elif [ -z "$J_VM" ] && find "$root$home/lib" -maxdepth 3 -name 'libjvm.so' 2>/dev/null | grep -q .; then
J_VM="HotSpot"
fi
case "$(echo "$J_VM" | tr '[:upper:]' '[:lower:]')" in
*j9*) J_VM="OpenJ9" ;;
*hotspot*) J_VM="HotSpot" ;;
"") J_VM="unbekannt" ;;
esac
[ -z "$J_VERSION" ] && J_VERSION="unbekannt"
[ -z "$J_VENDOR" ] && J_VENDOR="unbekannt"
}
# Bewertet eine Laufzeit. Setzt R_CODE (0 ok, 1 Handlungsbedarf, 2 pruefen)
# und R_TEXT. $1=Version $2=JVM-Typ $3=Workaround aktiv (0/1/leer)
assess() {
local ver="$1" vm="$2" mitig="${3:-}" major fixed=""
local -a P
if [ "$ver" = "unbekannt" ]; then
R_CODE=2; R_TEXT="PRUEFEN - Version nicht ermittelbar (keine release-Datei)"; return
fi
P=($(parse_version "$ver")); major=${P[0]}
if [ "$vm" = "OpenJ9" ]; then
R_CODE=0
R_TEXT="VERMUTLICH NICHT BETROFFEN - OpenJ9/IBM Semeru enthaelt den HotSpot-Codepfad nach Analysen Dritter nicht; Bestaetigung von IBM abwarten"
return
fi
case "$major" in
17) fixed="17 0 21 1" ;;
21) fixed="21 0 13 1" ;;
25) fixed="25 0 5 1" ;;
27) fixed="27 0 1 1" ;;
esac
if [ "$major" -le 11 ]; then
R_CODE=0; R_TEXT="NICHT BETROFFEN - Java $major ist nicht als betroffen gefuehrt"
[ "$major" -eq 8 ] && R_TEXT="$R_TEXT (Ausnahme: Oracle Java 8 Enterprise Performance Pack)"
return
fi
if [ "$major" -eq 17 ] && ! version_ge "${P[*]}" "17 0 6 0"; then
R_CODE=0; R_TEXT="NICHT BETROFFEN - aelter als 17.0.6 (aber veraltet, Update empfohlen)"; return
fi
if [ -z "$fixed" ]; then
R_CODE=2
R_TEXT="PRUEFEN - Java $major ist keine gepflegte Linie, Status unklar, kein Patch zu erwarten"
return
fi
if version_ge "${P[*]}" "$fixed"; then
R_CODE=0
R_TEXT="VERMUTLICH KORRIGIERT - Version ab ${fixed// /.} (Oracle-Nummerierung, Herstellerangabe gegenpruefen)"
return
fi
# ab hier: betroffene Version auf HotSpot oder unbekannter JVM
if [ "$CPU_VULN" -eq 0 ]; then
R_CODE=2
R_TEXT="BETROFFENE VERSION - auf dieser CPU wird der Fehlerpfad nicht genutzt; trotzdem aktualisieren (Umzug auf andere Hardware!)"
elif [ "$mitig" = "1" ]; then
R_CODE=2
R_TEXT="BETROFFENE VERSION - Workaround ist fuer diesen Prozess aktiv; Update bleibt noetig"
else
R_CODE=1
R_TEXT="HANDLUNGSBEDARF - betroffene Version auf verwundbarer CPU"
fi
}
WORST=0
bump() { [ "$1" -eq 1 ] && WORST=1; [ "$1" -eq 2 ] && [ "$WORST" -eq 0 ] && WORST=2; return 0; }
# ---------------------------------------------------------------------- Ausgabe
echo "============================================================================"
echo " Java4Shell-Check (CVE-2026-114938) - Empalis - Skriptstand $SCRIPT_STAND"
echo "============================================================================"
echo " Host: $(hostname 2>/dev/null) Datum: $(date '+%d.%m.%Y %H:%M')"
echo " CPU: ${CPU_MODEL:-unbekannt}"
echo " Befund: $CPU_TEXT"
echo " BEISPIELSKRIPT ohne Gewaehr - Nutzung auf eigene Verantwortung."
[ "$(id -u)" -ne 0 ] && echo " HINWEIS: Ohne root-Rechte sind Prozesse und Verzeichnisse anderer Benutzer nicht vollstaendig sichtbar."
echo
# ----------------------------------------------------------- laufende Prozesse
declare -A SEEN_HOME=()
echo "--- Laufende Java-Prozesse -------------------------------------------------"
NPROC=0
for p in /proc/[0-9]*; do
pid=${p#/proc/}
exe=$(readlink "$p/exe" 2>/dev/null) || continue
exe=${exe% (deleted)}
case "$exe" in */bin/java) ;; *) continue ;; esac
NPROC=$((NPROC + 1))
home=${exe%/bin/java}
# Workaround in Kommandozeile oder Umgebungsvariablen (JAVA_TOOL_OPTIONS u.a.)?
args="$(tr '\0' ' ' <"$p/cmdline" 2>/dev/null) $(tr '\0' '\n' <"$p/environ" 2>/dev/null | grep -E '^(JAVA_TOOL_OPTIONS|JDK_JAVA_OPTIONS|_JAVA_OPTIONS)=' | tr '\n' ' ')"
mitig=0
case "$args" in *"-XX:-UseBASE64Intrinsics"*|*"-XX:UseAVX=0"*|*"-XX:UseAVX=1"*|*"-XX:UseAVX=2"*|*"DisableIntrinsic="*"_base64_decodeBlock"*) mitig=1 ;; esac
root=""
[ -e "$home/bin/java" ] || root="$p/root" # Prozess laeuft in einem Container
inspect_home "$home" "$root"
assess "$J_VERSION" "$J_VM" "$mitig"
bump "$R_CODE"
SEEN_HOME["$home"]=1
user=$(stat -c %U "$p" 2>/dev/null)
echo "PID $pid (Benutzer ${user:-?})${root:+ [Container]}"
echo " Pfad: $home"
echo " Laufzeit: Java $J_VERSION, $J_VENDOR, JVM: $J_VM"
echo " Workaround aktiv: $([ "$mitig" -eq 1 ] && echo ja || echo nein)"
echo " Ergebnis: $R_TEXT"
done
[ "$NPROC" -eq 0 ] && echo "keine gefunden"
echo
# ------------------------------------------------------------------ Dateisuche
if [ "$ONLY_PROCS" -eq 0 ]; then
echo "--- Java-Installationen im Dateisystem (Suchpfad: $*) ---"
echo " (die Suche kann einige Minuten dauern, Netzlaufwerke werden uebersprungen)"
NINST=0
declare -A DONE=()
while IFS= read -r javabin; do
real=$(readlink -f "$javabin" 2>/dev/null) || real="$javabin"
home=${real%/bin/java}
[ -n "${DONE[$home]:-}" ] && continue
DONE["$home"]=1
NINST=$((NINST + 1))
inspect_home "$home" ""
assess "$J_VERSION" "$J_VM" ""
bump "$R_CODE"
echo "$home"
echo " Laufzeit: Java $J_VERSION, $J_VENDOR, JVM: $J_VM"
echo " In Benutzung durch laufenden Prozess: $([ -n "${SEEN_HOME[$home]:-}" ] && echo ja || echo nein)"
echo " Ergebnis: $R_TEXT"
done < <(find "$@" \ \( -path /proc -o -path /sys -o -path /dev -o -path /run \ -o -fstype nfs -o -fstype nfs4 -o -fstype cifs -o -fstype smb3 -o -fstype autofs \) -prune \ -o -type f -name java -path '*/bin/java' -print 2>/dev/null)
[ "$NINST" -eq 0 ] && echo "keine gefunden"
echo
fi
# ------------------------------------------------------------- Zusammenfassung
echo "--- Gesamtergebnis ---------------------------------------------------------"
case "$WORST" in
0) echo "KEIN BEFUND: keine als betroffen erkannte Java-Laufzeit gefunden." ;;
1) echo "HANDLUNGSBEDARF: mindestens eine betroffene Java-Laufzeit auf verwundbarer CPU."
echo "Naechste Schritte: Erreichbarkeit des Dienstes einschraenken, Update des"
echo "Produktherstellers einspielen. Workaround nur nach Ruecksprache mit dem Hersteller." ;;
2) echo "MANUELL PRUEFEN: mindestens ein Eintrag ist unklar oder nur durch CPU/Workaround entschaerft." ;;
esac
echo
echo "Dieses Ergebnis ist eine Einschaetzung und ersetzt keine Herstelleraussage."
echo "Nicht erfasst werden: Java in nicht laufenden Container-Images und in Archiven."
exit "$WORST"
Sample script for Windows: Java4Shell-Check.ps1
Run in a PowerShell with administrator rights: powershell -ExecutionPolicy Bypass -File .\Java4Shell-Check.ps1. By default the program directories are searched, with -AllDrives all local hard disks. Under Windows PowerShell 5.1, AVX-512 VBMI cannot be queried directly. In that case the script treats a CPU with AVX-512 as vulnerable as a precaution.
<# .SYNOPSIS Pruefskript fuer CVE-2026-114938 ("Java4Shell") unter Windows. Empalis Consulting GmbH - Version 1.0, Stand 18.11.202 BEISPIELSKRIPT - Nutzung auf eigene Verantwortung. Bereitstellung ohne Gewaehr und ohne Support. Empalis uebernimmt keine Verantwortung fuer Fehler, falsche Ergebnisse, Abstuerze oder Folgeschaeden. Vor dem Einsatz pruefen und zuerst auf einem unkritischen System testen. .DESCRIPTION Das Skript arbeitet nur lesend. Es veraendert nichts und startet kein Java. 1. prueft, ob die CPU den fehlerhaften Codepfad nutzen kann (AVX-512 VBMI) 2. erfasst laufende Java-Prozesse und erkennt einen gesetzten Workaround 3. sucht Java-Laufzeiten im Dateisystem, auch mitgelieferte ("gebuendelte") 4. bewertet jede Laufzeit nach Version und JVM-Typ (HotSpot / OpenJ9) Rueckgabewert: 0 = kein Befund, 1 = Handlungsbedarf, 2 = manuell pruefen WICHTIG: Das Ergebnis ist eine Einschaetzung auf Basis oeffentlich bekannter Informationen und ersetzt keine Aussage des Herstellers. Die Schwellen fuer korrigierte Versionen folgen der Oracle-Nummerierung. Gebuendelte Laufzeiten nur ueber den Hersteller des Produkts aktualisieren. .PARAMETER Path Zu durchsuchende Verzeichnisse. Standard: die Programmverzeichnisse. .PARAMETER AllDrives Durchsucht alle lokalen Festplatten vollstaendig (dauert laenger). .PARAMETER ProcessesOnly Prueft nur laufende Prozesse, ohne Dateisuche. .EXAMPLE powershell -ExecutionPolicy Bypass -File .\Java4Shell-Check.ps1 -AllDrives #>
[CmdletBinding()]
param(
[string[]]$Path,
[switch]$AllDrives,
[switch]$ProcessesOnly
)
$ErrorActionPreference = 'SilentlyContinue'
$ScriptStand = '1.0 / 18.11.2026'
# ---------------------------------------------------------------- CPU-Pruefung
# Windows bietet keine einfache Abfrage fuer AVX-512 VBMI.
# - PowerShell 7.4+ (.NET 8) kann es direkt abfragen.
# - Sonst pruefen wir AVX-512F ueber die Windows-API. Ohne AVX-512F gibt es
# auch kein VBMI. Mit AVX-512F gehen wir vorsichtshalber von "verwundbar" aus.
$cpu = Get-CimInstance Win32_Processor | Select-Object -First 1
$arch = $env:PROCESSOR_ARCHITECTURE
$cpuVuln = $true
$cpuText = ''
if ($arch -ne 'AMD64') {
$cpuVuln = $false
$cpuText = "$arch`: nicht betroffen (die Luecke betrifft nur x86-64)"
}
else {
$vbmiType = 'System.Runtime.Intrinsics.X86.Avx512Vbmi' -as [type]
if ($vbmiType) {
$cpuVuln = [bool]$vbmiType::IsSupported
if ($cpuVuln) { $cpuText = 'x86-64 mit AVX-512 VBMI: fehlerhafter Codepfad ist nutzbar' }
else { $cpuText = 'x86-64 ohne AVX-512 VBMI: fehlerhafter Codepfad wird nicht genutzt' }
}
else {
$sig = '[DllImport("kernel32.dll")] public static extern bool IsProcessorFeaturePresent(uint feature);'
$k32 = Add-Type -MemberDefinition $sig -Name 'J4sCpu' -Namespace 'Empalis' -PassThru
$hasAvx512f = $false
if ($k32) { $hasAvx512f = $k32::IsProcessorFeaturePresent(41) } # 41 = AVX512F
if ($k32 -and -not $hasAvx512f) {
$cpuVuln = $false
$cpuText = 'x86-64 ohne AVX-512: fehlerhafter Codepfad wird nicht genutzt'
}
else {
$cpuVuln = $true
$cpuText = 'x86-64 mit AVX-512 (VBMI hier nicht pruefbar): wird als verwundbar behandelt. Betroffen sind Intel Xeon ab Ice Lake und AMD ab Zen 4.'
}
}
}
# ------------------------------------------------------------- Hilfsfunktionen
function Get-ReleaseValue([string]$File, [string]$Key) {
$line = Get-Content -LiteralPath $File | Where-Object { $_ -match "^$Key=" } | Select-Object -First 1
if ($line) { return ($line -replace "^$Key=", '').Trim().Trim('"') }
return ''
}
# Zerlegt eine Versionsangabe in vier Zahlen: 17.0.21.1 | 1.8.0_392 | 21
function ConvertTo-VersionParts([string]$Version) {
$v = ($Version -split '[-+ ]')[0] -replace '_', '.'
$n = @($v -split '\.' | ForEach-Object { [int](($_ -replace '\D', '') + '') })
while ($n.Count -lt 4) { $n += 0 }
if ($n[0] -eq 1) { $n = @($n[1], $n[2], $n[3], 0) } # 1.8.0_392 -> 8.0.392
return , @($n[0..3])
}
function Test-VersionGe([int[]]$A, [int[]]$B) {
for ($i = 0; $i -lt 4; $i++) {
if ($A[$i] -gt $B[$i]) { return $true }
if ($A[$i] -lt $B[$i]) { return $false }
}
return $true
}
# Ermittelt Version, Hersteller und JVM-Typ zu einem Java-Verzeichnis
function Get-JavaInfo([string]$JavaHome, [string]$Exe) {
$info = [ordered]@{ Version = ''; Vendor = ''; Vm = '' }
$rel = @((Join-Path $JavaHome 'release'), (Join-Path (Split-Path $JavaHome -Parent) 'release')) |
Where-Object { Test-Path -LiteralPath $_ -PathType Leaf } | Select-Object -First 1
if ($rel -and ($JavaHome -notmatch '\\jre$') -and ($rel -notlike "$JavaHome*")) { $rel = $null }
if ($rel) {
$info.Version = Get-ReleaseValue $rel 'JAVA_VERSION'
$info.Vendor = Get-ReleaseValue $rel 'IMPLEMENTOR'
$info.Vm = Get-ReleaseValue $rel 'JVM_VARIANT'
}
if (-not $info.Version -and $Exe -and (Test-Path -LiteralPath $Exe)) {
# Rueckfall: Versionsangabe aus den Dateieigenschaften von java.exe
$vi = (Get-Item -LiteralPath $Exe).VersionInfo
if ($vi.ProductVersion) { $info.Version = $vi.ProductVersion }
if (-not $info.Vendor -and $vi.CompanyName) { $info.Vendor = $vi.CompanyName }
}
# OpenJ9 erkennt man zuverlaessig an der Bibliothek j9vm*.dll
$j9 = Get-ChildItem -LiteralPath (Join-Path $JavaHome 'bin') -Recurse -Depth 2 -Filter 'j9vm*.dll' | Select-Object -First 1
if ($j9 -or $info.Vm -match 'j9') { $info.Vm = 'OpenJ9' }
elseif ($info.Vm -match 'hotspot') { $info.Vm = 'HotSpot' }
elseif (Get-ChildItem -LiteralPath (Join-Path $JavaHome 'bin') -Recurse -Depth 2 -Filter 'jvm.dll' | Select-Object -First 1) { $info.Vm = 'HotSpot' }
else { $info.Vm = 'unbekannt' }
if (-not $info.Version) { $info.Version = 'unbekannt' }
if (-not $info.Vendor) { $info.Vendor = 'unbekannt' }
return $info
}
# Bewertet eine Laufzeit. Code: 0 ok, 1 Handlungsbedarf, 2 pruefen
function Get-Assessment([string]$Version, [string]$Vm, $Mitigated) {
if ($Version -eq 'unbekannt') {
return @{ Code = 2; Text = 'PRUEFEN - Version nicht ermittelbar' }
}
$p = ConvertTo-VersionParts $Version
$major = $p[0]
if ($Vm -eq 'OpenJ9') {
return @{ Code = 0; Text = 'VERMUTLICH NICHT BETROFFEN - OpenJ9/IBM Semeru enthaelt den HotSpot-Codepfad nach Analysen Dritter nicht; Bestaetigung von IBM abwarten' }
}
if ($major -le 11) {
$t = "NICHT BETROFFEN - Java $major ist nicht als betroffen gefuehrt"
if ($major -eq 8) { $t += ' (Ausnahme: Oracle Java 8 Enterprise Performance Pack)' }
return @{ Code = 0; Text = $t }
}
if ($major -eq 17 -and -not (Test-VersionGe $p @(17, 0, 6, 0))) {
return @{ Code = 0; Text = 'NICHT BETROFFEN - aelter als 17.0.6 (aber veraltet, Update empfohlen)' }
}
$fixed = switch ($major) {
17 { , @(17, 0, 21, 1) }
21 { , @(21, 0, 13, 1) }
25 { , @(25, 0, 5, 1) }
27 { , @(27, 0, 1, 1) }
default { $null }
}
if (-not $fixed) {
return @{ Code = 2; Text = "PRUEFEN - Java $major ist keine gepflegte Linie, Status unklar, kein Patch zu erwarten" }
}
if (Test-VersionGe $p $fixed) {
return @{ Code = 0; Text = "VERMUTLICH KORRIGIERT - Version ab $($fixed -join '.') (Oracle-Nummerierung, Herstellerangabe gegenpruefen)" }
}
if (-not $cpuVuln) {
return @{ Code = 2; Text = 'BETROFFENE VERSION - auf dieser CPU wird der Fehlerpfad nicht genutzt; trotzdem aktualisieren (Umzug auf andere Hardware!)' }
}
if ($Mitigated -eq $true) {
return @{ Code = 2; Text = 'BETROFFENE VERSION - Workaround ist fuer diesen Prozess aktiv; Update bleibt noetig' }
}
return @{ Code = 1; Text = 'HANDLUNGSBEDARF - betroffene Version auf verwundbarer CPU' }
}
$script:Worst = 0
function Set-Worst([int]$Code) {
if ($Code -eq 1) { $script:Worst = 1 }
elseif ($Code -eq 2 -and $script:Worst -eq 0) { $script:Worst = 2 }
}
# ---------------------------------------------------------------------- Ausgabe
$isAdmin = ([Security.Principal.WindowsPrincipal][Security.Principal.WindowsIdentity]::GetCurrent()).IsInRole(
[Security.Principal.WindowsBuiltInRole]::Administrator)
Write-Output '============================================================================'
Write-Output " Java4Shell-Check (CVE-2026-114938) - Empalis - Skriptstand $ScriptStand"
Write-Output '============================================================================'
Write-Output " Host: $env:COMPUTERNAME Datum: $(Get-Date -Format 'dd.MM.yyyy HH:mm')"
Write-Output " CPU: $($cpu.Name)"
Write-Output " Befund: $cpuText"
Write-Output ' BEISPIELSKRIPT ohne Gewaehr - Nutzung auf eigene Verantwortung.'
if (-not $isAdmin) {
Write-Output ' HINWEIS: Ohne Administratorrechte sind Prozesse und Verzeichnisse anderer Benutzer nicht vollstaendig sichtbar.'
}
Write-Output ''
# ----------------------------------------------------------- laufende Prozesse
Write-Output '--- Laufende Java-Prozesse -------------------------------------------------'
$seenHomes = @{}
$globalOpts = @($env:JAVA_TOOL_OPTIONS, $env:JDK_JAVA_OPTIONS, $env:_JAVA_OPTIONS,
[Environment]::GetEnvironmentVariable('JAVA_TOOL_OPTIONS', 'Machine'),
[Environment]::GetEnvironmentVariable('JDK_JAVA_OPTIONS', 'Machine'),
[Environment]::GetEnvironmentVariable('_JAVA_OPTIONS', 'Machine')) -join ' '
$mitigPattern = '-XX:-UseBASE64Intrinsics|-XX:UseAVX=[0-2]\b|DisableIntrinsic=\S*_base64_decodeBlock'
$procs = @(Get-CimInstance Win32_Process -Filter "Name='java.exe' OR Name='javaw.exe'")
# Dienste, die die JVM als DLL laden (z.B. Tomcat als Windows-Dienst), haben
# keinen java.exe-Prozess. Deshalb zusaetzlich nach geladener jvm.dll suchen.
$embedded = @(Get-Process | Where-Object { $_.Name -notmatch '^javaw?$' } | ForEach-Object {
$proc = $_
$m = $proc.Modules | Where-Object { $_.ModuleName -ieq 'jvm.dll' } | Select-Object -First 1
if ($m) { [pscustomobject]@{ Id = $proc.Id; Name = $proc.Name; JvmDll = $m.FileName } }
})
if ($procs.Count -eq 0 -and $embedded.Count -eq 0) { Write-Output 'keine gefunden' }
foreach ($pr in $procs) {
$exe = $pr.ExecutablePath
if (-not $exe) {
Write-Output "PID $($pr.ProcessId) ($($pr.Name)): Pfad nicht lesbar (Administratorrechte noetig)"
Set-Worst 2
continue
}
$jhome = Split-Path (Split-Path $exe -Parent) -Parent
$seenHomes[$jhome.ToLower()] = $true
$mitig = ("$($pr.CommandLine) $globalOpts" -match $mitigPattern)
$info = Get-JavaInfo $jhome $exe
$res = Get-Assessment $info.Version $info.Vm $mitig
Set-Worst $res.Code
Write-Output "PID $($pr.ProcessId) ($($pr.Name))"
Write-Output " Pfad: $jhome"
Write-Output " Laufzeit: Java $($info.Version), $($info.Vendor), JVM: $($info.Vm)"
Write-Output " Workaround aktiv: $(if ($mitig) { 'ja' } else { 'nein' })"
Write-Output " Ergebnis: $($res.Text)"
}
foreach ($pr in $embedded) {
# jvm.dll liegt in \bin\server\ oder \jre\bin\server\
$jhome = Split-Path (Split-Path (Split-Path $pr.JvmDll -Parent) -Parent) -Parent
$seenHomes[$jhome.ToLower()] = $true
$info = Get-JavaInfo $jhome (Join-Path $jhome 'bin\java.exe')
$res = Get-Assessment $info.Version $info.Vm $null
Set-Worst $res.Code
Write-Output "PID $($pr.Id) ($($pr.Name), JVM als Bibliothek eingebunden)"
Write-Output " Pfad: $jhome"
Write-Output " Laufzeit: Java $($info.Version), $($info.Vendor), JVM: $($info.Vm)"
Write-Output ' Workaround aktiv: nicht pruefbar (JVM-Optionen stehen in der Dienstkonfiguration)'
Write-Output " Ergebnis: $($res.Text)"
}
Write-Output ''
# ------------------------------------------------------------------ Dateisuche
if (-not $ProcessesOnly) {
if ($AllDrives) {
$roots = @(Get-CimInstance Win32_LogicalDisk -Filter 'DriveType=3' | ForEach-Object { $_.DeviceID + '\' })
}
elseif ($Path) { $roots = $Path }
else {
$roots = @($env:ProgramFiles, ${env:ProgramFiles(x86)}, $env:ProgramData) | Where-Object { $_ } | Select-Object -Unique
}
Write-Output "--- Java-Installationen im Dateisystem (Suchpfad: $($roots -join ', ')) ---"
Write-Output ' (die Suche kann einige Minuten dauern; mit -AllDrives werden alle lokalen Platten durchsucht)'
$done = @{}
$count = 0
foreach ($root in $roots) {
Get-ChildItem -LiteralPath $root -Recurse -Force -File -Filter 'java.exe' |
Where-Object { $_.DirectoryName -match '\\bin$' } | ForEach-Object {
$jhome = Split-Path $_.DirectoryName -Parent
$key = $jhome.ToLower()
if ($done.ContainsKey($key)) { return }
$done[$key] = $true
$count++
$info = Get-JavaInfo $jhome $_.FullName
$res = Get-Assessment $info.Version $info.Vm $null
Set-Worst $res.Code
Write-Output $jhome
Write-Output " Laufzeit: Java $($info.Version), $($info.Vendor), JVM: $($info.Vm)"
Write-Output " In Benutzung durch laufenden Prozess: $(if ($seenHomes.ContainsKey($key)) { 'ja' } else { 'nein' })"
Write-Output " Ergebnis: $($res.Text)"
}
}
if ($count -eq 0) { Write-Output 'keine gefunden' }
Write-Output ''
}
# ------------------------------------------------------------- Zusammenfassung
Write-Output '--- Gesamtergebnis ---------------------------------------------------------'
switch ($script:Worst) {
0 { Write-Output 'KEIN BEFUND: keine als betroffen erkannte Java-Laufzeit gefunden.' }
1 {
Write-Output 'HANDLUNGSBEDARF: mindestens eine betroffene Java-Laufzeit auf verwundbarer CPU.'
Write-Output 'Naechste Schritte: Erreichbarkeit des Dienstes einschraenken, Update des'
Write-Output 'Produktherstellers einspielen. Workaround nur nach Ruecksprache mit dem Hersteller.'
}
2 { Write-Output 'MANUELL PRUEFEN: mindestens ein Eintrag ist unklar oder nur durch CPU/Workaround entschaerft.' }
}
Write-Output ''
Write-Output 'Dieses Ergebnis ist eine Einschaetzung und ersetzt keine Herstelleraussage.'
Write-Output 'Nicht erfasst werden: Java in Container-Images und in Archiven.'
exit $script:Worst
How Empalis supports you
We continuously follow our partners' publications and update this article as soon as new findings or reliable vendor statements are available. You can tell the current status from the date below the headline. We inform managed services customers directly if action is required in their environment.
If you would like to have your backup environment checked for affected Java runtimes, please contact your Empalis representative.
Sources
All sources were last checked on 20 November 2026.
- BSI: cybersecurity warning "OpenJDK: Kritische Schwachstelle Java4Shell" (in German): Cybersicherheitswarnung „OpenJDK: Kritische Schwachstelle Java4Shell“ (https://www.bsi.bund.de/SharedDocs/Cybersicherheitswarnungen/DE/2026/2026-306673-1032.pdf?__blob=publicationFile&v=2)
- Calif: Java4Shell, technical write-up by the discoverers: Calif: Java4Shell (https://calif.io/java4shell/)
- Tenable: FAQ on CVE-2026-114938 (https://www.tenable.com/blog/java4shell-cve-2026-114938-frequently-asked-questions-about-openjdk-rce-vulnerability)
- Help Net Security: assessment of exploitability (https://www.helpnetsecurity.com/2026/11/18/java4shell-openjdk-vulnerability-cve-2026-114938/)
- Semgrep: analysis including the statement on OpenJ9 (https://semgrep.dev/blog/2026/java4shell-openjdk-base64-vulnerability/)
- AWS: status page for CVE-2026-114938 (https://explore.alas.aws.amazon.com/CVE-2026-114938.html)
- AWS WAF: managed rules changelog (https://docs.aws.amazon.com/waf/latest/developerguide/aws-managed-rule-groups-changelog.html)
- Commvault: CommServe system requirements (Linux)(https://docs.commvault.com/11.46/commcell-console/commserve_server_system_requirements_linux_02.html)
- Commvault: Command Center system requirements (https://documentation.commvault.com/11.42/commcell-console/command_center_system_requirements_01.html)
- Commvault Community: Java update on Commvault servers (https://community.commvault.com/software-upgrades-and-updates-55/java-update-on-commvault-servers-7668)
- NetBackup 11.0: Changes to Java GUI and JRE (https://www.veritas.com/support/en_US/doc/103228346-168289021-0/v168807010-168289021)
- • IBM: Java requirement of the Storage Protect client from 8.1.23 (https://www.ibm.com/support/pages/node/7229451)
- IBM: requirements for Data Protection for VMware 8.2.2 (https://www.ibm.com/support/pages/hardware-and-software-requirements-data-protection-vmware-822)
- IBM: Security Bulletin Storage Protect Server, März 2026 (https://www.ibm.com/support/pages/security-bulletin-security-bulletin-ibm-storage-protect-server-affected-vulnerabilities-ibm-sdk-java-technology-edition-could-allow-denial-service-or-information-exposure-applications-using-affected-java-components)
- IBM: Security Bulletin Storage Protect Plus, September 2026 (https://www.ibm.com/support/pages/security-bulletin-vulnerabilities-spring-tomcat-netty-postcss-might-affect-ibm-storage-protect-plus-1)
- Veeam: system requirements of the Plug-ins for Enterprise Applications (https://helpcenter.veeam.com/docs/backup/plugins/plan_and_manage_requirements.html)
- Veeam KB4254: Log4j Vulnerability (https://www.veeam.com/kb4254)
- Commvault: Security Advisory CV\_2021\_12\_1 zu Log4j (https://documentation.commvault.com/securityadvisories/CV_2021_12_1.html)
- Veritas: impact of Log4j on NetBackup (https://www.veritas.com/support/en_US/article.100052058)
- IBM: Log4j-Bulletin Backup-Archive Client und Virtual Environments (https://www.ibm.com/support/pages/node/6527080)
- IBM: Log4j-Bulletin Operations Center (https://www.ibm.com/support/pages/node/6527084)
- IBM: Log4j-Bulletin Spectrum Protect Plus Container Backup (https://www.ibm.com/support/pages/node/6527090)
- Commvault Community: CVE-2022-21449 (https://community.commvault.com/self-hosted-q-a-2/is-commvault-vulnerable-to-cve-2022-21449-3076)
- • The Hacker News: status of attack attempts, 19 November 2026 (https://thehackernews.com/2026/11/cisa-urges-immediate-patching-of.html)
- HCL: statement on IBM Semeru in Domino (https://developer.ds.hcl-software.com/t/cve-2026-114938-java4shell-vulnerability/172886)