Osegi
Security·2 min read

Java4Shell: the Java flaw found with OpenAI's GPT-6 Cyber

Java4Shell, a critical Java bug, hides in a speed shortcut for decoding Base64 text. Researchers found it with OpenAI's GPT-6 Cyber, and CISA wants patches now.

Lines of Java code on a dark screen with a red warning symbol over a padlock.
Image: The Indian Express

Java4Shell is the name given to a critical flaw in Java, and it sits in something as dull as a speed shortcut for reading Base64 text. Security agencies in the US, India and Canada have all told organisations to patch.

Researchers at the cybersecurity startup Calif disclosed the bug on Tuesday, 17 November. They say they found it using OpenAI's recently launched GPT-6 Cyber model. It is tracked as CVE-2026-114938 and affects Java 17.0.6 on x86-64 Intel and AMD chips with AVX-512 VBMI support.

How does Java4Shell work?

Java uses a faster code path to decode Base64, the scheme that turns binary data into letters, numbers and punctuation. Tenable researcher Satnam Narang explains that when this shortcut gets a specially crafted string, it writes past the memory set aside for it and corrupts other data the application holds.

An attacker could use that to read memory, which may contain keys and tokens, or to run their own code on the server. In some cases the vulnerable code was triggered by 64 "A" characters followed by one equal sign. Calif's proof of concept broke into Keycloak, a login system used by organisations including CERN, HP, UnitedHealthcare and NASA. The researchers say Jira, Confluence, Jenkins, Elasticsearch, Apache Kafka Broker and others could be attacked without an account.

Who needs to patch Java4Shell?

Oracle and the OpenJDK project both released patches on Tuesday. Because OpenJDK underpins many vendors' builds, others are exposed too: Amazon Corretto, Eclipse Temurin, Microsoft Build of OpenJDK, Azul Zulu, BellSoft Liberica and SAP SapMachine. Amazon has issued fixes and Red Hat is working on its own.

CISA urged organisations to patch immediately, and India's CERT-In gave the same advice. Canada's Cyber Centre says it knows of no active exploitation but warned that can change quickly. Nobody has shown the bug being used in real attacks yet.

Calif found the PHP2Shell flaws in PHP last month. Other labs reportedly reproduced the Java crashes and a memory leak, and Calif is working with the Five Eyes alliance, Google and Microsoft.

Apps worth a look

SUMO: the number puzzle

Tap the right tiles, add them up, hit the target. Easy to learn, hard to master. Free, for all ages.

Tags:java4shelljavaopenjdkoraclecve-2026-114938calif

More from this day

See all →

More in: Security

See all →