Eezekai

Cybersecurity

AI finds the Java4Shell bug in about an hour

On 17 November Calif disclosed Java4Shell (CVE-2026-114938), a memory bug in OpenJDK’s Base64 decoder on x86-64 processors with AVX-512 VBMI.

Illustrative photograph of Oracle’s headquarters towers in Redwood Shores, California, in 2009; it does not show Java, the bug or the patch.
Photo: Håkan Dahlström

“Oracle Headquarters Redwood Shores.jpg” (opens in a new tab) by Håkan Dahlström, from Wikimedia Commons.

Licence: CC BY 2.0 (opens in a new tab).

Changes by this site: cropped to 16:9 and resized to 1600×900 pixels.

The story

Calif says a researcher found it with OpenAI’s Codex in about an hour and built a working exploit in two more, for under $200 in tokens. Oracle released a patch the same day and ARM64 systems are not affected.

The sources differ on severity. Calif rates it 9.2 under CVSS 4.0, while The Rundown reports Oracle scored it 8.1 with high attack complexity.

Java normally manages memory for applications, but parts of its runtime use lower-level code for speed. Calif locates this flaw in an optimized decoding path used on particular processors. That explains why the processor and runtime build matter, rather than simply whether a company uses Java.

Calif also says there is no universal exploit: application behaviour affects the work needed to turn the bug into an attack. The reported hour of discovery and token bill describe this research effort. They do not establish that any person can compromise any Java installation in the same time.

The practical consequence is a deployment question. Oracle’s advisory identifies affected versions and provides the fix; operators still need to match that information to their Java distribution and hardware. Discovery is only the beginning of the defensive story, which ends with the affected deployments updated and checked.

References

  1. Java4Shell: Write once, RCE everywhere (opens in a new tab)Main source · Calif,
  2. NATO taps OpenAI as AI helps uncover a serious Java flaw (opens in a new tab)The Rundown,
  3. Oracle Critical Security Patch Update Advisory - November 2026 (opens in a new tab)Oracle,