Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/configuration/jvm-options.md
Original file line number Diff line number Diff line change
Expand Up @@ -163,4 +163,4 @@ MeowIce's flags use the G1 garbage collector by default. MeowIce also provides a

## Mitigating Java4Shell exploit (CVE-2026-114938)

By default the image will mitigate the Java4Shell exploit (CVE-2026-114938) by disabling `UseBASE64Intrinsics` with `-XX:-UseBASE64Intrinsics` when using Java 17 or later. This can be disabled by setting the environment variable `FIX_JAVA4SHELL_EXPLOIT` to `false`.
The latest image now includes a base image that includes the upstream fix [listed here](https://adoptium.net/news/2026/11/temurin-november-2026-cspu-java4shell).
9 changes: 0 additions & 9 deletions scripts/start-finalExec-jvmFlags
Original file line number Diff line number Diff line change
Expand Up @@ -233,12 +233,3 @@ if isTrue "${USE_SIMD_FLAGS}"; then
--add-modules=jdk.incubator.vector
"
fi

# if java >= 17, mitigate Java4Shell exploit (CVE-2026-114938) by disabling UseBASE64Intrinsics with
# -XX:-UseBASE64Intrinsics
if [[ $java_major_version -ge 17 ]] && isTrue "${FIX_JAVA4SHELL_EXPLOIT:-true}"; then
JVM_XX_OPTS="${JVM_XX_OPTS}
-XX:-UseBASE64Intrinsics
"
log "Disabling UseBASE64Intrinsics to mitigate Java4Shell exploit (CVE-2026-114938)"
fi