Java4Shell: AI finds critical flaw in 30-year-old Java, millions of systems at risk?
A wave of cyber threats has put businesses and governments on alert. Recent weeks have seen critical flaws in PHP, reports of cyberattacks and major technology outages across several countries. Now, another warning has emerged, this time involving Java, a programming language that has quietly kept banking, airlines and government systems running for nearly three decades.

The vulnerability, named Java4Shell (), was discovered by cybersecurity startup Calif (Same company that found PHP2Shell) with the help of artificial intelligence. Disclosed on November 17, the flaw could allow hackers to steal sensitive information or remotely take control of vulnerable applications. Calif rates its severity at 9.2 out of 10. Security patches have been released, and authorities are urging affected organisations to update their systems.
:
What exactly is Java4Shell?
Java4Shell affects OpenJDK, a widely used version of Java. The problem lies in a feature that converts encoded information into readable data, commonly used for logins, file uploads and communication between applications.
On certain processors, a specially prepared piece of data can cause Java to write information into the wrong part of a computer’s memory.
That sounds technical and it is, but the consequences are serious. An attacker could potentially read confidential information, crash an application or make a vulnerable server run malicious commands. In some tested applications, an attacker would not even need a password.
:
AI helped find the vulnerability in just one hour
According to , researcher Quang Luong used AI-assisted security research to identify the flaw. The company said it took approximately one hour to discover the vulnerability and another two hours to develop a working exploit.
Calif described its approach as combining human expertise with AI, saying, “AI brings the horsepower. Our researchers bring the context.”
The discovery raises questions about how quickly AI could help researchers and criminals identify weaknesses buried inside widely used software.
:
Why is Java still so widely used after 30 years?
Java first appeared in 1995. Many large organisations built their core systems around it and continue using those systems today.
According to IBM figures cited by Calif, Java is used by around 90 per cent of Fortune 500 companies.
Banks use Java for transactions, airlines for business applications and governments for digital services. Replacing decades-old software can take years, cost enormous amounts and create operational risks. That helps explain Java’s continued relevance.
:
Who is at risk from Java4Shell?
| Area | Potential impact |
|---|---|
| Banking | Exposure of sensitive application data |
| Government | Compromised services and information |
| Businesses | Server takeover or operational disruption |
| Software platforms | Unauthorised access to vulnerable applications |
Calif demonstrated attacks against applications including Jenkins, Jira, Confluence and Keycloak. Exposure depends on the Java version, processor and application configuration. Systems using affected Java releases on processors supporting AVX-512 VBMI face particular risks.
:
What happens next?
Oracle released security fixes on November 17. Organisations should identify vulnerable Java installations, update affected systems and check software supplied by third parties.
As of November 18, security advisories had not confirmed widespread exploitation of Java4Shell in real-world attacks, but maybe the hackers are busy with GTAVI, or the for now.
