← Back to articles

NewsBy: aicybersecurityjavavulnerabilities

AI cracked a critical Java exploit in three to four days

A Calif engineer turned Java4Shell into a working exploit with help from OpenAI and Anthropic models. Without AI, the job would have taken several weeks.

AI news faster than on the site — on Telegram KARMAZIN MEDIA

AI cracked a critical Java exploit in three to four days
Photo: KARMAZIN MEDIA

Calif announced Java4Shell, a vulnerability known as CVE-2026-114938 in OpenJDK's optimized Base64 decoder. Under certain conditions, malformed data can corrupt memory and enable remote code execution. There is no universal exploit for every Java application, since the attack depends on how each program uses the decoder.

Engineer Quang Luong found the flaw in about an hour with OpenAI models, and produced the first working exploit two hours later. The query processing cost less than $200. His colleague Jenish Rakholiya then improved the exploit with models from OpenAI and Anthropic. The full process took three to four days instead of several weeks, despite Rakholiya not having deep knowledge of the JVM's internals.

Calif calls this partnership a "centaur hacker": the human supplies context, while AI tests technical approaches and helps fix failed experiments. The company also suggests using the same method to find dead code and unnecessary optimizations, reducing the attack surface.

original