Java4Shell OpenJDK Flaw: Fastly Adds a Virtual Patch for WAF Customers
Java4Shell affects specific OpenJDK builds on x86-64 systems. Fastly’s WAF patch can help while teams install vendor fixes.


Java4Shell puts a memory-safety flaw in OpenJDK’s Base64 decoder on the remediation list for teams running certain Java builds on x86-64 servers. Fastly says its Next-Gen WAF can now filter a known trigger in request headers, giving customers a layer of protection while they update affected runtimes. That filter can reduce exposure, but it does not replace a Java patch.
The affected code path
Java4Shell is the informal name for CVE-2026-114938, disclosed on November 17, 2026. The flaw sits in an optimized, x86-64 implementation of OpenJDK’s Base64 decoder. When the decoder encounters a stray padding character, it can write beyond the intended heap boundary. That memory corruption can create several kinds of risk: reading data from memory, disrupting the Java process, or, under vulnerable conditions, executing code remotely.
The processor requirement matters. The reported issue affects x86-64 CPUs with AVX-512 VBMI; it does not affect ARM64 systems. The source identifies Java 17, starting with 17.0.6, as well as versions 21, 25 and 27 as affected. Java 8 and Java 11 are listed as unaffected, with one stated exception: Oracle’s 8u511b33-perf build. Teams should check both the Java version and the CPU features in the environments that actually run their applications. A version number alone may not establish exposure.
The severity ratings are high: the preliminary CVSS v4.0 score is 9.2, while OpenJDK’s CVSS 3.1 score is 8.1. As of November 19, the trigger was public, but no public remote code execution exploit or confirmed exploitation in the wild had been reported. That status is a point-in-time snapshot, not a reason to defer remediation; a public trigger can help researchers and attackers test whether systems are vulnerable.
Where application teams should look
The risk reaches beyond Java runtimes in isolation. The source reports successful attacks against Jira, Confluence, Jenkins, Keycloak, Artifactory and PingFederate in their default configurations, and identifies those products as examples of applications that may be exposed when running on vulnerable Java. The practical first step is to inventory the Java runtime and CPU architecture behind each internet-facing service, then confirm which vendor build is installed.
Potential impact spans confidentiality, integrity and availability. A memory read could expose material held in the process heap, including credentials, tokens or customer data. If an attacker can turn the corruption into code execution, they may be able to run code within the application without credentials. A crash can also take down the Java Virtual Machine (JVM) and interrupt the service. Which outcome is possible depends on the application, runtime and conditions around the vulnerable code path; the report does not establish that every affected deployment is equally exploitable.
Fastly’s filter and its limits
Fastly’s virtual patch looks for the known trigger in the Authorization and Cookie request headers. Customers using the Automatic CVE Virtual Patching feature already have the patch active, according to Fastly. Others can enable it in the Fastly dashboard using the virtual patch instructions.
That approach works at the web request layer: the WAF inspects specified headers and can block requests matching the known trigger before they reach the application. It can be useful when teams need time to identify affected services or schedule runtime updates. Its coverage is limited to the trigger and request locations Fastly describes. The company cautions that the patch may not catch every attack path, so a matching WAF rule is not evidence that the underlying Java flaw has been fixed.
Patch the runtime and verify coverage
Oracle’s fixed builds are listed as 17.0.21.1, 21.0.13.1, 25.0.5.1 and 27.0.1.1. Other OpenJDK distributors provide their own builds, and their release coverage may differ. Teams should confirm the fixed version with the supplier of each runtime they deploy, then roll out the relevant update and verify that services are using it. Fastly’s documentation on virtual patches for CVEs explains how to enable its filter; Fastly support is another customer resource.
The useful role for a virtual patch is as a temporary control that can reduce exposure while software changes move through testing and deployment. It does not update the vulnerable decoder, and the report gives no assurance that every route to the flaw passes through the inspected headers. For teams with affected Java and CPU combinations, the next concrete step is to identify the vendor’s corrected build, apply it, and keep the WAF rule in place only as part of a wider remediation plan.