Hi all, CVE-2026-114938, also known as "Java4Shell", is a bug in the JDK that can also affect Flink deployments. Your Flink processes are affected when they run on Java 17.0.6 to 17.0.21 or Java 21 to 21.0.13, on an x86-64 CPU with AVX-512 VBMI (Intel Ice Lake or AMD Zen 4 and newer). Java 8, Java 11 and ARM machines are not affected.
The fix is to upgrade to Java 17.0.21.1 or 21.0.13.1, or later. Until those are available from your JDK vendor, you can add -XX:-UseBASE64Intrinsics to env.java.opts.all. Only use this flag on Java 11 or later, since Java 8 does not start with it. The official "flink" images on Docker Hub are rebuilt automatically once eclipse-temurin ships the fixed JDK. Once that has happened, we plan to republish the apache/flink and Flink Kubernetes Operator images with the updated JDK, for the supported versions of Apache Flink and the Flink Kubernetes Operator. The blog post has the details, including a table of affected Java versions and the configuration for the Kubernetes Operator: https://flink.apache.org/2026/11/18/mitigating-cve-2026-114938-java4shell-in-apache-flink-deployments/ Best regards, Martijn
