GrepBoard/Manuals
605 manuals ·

OpenJDK CVE-2026-114938 (Java4Shell): Check Your JDK Version

·Tested on Eclipse Temurin 21.0.13+9 · 21.0.13.1+2 (Docker) · 2026-11·Test scope ↓·5 steps

Check the November 17 OpenJDK advisory for affected releases and compare java -version output from two official Temurin images before updating.

OpenJDK issued its November 17, 2026 out-of-band advisory after the regular October 20 security update. If you are checking CVE-2026-114938, start with the Java release line and version your service uses. “Java4Shell” is a name used in press coverage. Search vendor notices by CVE ID because the name does not appear in the OpenJDK advisory.

[1] Run java -version with the Java executable used by the service. If the launcher or service configuration specifies a path, use that executable. Use the second command when the service picks Java from JAVA_HOME and your shell has the same value.

console
$ java -version$ "${JAVA_HOME:?Set JAVA_HOME to the service runtime}/bin/java" -version

Read the version in quotes on the first line and the vendor and build on the next line. Check each executable or image separately when services on the same host use different Java installations.

[2] Compare against the highest affected versions in the November 17 OpenJDK advisory. The upper bounds are inclusive. In the risk matrix, • marks the release lines listed for each CVE. Check both the version cutoff and the marks in your release column.

Release lineHighest affected version
2727.0.1.0.3
2525.0.5.0.3
2121.0.13.0.3
1717.0.21.0.3
1111.0.33
88u512

Here is the OpenJDK risk matrix.

CVE IDComponentCVSSv3.1Vector81117212527
CVE-2026-114938hotspot/compiler8.1NHNNUHHH••••
CVE-2026-114939security-libs/org.ietf.jgss7.4NHNNUHHN••••••
CVE-2026-114940security-libs/javax.net.ssl7.4NHNNUHHN••••••
CVE-2026-114941hotspot/compiler7.0NHNNULLH•••
CVE-2026-114942core-libs7.0NHNNULLH••••
CVE-2026-114943hotspot/runtime6.5NHNNUNLH••••••
CVE-2026-114944core-svc/java.lang.management5.9NHNNUNHN••••••
CVE-2026-114945core-libs/java.lang5.3NLNNUNLN••••
CVE-2026-114946hotspot/compiler4.8NHNNULLN••••••
CVE-2026-114947security-libs/javax.net.ssl3.7NHNNUNLN••

The CVE-2026-114938 row marks 17, 21, 25 and 27. If you run 8 or 11, look for the entries marked in those columns, including CVE-2026-114939.

The advisory has a separate risk matrix for OpenJFX. If you ship JavaFX with your application, check its release line.

CVE IDComponentCVSSv3.1Vector212527
CVE-2026-86144javafx/web7.5NHNRUHHH•••

[3] Check your provider's release for this update. OpenJDK recommends upgrading as soon as possible. For Temurin 21, Adoptium published jdk-21.0.13.1+2 on November 18. Its version, 21.0.13.1, is above the advisory's cutoff of 21.0.13.0.3 for the 21 line. Eclipse Temurin 21.0.13.1+2 release

[4] Run java -version in the image you plan to deploy. These excerpts show the version and build from two official Temurin JRE images.

console
$ docker run --rm --name gblab-openjdk-2026-11-17-out-of-band-cve-2026-114938-before --memory 512m --cpus 1 --network none eclipse-temurin:21.0.13_9-jre-noble java -version
output
…openjdk version "21.0.13" 2026-10-20 LTSOpenJDK Runtime Environment Temurin-21.0.13+9 (build 21.0.13+9-LTS)…
console
$ docker run --rm --name gblab-openjdk-2026-11-17-out-of-band-cve-2026-114938-after --memory 512m --cpus 1 --network none eclipse-temurin:21.0.13.1_2-jre-noble java -version
output
…openjdk version "21.0.13.1" 2026-11-17 LTSOpenJDK Runtime Environment Temurin-21.0.13.1+2 (build 21.0.13.1+2-LTS)…

The first image's 21.0.13 is in the affected range, and the second image's 21.0.13.1 is above the cutoff. Before replacing a container, match the CVE and build in your provider's notice, then deploy a tag for your base OS and runtime type (JDK or JRE).

[5] Repeat step 1 on the new instance. Check the service's launch configuration and startup logs to verify that it uses the new runtime.

Where the version check can mislead

The _2 in the image tag corresponds to the build number in Temurin-21.0.13.1+2. Use 21.0.13.1 from the first line for the advisory comparison. Compare the dot-separated numbers from left to right within the same release line. The fourth number is where 21.0.13.1 and 21.0.13.0.3 differ.

#openjdk#java#temurin#cve