Java4Shell (CVE-2026-114938): Find affected Java in your container images
Java4Shell (CVE-2026-114938) is a critical buffer overflow in OpenJDK’s optimized Base64 decoder affecting Java 17.0.6 and later (21, 25, 27 LTS versions) on x86-64 processors with AVX-512 VBMI support (Intel Ice Lake, AMD Zen 4+). The vulnerability allows remote code execution when attacker-controlled data reaches the Base64 decoder via authentication headers, tokens, or file uploads in default configurations; ARM processors are unaffected. Oracle rates it CVSS 8.1 (Red Hat 9.8), and fixed builds are available immediately (e.g., Java 17.0.21.1). Until patching, the -XX:-UseBASE64Intrinsics JVM flag disables the vulnerable code path with minimal performance impact. Container scanning tools can identify affected Java runtimes in images via distribution security advisories.