Skip to content

daily brief · Nov 18, 2026

Java4Shell (CVE-2026-114938): AI Helped Find a Critical Java Flaw. Patch Now

Java4Shell is a critical OpenJDK flaw found with AI help in about an hour. CISA urges immediate patching. Who is affected and what to do now.

4 sources · 1 min read

What to do: update Java to a fixed build (Oracle lists 17.0.21.1, 21.0.13.1, 25.0.5.1 and 27.0.1.1), starting with internet-facing servers, and don’t forget Java bundled inside apps and container images. CISA urges immediate patching of Java4Shell, a memory-corruption bug in OpenJDK’s Base64 decoder rated 9.2 (critical).

Java’s big promise is memory safety. Java4Shell breaks it in the most boring place possible: a speed-tuned decoder for Base64, the text format used everywhere from logins to file uploads. Security firm Calif disclosed it on November 17, the same day Oracle and OpenJDK shipped fixes.

The AI twist: Calif researcher Quang Luong says he pointed OpenAI’s Codex at the Java runtime, found the bug in about an hour and built a first working exploit in two more, for under $200 in tokens. Calif says it showed remote code execution in default setups of tools like Keycloak, Jira, Confluence and Jenkins. Those are the researchers’ own tests; the advisories we reviewed don’t report attacks in the wild.

It affects OpenJDK 17.0.6 and later, including Corretto, Temurin and Microsoft’s builds, but only on x86-64 chips with AVX-512 VBMI (recent Intel Xeon, AMD Zen 4+). ARM servers are safe. Datadog confirms the -XX:-UseBASE64Intrinsics startup flag works as a stopgap.

Quick answers

Am I affected if I just have Java on my laptop?

Risk is highest for servers that decode untrusted input. Update anyway as soon as your Java vendor offers a fixed build.

Is Java4Shell being exploited?

No in-the-wild attacks were reported in the CISA, Calif or Datadog write-ups as of November 17. That can change fast, so patch now.

Java4Shell CVE-2026-114938securityJava vulnerabilityOpenJDK Base64 bugCISA Java alertAI vulnerability discoveryCalif Java4ShellOracle Java patchAVX-512centaur hacker

More on: AI security · All Security briefings