Java4Shell OpenJDK Flaw Can Enable Unauthenticated Remote Code Execution

· Original article ↗

Summary

Java4Shell (CVE-2026-114938) is an OpenJDK runtime memory-corruption flaw that may enable unauthenticated RCE when untrusted Base64 input reaches an affected build. Exposure varies by runtime, processor and application; the article outlines patches and mitigations.

Key points

  • Java4Shell is a memory-corruption flaw in the Java runtime, not a third-party library; untrusted Base64 input must reach the decoder for the described exposure path.
  • Reachability depends on the runtime build, processor, and application behavior; dependency scans alone may miss affected runtimes.
  • Oracle's listed affected builds include Java SE 8u511b33-perf, 17.0.21.0.3, 21.0.13.0.3, 25.0.5.0.3 and 27.0.1.0.3, plus listed GraalVM builds. These lists do not define affected versions for other distributions.
  • Upwind reported reproducing memory corruption on Java 17, 21 and 25, and identifying Java 27 through code analysis; the article says these are research findings, not a vendor's final affected-version list.
  • Sonatype says its SaaS products are unaffected, while self-hosted Nexus Repository and IQ Server distributions and Docker images may include affected Java. It says the latest product versions are patched.
  • A temporary IQ Server mitigation is to disable the optimization with -XX:-UseBASE64Intrinsics; this does not update the runtime and should be tested before production use.
  • The guidance recommends inventorying active runtimes, applying the relevant vendor's patched build, restarting affected services, rebuilding container images, and checking the deployed runtime.

Article Details

Vulnerability Types
  • Memory corruption
  • Unauthenticated remote code execution
Severity
Critical; Oracle assigns CVSS 3.1 8.1. Some coverage cites CVSS 4.0 9.2.
Affected Versions
  • Oracle Java SE 8u511b33-perf
  • Oracle Java SE 17.0.21.0.3
  • Oracle Java SE 21.0.13.0.3
  • Oracle Java SE 25.0.5.0.3
  • Oracle Java SE 27.0.1.0.3
  • Oracle GraalVM for JDK 17.0.21.0.3
  • Oracle GraalVM for JDK 21.0.13.0.3
  • Oracle GraalVM Enterprise Edition 21.3.20.0.3
Exploitation Status
unknown
Exploit Availability
unknown
Patch Status
available
Workarounds
  • Temporarily disable the affected optimization with -XX:-UseBASE64Intrinsics and restart IQ Server; this does not update the Java runtime.
  • Calif recommends limiting AVX use to version 2 on x86-64 hosts; this is not a replacement for a patched runtime.

MITRE ATT&CK

CVE

Vendors

Products

Related Articles