Live

Tech news, freshly booted.

Security

Java4Shell: an AI-assisted bug in OpenJDK's Base64 decoder puts major Java apps at risk

Researchers at Calif say a memory flaw in Java 17 and later can crash servers, leak memory or, with effort, run attacker code. Oracle has patched it; other distributions are still catching up.

Security firm Calif has disclosed a memory-corruption bug in the Base64 decoder of OpenJDK, the open-source base of most Java runtimes. Tracked as CVE-2026-114938 and nicknamed Java4Shell, it can leak memory or crash a server, and in some applications it can lead to remote code execution, according to BleepingComputer and SecurityWeek.

What the flaw is

Per SecurityWeek, malformed Base64 input can write past the end of an output buffer and corrupt nearby heap data. Engadget reports that a string of 64 "A" characters followed by an equals sign triggers it on some machines. The bug sits in a hardware-accelerated code path, so it only affects x86-64 chips with AVX-512 VBMI, such as Intel Xeon from Ice Lake onward and AMD Zen 4 or newer. SecurityWeek says ARM64 systems are not affected.

Affected software is OpenJDK 17.0.6 and later, and distributions built on it, BleepingComputer says, naming Oracle Java SE, Amazon Corretto, Eclipse Temurin, Microsoft Build of OpenJDK, Azul Zulu and Red Hat OpenJDK. SecurityWeek says the OpenJDK advisory lists Java 17, 21, 25 and 27.

How serious it is

Calif rates the flaw critical at CVSS 4.0 9.2. Oracle gives it 8.1 on CVSS 3.1 and notes that remote exploitation needs no authentication but is complex. Calif says it demonstrated remote code execution without authentication against Keycloak, Jira, Confluence, Artifactory, Jenkins and PingFederate, and with authentication against Kafka, Solr, Elasticsearch, Gerrit and Spinnaker. It published a proof of concept for the memory corruption but not the weaponized exploits.

Calif also stresses there is no universal exploit, since an attacker must find an application-specific way to deliver the malicious data. SecurityWeek adds that VulnCheck calls crashing a JVM easy but full code execution hard and target-specific. It also reports that Cisco Talos had not seen attacks in the wild but expects probing soon.

The AI angle

Calif says researcher Quang Luong found the bug in about an hour and built a first working exploit in two more, for under $200 in AI costs. The sources differ on the tool: BleepingComputer says he used OpenAI's Codex, while Engadget says it was OpenAI's GPT-6 Cyber model, which isn't publicly available.

Patches and what to do

BleepingComputer says Oracle shipped fixes on November 17 in its November Critical Patch Update. SecurityWeek says Endor Labs found the fix hadn't yet reached the public OpenJDK 17, 21 and 25 update repositories that day, so users of other distributions must wait for vendor builds. Engadget notes that Oracle's update didn't specifically mention the bug, while BleepingComputer and SecurityWeek say it covers it.

Both outlets say CISA urges immediate patching, internet-facing systems first, and SecurityWeek says it advises hunting for Java embedded in third-party software, containers and appliances. Until patched, BleepingComputer lists two temporary mitigations: starting the JVM with -XX:-UseBASE64Intrinsics, or on x86-64 -XX:UseAVX=2.

Why it matters

Java runs a large share of enterprise login, build and messaging systems, which is why a hard-to-weaponize bug still draws attention. Engadget says Calif estimates the flaw could linger for five to 10 years because some systems will stay unpatched.

Sources

This story is based on reporting from these outlets. Read them for the full picture:

Drafted by an AI-assisted routine from the reporting above and checked against it before publishing. How our stories are made.

More on: Microsoft, Amazon

More from The Bootline