Opens in a new tab
Open Nav
Sign Up

Java4Shell (CVE-2026-114938) Enables Unauthenticated RCE in Affected Java Applications

java4shell_cve-2026-114938

Filip Dimitrov

November 18, 2026

Oracle released security updates on November 17 for Java4Shell, a memory corruption vulnerability in the HotSpot JVM’s Base64 decoder. An unauthenticated attacker can trigger the flaw remotely when an application running a vulnerable Java build on compatible x86-64 hardware passes untrusted input to the affected decoder before login.

The flaw can crash the JVM, expose process memory, or, under application-specific conditions, allow code execution with the Java service’s privileges. Oracle rates the vulnerability 8.1 under CVSS v3.1, and CISA is urging organizations to patch immediately.

How Java4Shell corrupts JVM memory

On supported x86-64 CPUs, HotSpot can route java.util.Base64 decoding through an optimized native routine called an intrinsic. The vulnerable routine mishandles the final block of malformed Base64 input and writes past the end of the output buffer, corrupting adjacent memory on the Java heap. The decoder can still reject the input, but by then the out-of-bounds write has already occurred.

That distinction matters for authentication flows. A service that decodes credentials before checking them can reach the vulnerable code even when the login ultimately fails. The outcome depends on what the write corrupts. It can crash the JVM, and under application-specific conditions, researchers demonstrated code execution within the Java process.

Which deployments are exposed?

Exposure depends on three conditions. The service must run an affected Java build, the JVM must have access to the x86-64 CPU features required by the accelerated decoder, including AVX-512 VBMI, and untrusted data must reach that decoder. Applications that decode HTTP Basic credentials or SAML data before login can meet the third condition. Check which CPU features the running workload can see, especially for VMs and containers that can move between hosts. 

ProductAffected Oracle buildOracle update
Java SE 8 Enterprise Performance Pack8u511b33-perf8u513-perf
Java SE 1717.0.21.0.317.0.21.1
Java SE 2121.0.13.0.321.0.13.1
Java SE 2525.0.5.0.325.0.5.1
Java SE 2727.0.1.0.327.0.1.1
GraalVM for JDK 17 and 2117.0.21.0.3, 21.0.13.0.3Follow Oracle’s product-specific patch guidance
GraalVM Enterprise Edition21.3.20.0.321.3.20.1

For other OpenJDK distributions and products that bundle a JVM, use the vendor’s advisory to identify the fixed package or application release. 

What defenders should do now

  1. Prioritize internet-facing Java services, especially identity and SSO systems. Check the JVM each service actually loads. Include vendor appliances, bundled JDKs, and container base images in the inventory. 
  2. Apply the vendor-supported update and restart every affected JVM. Rebuild and redeploy affected container images, then verify the runtime version used by the running service. For bundled JDKs, follow the application vendor’s update procedure. 
  3. Disable accelerated Base64 decoding if patching must wait. Where supported by the vendor, set -XX:+UnlockDiagnosticVMOptions -XX:-UseBASE64Intrinsics, restart the JVM, and verify the setting on the running service. Restrict unauthenticated access while the update is pending. 

What to look for in logs

Correlate anomalous requests in reverse proxy or WAF logs with unexpected JVM exits, container restarts, and hs_err_pid*.log crash reports on the same service. Check endpoint and network telemetry for Java processes spawning shells or making unexpected outbound connections. 

A JVM crash alone is a weak signal. A suspicious request followed by unusual process or network activity warrants incident triage and preservation of the relevant logs and runtime evidence. Cisco Talos provides Snort SIDs 67502–`67513` and Snort 3 SID 301754 for network monitoring. 

If you suspect compromise, reach out to OP Innovate Incident Response immediately.

Stay Safe. Stay Secure.
OP Innovate Research Team

Under Cyber Attack?

Fill out the form and we will contact you immediately.