An hour of searching with AI and a bill under 200 dollars: how Calif found a serious hole in Java's Base64 code
OpenJDK and Oracle shipped patches for Java4Shell on Tuesday, and US cyber agency CISA is urging companies to update right away.
US security firm Calif on Tuesday disclosed a severe flaw in OpenJDK, the open-source foundation of almost every Java environment. The bug, CVE-2026-114938, has been nicknamed Java4Shell. According to Unite.AI it sits in hand-written x86 assembly code that speeds up Base64 decoding on processors with AVX-512 VBMI instructions. A specific input causes 64 bytes to be written into a 50-byte buffer, CyberScoop explains. Systems on ARM64 are not at risk.
Affected are OpenJDK 17.0.6 and later, covering Java 17, 21, 25 and 27, and every distribution built on it, such as Temurin, Corretto, Zulu and Oracle Java SE. Calif showed that an attacker without a password can run code on default installations of Keycloak, Jira, Confluence, Jenkins and PingFederate, among others. The firm rates the flaw 9.2 out of 10, while Oracle and OpenJDK put it at 8.1. Those who cannot patch yet can temporarily switch off the Base64 acceleration with a JVM option, according to Unite.AI.
How the flaw was found stands out. According to CyberScoop, researcher Quang Luong had an AI coding assistant comb through the JIT compiler and cryptographic functions. After about an hour he had the bug, and two hours later a first working attack, for less than 200 dollars in computing power. It is Calif's second major AI-assisted find in a few weeks, after an earlier flaw in PHP.
OpenJDK published an advisory on Tuesday and Oracle released updated builds the same day, as part of a November update that addresses 652 flaws, according to CyberScoop. The Record reports that CISA issued an alert that same Tuesday, urging immediate patching and a search for Java hidden inside third-party software. No exploitation in the wild had been seen at the time of publication. Calif is holding back its ready-made product-specific attacks for now.