Repository navigation
Start the Docker image's Tomcat with -XX:-UseBASE64Intrinsics - #311
Merged
Merged
Conversation
JDKs older than the November 2026 updates have a Base64 decoding flaw on x86-64 processors with AVX-512 (CVE-2026-114938). The Docker image now sets CATALINA_OPTS=-XX:-UseBASE64Intrinsics, which turns off the affected intrinsic and only costs Base64 speed, and the install guide and CHANGES tell sites running Roller on their own server to update their JDK or set the same option.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Java4Shell (CVE-2026-114938, https://calif.io/java4shell/) is an out-of-bounds write in HotSpot's Base64 decoding intrinsic on x86-64 processors with AVX-512 VBMI, in OpenJDK 17.0.6 and later until the November 2026 updates. It's a JVM bug, so Roller can't fix it, but its image and docs can help sites until their JDK is patched.
CATALINA_OPTS="-XX:-UseBASE64Intrinsics", which turns off the affected intrinsic and only costs Base64 speed. The option is accepted on ARM64 too (checked on an aarch64 Temurin 25.0.5 JVM), unlike-XX:UseAVX=2, which an ARM JVM refuses.CATALINA_OPTS.CATALINA_OPTSpassed to the container replaces the default.The UI test jobs for oidc and db-oidc build and start this image, so they check that Tomcat starts with the option.