AI Finds 12-Year-Old Java Flaw, Lifting Cybersecurity Stocks as Governments Urge Patches

An AI-found Java flaw called Java4Shell prompted global patch warnings and lifted cybersecurity stocks during a week of major tech outages.

AI Agents
AI Finds 12-Year-Old Java Flaw, Lifting Cybersecurity Stocks as Governments Urge Patches

A bug that sat unnoticed in Java for about 12 years was found with help from an artificial intelligence model that is not yet public. Governments in several countries urged organizations on Wednesday to install a fix right away.

The flaw, called Java4Shell, sits in Java’s memory functions. It could let hackers run code remotely or crash computer systems.

An Unreleased AI Model Found the Bug

US tech start-up Calif found the flaw using OpenAI’s GPT-6 Cyber model, which has not been released to the public. Last month, Calif also found a security flaw in another programming language, PHP.

Computer scientist Toby Walsh said the Java bug had been “hiding in plain sight for 12 years.” He said AI is now exposing flaws much faster, including some that humans may not have found alone.

Java is designed to manage and protect computer memory, which makes a flaw in that area unexpected. Experts say overloading a system’s memory is one of the most common ways hackers break into or crash systems.

The earlier PHP flaw affected about 30 million websites, according to Surrey Centre for Cyber Security professor Alan Woodward. Earlier in November, OpenAI president Greg Brockman said the company was moving 25% of its staff to cybersecurity work.


Governments Urge Fast Patching

Authorities in the US, South Korea and Britain urged companies and public bodies to install the fix. The US Cybersecurity and Infrastructure Security Agency said the bug needed immediate patching.

Tencent Cloud told customers that attackers without login details could steal sensitive data or take control of affected servers. German and Dutch cybersecurity agencies said there were no known successful attacks so far.

Oracle, which owns Java, released a software update for its Java Development Kit on November 17 that fixes the flaw. The company could not be reached for comment.

Concern is high in South Korea, where the presidential office held an emergency meeting with government agencies on Tuesday, Yonhap reported. Officials discussed steps to deal with the threat before any attacks occur.

A 2021 JetBrains survey found Java made up 53% of programming language use in South Korea, compared with a global average of 30%. A government survey last year put Java’s share in the country’s public sector systems at 72%.

Java is used by banks, hospitals, governments and the military, as well as companies such as Apple and Amazon. Cybersecurity expert Pedram Hayati said almost every bank in Australia uses Java to manage critical transaction data.

The warning follows a string of tech outages over the past week. A network failure halted US air travel for 4-1/2 hours, and many Microsoft services, including email, went down.

Customers at JPMorgan Chase, Wells Fargo and Bank of America also reported trouble accessing services. The US National Security Agency said its internal communications went offline Tuesday during scheduled maintenance.

Apple had an outage Tuesday after an internal update affected iCloud and Apple Pay. Its systems were restored on Wednesday.

Secretary of State Marco Rubio said there was “zero evidence” the incidents were related. Authorities and companies have not linked any of the outages to the Java flaw.

Investors moved into cybersecurity stocks as the warnings spread. Shares of CrowdStrike and Palo Alto Networks rose more than 5.6% in late morning trading in New York, among the biggest gainers on the S&P 500.

From our research desk
AI Jobs Automation Index
Which jobs are AI tools targeting most? We mapped 3,400+ AI tools to real job functions — with BLS employment & salary data.
Explore the index
maisiekooc

Written by

Maisie is a news writer at Agent Locker, covering the latest developments in artificial intelligence, emerging technology and the companies shaping the future.

Discover AI Agents