A computer screen at a cybersecurity center
Authorities in the United States, Britain, Germany and South Korea urged organizations to install Oracle’s security update, while no successful attacks had been reported at the time. Getty Images

Governments around the world warned Wednesday that a critical flaw in Java could let hackers take control of vulnerable servers or crash computer systems, prompting authorities in the United States, Britain, Germany and South Korea to urge organizations to install a fix.

U.S. cybersecurity firm Calif said it discovered the flaw in Java's memory functions. The vulnerability could allow an attacker to run code remotely on an affected system, according to Reuters.

Tencent Cloud, the cloud computing arm of Chinese technology company Tencent, warned customers that attackers could exploit the flaw without signing in, potentially gaining access to sensitive information or taking control of affected servers.

The U.S. Cybersecurity and Infrastructure Security Agency called for immediate patching. Oracle issued an update to its Java Development Kit on November 17 that included fixes for the flaw, Reuters reported.

Java is available through Oracle and through open-source development kits. Tencent Cloud referred to the vulnerability in the open-source kit as Java4Shell. German and Dutch cybersecurity authorities said they knew of no successful attacks exploiting the flaw at the time of the warnings.

The Dutch agency said it was investigating, while Britain's cybersecurity agency urged organizations to keep their systems up to date. South Korea moved to address the threat before the public warnings on Wednesday. The presidential office convened an emergency meeting with government agencies Tuesday to discuss preventive measures, South Korea's Yonhap news agency reported.

Java accounted for 72% of programming language use in public-sector information systems, according to a South Korean government survey conducted last year. A separate 2021 survey by software development tools maker JetBrains put Java use in South Korea at 53%, compared with a global average of 30%.

The disclosure followed several technology disruptions, including an outage Tuesday at the U.S. National Security Agency. Authorities and companies had drawn no connection between those incidents and the Java vulnerability. Apple attributed a separate disruption affecting iCloud and Apple Pay to an internal software update and said a cyberattack played no role.

Other recent disruptions affected Microsoft email and other services, interrupted some JPMorgan Chase banking services and halted U.S. air travel for about 4½ hours. Secretary of State Marco Rubio, who also serves as national security adviser, described the incidents as "unsettling" but said they were unrelated.

The Java warning also follows an October disclosure by Calif of a vulnerability in PHP, another widely used programming language. Governments and companies took some websites offline as a precaution while operators worked to secure systems running the affected software.

Advances in artificial intelligence are adding pressure on both sides of that work. Attackers can use AI to identify weaknesses and attempt intrusions more quickly, giving organizations less time to respond after a flaw becomes public.

Companies are using the same technology to scan their own systems for vulnerabilities, increasing the number of fixes their teams may have to handle at once. Installing many updates in quick succession can itself disrupt services, Surfshark lead system engineer Karolis Kaciulis told Reuters. "Patching that much, that quickly, makes systems less stable," he said.