An AI Agent Found a Critical Flaw in Java in About an Hour
Java4Shell
A cybersecurity firm has used AI to uncover a critical security flaw in Java, one of the world's most widely used programming languages.
The bug, dubbed "Java4Shell," was found by start-up Calif in OpenJDK, the core software that runs Java programs. Researcher Quang Luong used OpenAI's Codex coding agent to find the flaw in about an hour, then build a working attack in about two more, for less than $200 in computing costs. Calif rated it 9.2 out of 10 for severity.
64 Characters and an Equals Sign
The flaw sits in Java's Base64 decoder and can be triggered by sending just 64 "A" characters followed by a single "=". That can corrupt the computer's memory, potentially letting an attacker take over a server or expose sensitive data, similar to the Heartbleed bug.
Calif demonstrated a working break-in on Keycloak, a widely used login system, and says tools like Jira, Confluence and Jenkins are also at risk.
Java runs at 90% of Fortune 500 companies, Calif estimates, and is used by banks, hospitals and governments worldwide. Computer scientist Toby Walsh told the BBC the flaw is so serious partly because Java is designed to handle memory safely, which makes a memory bug like this unusual.
Oracle and OpenJDK have released fixes.
Options and Market Impact
A critical flaw found by an AI agent, in about an hour, for under $200, is the clearest sign yet of how fast the cost of finding vulnerabilities has fallen. Every company running Java now has to patch, and the same tools are available to attackers.
Traders watch the big security names when flaws like this surface, including CrowdStrike (CRWD), Palo Alto Networks (PANW) and Zscaler (ZS), along with Oracle (ORCL) and Atlassian (TEAM), whose Jira and Confluence tools Calif named as at risk.
Bottom Line
An AI agent found a 9.2-severity flaw in the software that runs Java at most of the Fortune 500, in about an hour, for less than $200. Fixes are out. The race now is between the companies patching and anyone else running the same kind of search.
Sign up for Unusual Whales to track the flow: https://unusualwhales.com/login?ref=blubber