Cve/java4shell
Finds Java runtimes exposed to CVE-2026-114938 ("Java4Shell", CVSS 4.0
9.2 preliminary), the out-of-bounds write in the HotSpot x86-64 AVX-512
Base64 decode intrinsic disclosed 2026-11-17. A short padded Base64 tail
makes the decode stub write past the output buffer, which can crash the JVM
or, the discoverer reports, run code without authentication wherever an
attacker can get java.util.Base64's basic or URL decoder to read their
input.
The bug is only reachable on x86-64 CPUs with AVX-512 VBMI (Intel Ice Lake and newer Xeon, AMD Zen 4 and newer) running an affected HotSpot build (OpenJDK 17.0.6 and later, 18+, 21, 25, 27). A vulnerable runtime on ARM64 (Graviton, Apple silicon) or an older x86 CPU is present but not exploitable, and this scanner foregrounds that CPU gate so you can tell the two apart.
Oracle shipped fixed CPU builds (17.0.21.1, 21.0.13.1, 25.0.5.1, 27.0.1.1); as of disclosure no other distribution (Temurin, Corretto, Zulu, Microsoft, Liberica, Red Hat, SapMachine, GraalVM) had a fixed build, so those rate no-fix-released and the stopgap is the JVM flag.
Methods
scanscans one host (local or SSH), Docker container or image, including distroless images without sh.scanFleetscans many hosts in parallel over SSH (Linux, macOS and Windows).mitigatescans, then produces the exact remediation plan as a script. It never changes the host (no fixed build is installable through a package manager yet, and a global JVM flag is unsafe): the script sets the stopgap per affected systemd service and lists the upgrade and restart commands for an operator to run as root.
What it reports
Every Java runtime it finds on disk (across distro, Homebrew, SDKMAN,
asdf/mise and the macOS locations) and every running JVM, with its vendor,
version and a verdict (patched, vulnerable, no-fix-released,
mitigated, restart-required, check-vendor, not-affected, unknown);
the host CPU's AVX-512 VBMI status; and whether a running JVM already has the
Base64 intrinsic disabled. Risk weighs the runtime, the CPU and exposure:
critical only when an affected runtime runs on an AVX-512 VBMI CPU and a
service is exposed.
Scanning needs no root and never runs a binary that someone other than root or the scanning user could have written. No indicators of compromise have been published.
Resources
Files
Reports on Java4Shell (CVE-2026-114938) scan and mitigation results
- Has README or module doc2/2earned
- README has a code example1/1earned
- README is substantive1/1earned
- Most symbols documented0/1missing
- No slow types (deprecated)1/1earned
- Dependencies pass trust audit2/2earned
- Docs keep secrets in a vault1/1earned
- Has description1/1earned
- Platform support declared (or universal)2/2earned
- License2/2earned
- Verified public repository2/2earned
Spawns a subprocess with Deno.Command().
- models/_lib/transport.ts:155 — no reason given
- models/_lib/transport.ts:260 — no reason given
- models/_lib/transport.ts:271 — no reason given