Mitigating Java4Shell in Jenkins

CVE-2026-114938 (“Java4Shell”) is a heap overflow vulnerability in OpenJDK’s hardware-accelerated Base64 decoder affecting Java 17, 21, and 25 running on x86-64 CPUs with AVX-512 VBMI (Intel Ice Lake or newer; AMD Zen 4 or newer).

The issue is fixed in the November 2026 Java releases 17.0.21.1, 21.0.13.1, and 25.0.5.1. Upgrade Java and restart Jenkins to fix the issue.

If you cannot immediately upgrade Java, add the JVM startup flag -XX:-UseBASE64Intrinsics to your Jenkins controllers and restart Jenkins.

The Eclipse Temurin blog post describes their plans to deliver 17.0.21.1, 21.0.13.1, and 25.0.5.1

An interesting assessment of the likelihood of a remote code execution is discussed in a blog post at:

Regarding the Jenkins project Docker images, we are tracking fixed images in Tracking container image fixes for CVE-2026-114938 (“Java4Shell”) i · Issue #2537 · jenkinsci/docker · GitHub