r/foojay • • 4d ago

Java4Shell: are we exposed? Steve Poole on an AI-assisted JVM vulnerability

We published an article by u/Steve Poole on Java4Shell (CVE-2026-114938), a memory corruption bug in HotSpot's accelerated Base64 decoder. Fixes shipped on 17 November. Calif found it by pointing OpenAI Codex at HotSpot for about 200 dollars of tokens.

The article explains what has to line up to be vulnerable: the runtime build, an x86-64 CPU with AVX-512 VBMI and BW, and attacker-controlled data reaching java.util.Base64.Decoder. Crashing a JVM is easy, full RCE is hard.

Steve also built two container images, one with a full JDK and one with a jlink runtime, and ran Syft, Trivy and Grype on them. Syft loses build details on the jlink image, and Trivy finds no JVM component at all.

https://foojay.io/today/java4shell-are-we-exposed/

1 Upvotes

0 comments sorted by