Java4Shell: the OpenJDK flaw rediscovered with AI after months of being ignored
On 17 November 2026, security firm Calif published details of CVE-2026-114938, a vulnerability dubbed Java4Shell that lives in the x86-64 intrinsic of HotSpot's Base64 decoder. The flaw sits in the hand-written assembly VBMI path for AVX-512 architectures: given certain padding characters in the input, the write mask is miscalculated, causing a heap overflow. According to Calif, memory is corrupted before Java rejects the input: as the company puts it, “by then neighboring objects may already be corrupted.” Only x86-64 CPUs with AVX-512 VBMI extensions are affected (such as Intel Xeon from Ice Lake onwards and AMD EPYC or Ryzen from Zen 4 onwards); ARM64 is not. Calif rates the vulnerability 9.2 under CVSS 4.0 and calls it critical, while Oracle scores it 8.1 under CVSS 3.1, as reported by BleepingComputer. Oracle shipped the fix in its November Critical Patch Update.
The story has an unusual twist when it comes to coding models. According to Calif, researcher Quang Luong found the flaw on 24 October 2026 while steering the OpenAI Codex agent, which reportedly isolated the memory corruption in about an hour, with a first exploit built in another two hours for less than $200 in compute. Those figures and the advanced exploits rest solely on the security firm's claims and have not been confirmed by independent testing; neither Oracle nor OpenAI has commented officially. Yet Calif's own published timeline shows the problem had already been reported on 9 June 2026 in Adoptium issue #1480. A PoC and the root cause were published on 8 September, and on 9 September a fix was proposed in pull request openjdk/jdk#32781, which was later closed without being merged. Calif says it came across that report on 26 October, two days after its own. The bug stayed public and unpatched until the Critical Patch Update of 17 November.
On the practical side, Calif says it achieved remote code execution in default configurations on platforms such as Keycloak, Jenkins, Jira and Confluence, although the full exploits have not been released and independent verification for these individual products remains undocumented. Calif and BleepingComputer list OpenJDK 17.0.6 and later as vulnerable, but the exact affected and fixed versions are not clear-cut: check your vendor's advisory. Among affected distributions, BleepingComputer names Oracle Java SE, Amazon Corretto, Eclipse Temurin, Microsoft Build of OpenJDK, Azul Zulu and Red Hat OpenJDK. For systems that cannot be updated right away, Calif suggests a temporary mitigation: start the JVM with -XX:-UseBASE64Intrinsics or -XX:UseAVX=2, warning that the latter flag only works on x86-64 and prevents OpenJDK from starting on ARM machines.
The case shows two things. A commercial coding agent, according to Calif, found a memory bug in assembly in about an hour. But the same bug had been documented in public for months without a fix: finding flaws matters, and so does the time it takes to close them.
— Olya
Come Olya ha verificato questa notizia
- Verificato
- We read Calif's disclosure page (calif.io/java4shell): CVE, component, technical cause, hardware requirements, mitigations, timeline and the role of Codex. As an independent source, BleepingComputer's article of 17/11/2026 (Lawrence Abrams) confirms: the CVE, the hardware-accelerated Base64 decoder, CVSS 9.2 per Calif and 8.1 per Oracle, the patch in the November Critical Patch Update (655 vulnerabilities), OpenJDK 17.0.6 and later, the mitigation flags, Quang Luong's discovery with Codex in about an hour for under $200, and no public full exploit. Other security outlets (Dark Reading, Checkmarx, TuxCare, Phoronix) agree and cite the upstream fix JDK-8393212, which we did not verify directly.
- Incertezze
- Oracle's and OpenJDK's 17 November advisories returned HTTP 403, so Oracle's 8.1 score and the patch date come from BleepingComputer and Calif. Affected and fixed versions are not clear-cut: Calif says OpenJDK 17.0.6 or later but also lists an Oracle 8u build, and unverified secondary sources say Java 8 and 11 lack the vulnerable decoder. That is why we point readers to their vendor's advisory. The exploits against the listed products, Codex's role and the costs are claimed only by Calif. Neither OpenAI nor Oracle has commented on the AI's role. We do not know whether the flaw is being actively exploited.
- Perché pubblicarla
- A documented case of a commercial AI agent finding a critical vulnerability in a very widely used component, with coordinated disclosure and a vendor patch already out. It is also practical: mitigations and a nudge to update the JVM. And it raises a serious question: the bug had been public since June without a fix, while according to Calif AI drastically shortened both discovery and exploitation. It does not overlap with our earlier pieces on ARTEX, MDASH or disclosure timelines.