Java4Shell: Write once, RCE everywhere
Not investment advice. Muhabbit scores how much a story may matter, not which way to trade.
OpenJDK HotSpot's x86-64 Base64 intrinsic contains an out-of-bounds write that can escalate to remote code execution, security researcher Quang Luong disclosed. The flaw, dubbed Java4Shell, stems from a miscalculated store mask for the padded tail of Base64 input, causing a constant-value overwrite of heap memory in affected OpenJDK builds. Luong found the bug while auditing the JIT compiler and intrinsics with OpenAI's Codex, after earlier work on a 0-click Android Runtime exploit taught him that predictable allocation patterns can turn memory corruption into control-flow hijacking. By shaping the heap remotely, he converted the overwrite into a heap leak and then code execution, undermining Java's write-once-run-anywhere promise across the widely deployed OpenJDK runtime. The finding matters because HotSpot underpins most production Java deployments, so a single intrinsic bug can affect a vast server footprint. Watch for patch uptake across OpenJDK distributions and vendor backports, plus confirmation of which builds and Java versions are exposed.
Muhabbit's AI wrote this summary in its own words from Hacker News's report. It can get details wrong, so check the source.
Named in this story
OpenJDK, Java4Shell, HotSpot, Quang Luong, Codex