Repository navigation
Releases
v1.0.0 — first verified release (CVE-2026-114938 lab RCE)
First public release — verified end-to-end on 2026-11-18
(AMD Ryzen 7 7840U / Zen 4, Temurin 21.0.13+9, Windows 11).
What
Java4ShellRCE.jar — a single-file, dependency-free exploit for
CVE-2026-114938 (Java4Shell): the HotSpot AVX-512 Base64 decode
intrinsic's 62-byte heap out-of-bounds write is escalated to arbitrary
command execution via groomed dst|victim|cmd adjacency, adjacent-array
length corruption (64 → 1771742825), OOB read scan and Unsafe.putByte
injection, with the corrupted-klass GC bomb defused.
Usage
java -jar Java4ShellRCE.jar- Vulnerable JDK →
RCE PROVEN, exit code 0. - Fixed or mitigated JVM (
-XX:-UseBASE64Intrinsics) → clean
NOT EXPLOITED, exit code 2 (negative control verified). - Custom payload:
--exec "cmd|/c|<command>". - Detection-only (safe, bounded):
--probe-only.
Asset
Java4ShellRCE.jar
SHA256 4a83a5cc72a1d296d4e66894b499cf7f8622d1182b2bbd6458554297843e5b56
(manifest carries Main-Class + Add-Opens: java.base/java.util, so no
command-line flags are needed).
Limits
Lab chain: in-process, groomed heap. Remote exploitation of a specific
product still needs per-target heap grooming (CVSS AC:H). Verified only on
Temurin 21.0.13+9 / Windows 11 / Zen 4; the JDK 17 path is coded but
untested. See the README's "Limitations" section before relying on this.