tail -f

$ cat blog/2026-11-19.md

Java4Shell: patch OpenJDK, but expect targeted attacks, not a worm

A Base64 decoder bug in OpenJDK 17.0.6 and later can crash or hijack Jira, Jenkins and Keycloak on AVX-512 servers. Who is exposed and what to do first.

Oracle and the OpenJDK project fixed Java4Shell on 17 November, the same day the research firm Calif published its findings. Tracked as CVE-2026-114938, it is a memory corruption bug in the Base64 decoder of the Java runtime, and Calif says it used it to run code without logging in on default installs of Jenkins, Jira, Keycloak, Confluence, PingFederate and JFrog Artifactory. CISA has asked organisations to patch immediately, starting with systems that face the internet.

The reaction from other researchers is more measured. Crashing a vulnerable JVM looks easy, but turning the bug into code execution takes work that differs for every application, and nobody has yet reported attacks in the wild. That makes this a patch-today problem rather than a drop-everything one, with a few details that decide whether your servers are exposed at all.

What the bug is

To speed up Base64 decoding, OpenJDK uses a routine built on special x86-64 instructions that handle many bytes at a time. Calif found that malformed input can make that routine write beyond its output buffer before Java rejects the string as invalid. With careful exploitation, Calif says, the overflow can leak memory in the style of Heartbleed or lead to remote code execution. It calls the leak variant JavaBleed and warns the exposed heap data could include personal data, keys and tokens.

Because Base64 shows up everywhere, the attack surface is wide. SentinelOne notes that any value an application hands to the standard decoder can carry the payload, including CSRF tokens, SAML artifacts and the credentials in HTTP Basic logins. Calif also got code execution with authentication on Elasticsearch, Spinnaker, Kafka, Gerrit and Solr, and in sample Struts and Spring Boot apps. A client-side exploit shared by the researcher samczsun shows that a Java program connecting to a hostile TLS server can be compromised even if it runs no services.

Who is actually exposed

The hardware matters. The vulnerable code only runs on x86-64 processors with AVX-512 VBMI support, which SecurityWeek says includes Intel Xeon chips from Ice Lake onward and AMD chips from Zen 4 onward. Other processors take a different decoding path without the defect, VulnCheck explains, and ARM64 systems are not affected.

On the software side, Calif lists OpenJDK 17.0.6 and later, and builds based on it, from Oracle Java SE and Red Hat's OpenJDK to Temurin, Corretto, Zulu, Liberica, SapMachine and Microsoft's build. The OpenJDK advisory names Java 17, 21, 25 and 27, and Oracle also lists GraalVM releases. Endor Labs warned that users of non-Oracle builds depend on their vendor shipping a fixed release, and that on 17 November the fix had not yet reached the public OpenJDK 17, 21 and 25 update repositories.

How worried to be

Calif scores the flaw 9.2 under CVSS 4.0, while Oracle gives it 8.1 under CVSS 3.1 and cites high attack complexity. VulnCheck says a burst of crafted requests reliably knocks a service over, but full code execution needs heap grooming plus a separate leak to defeat address randomisation. Both VulnCheck and watchTowr expect narrow, application-specific attacks rather than indiscriminate ones, and Kevin Beaumont called it "not world ending".

Two things argue against waiting, though. Calif says its researcher found the bug in an hour and built a first working exploit in two more, with AI help costing under $200, and its public proof of concept only checks whether a machine is affected. Calif also says news of the flaw leaked before disclosure, and Cisco Talos expects probing to start soon even though it has seen no exploitation yet.

What to do

  • Install Oracle's November Java fixes or your vendor's patched OpenJDK build as soon as it is available, starting with internet-facing services.
  • Search for Java runtimes bundled inside appliances, containers and other vendors' software, which CISA warns may be missing from asset inventories.
  • Where you cannot patch yet on x86-64 machines, start the JVM with AVX-512 disabled, as Cisco Talos suggests, and as CISA advises, cap the size of Base64 input, check it at the edge of the application and cut back unauthenticated access.
  • Monitor for Java processes that look out of place, runtimes nobody installed on purpose, and JVMs that crash without explanation.

Sources

Written with AI from the sources above and edited by Andrei Ciungan before publishing. The full stories belong to their publishers.