Java4Shell (CVE-2026-114938) is a heap overflow in the accelerated version of the HotSpot JVM Base64 decoder, used by java.util.Base64. This optimised version only exists on x86-64 CPUs with the AVX-512 F, BW, VBMI and BMI2 instructions.
Affected releases: Java 17.0.6 to 17.0.21.0.x, 21 before 21.0.13.1, 25 before 25.0.5.1, 27 before 27.0.1.1, and every 18, 19, 20, 22, 23, 24 and 26 release, which will get no fix. Java 8 and 11 are not affected, except Oracle’s Java 8 Enterprise Performance Pack. Neither are ARM64 servers.
An application only has to decode a Base64 string supplied by the attacker: authentication header, token, SAML assertion, uploaded file. The discoverers report unauthenticated code execution on Keycloak, Jira, Confluence, Jenkins, Artifactory and PingFederate in their default setup.
As of 19 November 2026, no active exploitation is reported and the full exploit chains are not public. Crashing a JVM is easy, though: the denial-of-service risk is immediate.