Skip to content

Docker images ship OpenJDK builds affected by CVE-2026-114938 (Base64 intrinsic heap overflow on x86_64) #3503

Open

Description

@ivbeck

CVE-2026-114938 ("Java4Shell", CVSS 4.0 9.2, write-up: https://research.jfrog.com/post/java4shell-vulnerability/) is a heap out-of-bounds write in the x86_64 Base64 decoder intrinsic of OpenJDK, on CPUs with AVX-512 VBMI. It affects 17.x (from 17.0.6), 21.x, 25.x and 27.x, including Temurin. Fixed versions are 17.0.21.1, 21.0.13.1, 25.0.5.1 and 27.0.1.1. aarch64 is not affected.

The published hawkBit images bundle affected JDKs:

Image JDK
hawkbit/hawkbit-update-server:1.2.0 jdk-25.0.4.1+1
hawkbit/hawkbit-update-server:1.1.0 jdk-21.0.11+10
hawkbit/hawkbit-simple-ui:0.9.0 jdk-21.0.7+6

hawkBit decodes externally supplied Base64 (for example HTTP Basic credentials through Spring Security), so internet-facing instances on x86_64 hosts with AVX-512 VBMI are in scope.

Request

  • Bump ARG JAVA_VERSION in docker/build/Dockerfile, Dockerfile_dev and Dockerfile_dbinit to 25.0.5.1_1 once Temurin publishes eclipse-temurin:25.0.5.1_1-jre-alpine (not on Docker Hub as of 2026-11-18), and publish rebuilt images.
  • Since SECURITY.md lists 1.x as supported: a rebuilt 1.1.x and simple-ui image as well, if possible.

Workaround for operators until then

The images' entrypoint already passes ${JAVA_OPTS} to the JVM, so setting

JAVA_OPTS=-XX:-UseBASE64Intrinsics

on the containers turns the affected intrinsic off. It's x86_64 only, and the advisory warns that the alternative flag -XX:UseAVX=2 stops the JVM from starting on other architectures. We've been running hawkbit-update-server 1.1.0 and simple-ui 0.9.0 with this flag in production since 2026-11-18 without issues.

Why this is a public issue and not a private advisory

SECURITY.md asks for vulnerabilities to be reported privately through GitHub Security. I've filed this one in the open on purpose:

  • The flaw is in the JDK that the images bundle, not in hawkBit's own code. There's nothing for hawkBit to keep under embargo.
  • CVE-2026-114938 is already public, with a published write-up, affected and fixed versions, and the workaround. This issue adds nothing an attacker doesn't already have.
  • The fix is a base image bump, and operators need the JAVA_OPTS workaround now. A private advisory would hide that from the people who need it until the images are rebuilt.

If you'd still rather track it as an advisory, feel free to move it.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions