Technology

AI uncovers serious security flaw in Java, a language used by banks and governments worldwide

Cybersecurity firm Calif used AI to find a critical vulnerability in Java's memory functions, dubbed Java4Shell. Oracle has released a patch, but it is unclear whether any organisations were affected.

By BM Publishers News · 19 November 2026, 14:23

A cybersecurity company has used artificial intelligence to identify a serious vulnerability in Java, one of the world's most widely used programming languages.

The firm, Calif, said it found the flaw in Java's memory functions and has named it Java4Shell. The bug could allow an attacker to send unwanted commands to Java's memory system remotely. In this case, the attacker was OpenAI's newly released GPT-6 Cyber model, which is not yet available to the public.

Java, first released in 1995, is used by many of the world's largest companies, including Apple and Amazon, as well as banks, hospitals and governments. Calif described the language as the "beating heart of the modern economy".

Computer scientist Professor Toby Walsh told the BBC that Java is designed to manage and protect memory, which makes the flaw particularly worrying. He said the problem had been "hiding in plain sight for 12 years" and that AI is now exposing more flaws much more quickly.

Oracle, which owns Java, released a critical patch update on Tuesday containing security fixes, including one for this flaw. It is not yet clear whether any platforms or companies have been affected.

The discovery comes amid a string of technology disruptions, including a Microsoft outage, an internal communications outage at the US National Security Agency and a network failure that grounded flights in the United States. US Secretary of State Marco Rubio said there was "zero evidence" the incidents were related, and the NSA did not say whether its outage was linked to the Java bug.

Cybersecurity expert Dr Pedram Hayati said the flaw could put critical financial systems and customer data at risk, noting that almost every bank in Australia uses Java to manage transaction data.

The finding follows a separate flaw in the PHP programming language, also identified by Calif. Professor Alan Woodward of the Surrey Centre for Cyber Security said the PHP flaw affected around 30 million websites.

The BBC said it had contacted Oracle for comment.

For Zambian organisations, the report highlights the importance of applying software updates promptly, particularly where banking, health and government systems rely on widely used platforms such as Java.

Source: BBC Technology