November 18, 2026, 12:10 pm | Read time: 2 minutes
A security startup has identified a critical vulnerability in Java using artificial intelligence. Because the platform is embedded in companies and applications worldwide, the discovery could have far-reaching consequences.
AI Discovers “Java4Shell”
The security company Calif, using OpenAI’s AI model GPT-6 Cyber, has discovered a previously unknown vulnerability in Java. The flaw, dubbed “Java4Shell,” affects a function that converts binary data into text. It can be triggered by an unusual string of 64 letter “A”s followed by an equals sign.
At first glance, this input merely causes an affected Java program to crash. However, combined with other attack methods, it could become a serious security gap. This is particularly critical because Java is extremely widespread in the business world. According to the “New York Times,” about 90 percent of Fortune 500 companies use the programming language.
Also of interest: JavaScript – this code keeps the internet running
iOS 27.2 Is Here! Should You Install the Update Right Away?
Millions of Websites at Risk!
How Attackers Could Exploit the Vulnerability
Java4Shell alone is apparently not enough to take over systems. However, attackers could combine the flaw with a technique known as “heap grooming” or “heap feng shui.” This involves deliberately manipulating the memory of a running program so that errors can be exploited for further attacks.
A successful attack is considered technically challenging. Calif CEO Thai Duong stated that the vulnerability cannot easily be turned into a working attack. This could give companies time to review and secure their systems. However, this does not mean all is clear: Widely spread security gaps can remain attractive for cyberattacks long after their discovery.
Oracle Provides Security Update
Oracle has already responded to the issue by releasing a patch. The U.S. Cybersecurity and Infrastructure Security Agency (CISA) also recommends that companies search their systems for Java Development Kits and Java runtime environments. Administrators should also consider third-party applications, containers, and devices where Java might be included unnoticed.
For Calif, this is not the first major discovery with AI assistance. Previously, the startup had disclosed a PHP vulnerability potentially affecting millions of websites. The current case now shows the role specialized AI systems could play in the future in identifying security issues in widely used software.