Key facts
- A cyber-security company used AI to uncover a security flaw in Java that had existed for more than a decade.
- The flaw, called Java4Shell, allowed an adversary to remotely execute unwanted commands in Java's memory system.
- Oracle, which owns Java, has not acknowledged the bug but released a critical patch update on Tuesday.
- It is unclear whether any platforms or companies have been affected by the flaw.
- Java is used by 90% of Fortune 500 companies, including Apple and Amazon, according to the report.
A cyber-security company used artificial intelligence to uncover a security flaw in Java, the programming language used by 90% of Fortune 500 companies, according to a report published November 18, 2026. The company, referred to in the report as Calif, said the vulnerability, called Java4Shell, allowed an adversary to remotely execute unwanted commands in Java's memory system.
The flaw had existed for more than a decade, according to the report. Oracle, which owns Java, has not acknowledged the bug but released a critical patch update on Tuesday that it said contained security vulnerability fixes. It is unclear whether the patch addresses the Java flaw or whether any platforms or companies have been affected.
Professor Toby Walsh, a computer scientist, told the BBC that the flaw is serious because Java is supposed to manage and protect memory. "This is why this is such an unlikely and serious flaw," he said. Dr Pedram Hayati, a cyber-security expert, said the flaw could compromise critical financial systems and customer data, adding that almost every bank in Australia uses Java for managing critical transaction data.
The report said the adversary that discovered the flaw was OpenAI's recently released model GPT-6 Cyber, which is not yet available to the public. It said there are fears hackers could identify the bug if it is not fixed. The report also noted that OpenAI President Greg Brockman announced earlier in November that the company was pivoting 25% of its staff to focus on cyber-security demands, following a critical flaw in the PHP programming language identified by the same company.