Java4Shell CVE-2026-114938: OpenJDK Pre-Auth RCE Flaw

3 views 4 minutes read

Java4Shell CVE-2026-114938 is a heap memory flaw in OpenJDK that researchers at Calif say can lead to remote code execution in widely used Java server products. The firm described the bug in its Java4Shell write-up, and Oracle shipped a fix in its November 2026 Critical Security Patch Update.

The flaw sits in an optimized routine that decodes Base64 text on x86-64 processors with AVX-512 VBMI instructions. Calif reports that default installs of Keycloak, Jira, Confluence, Artifactory, Jenkins and PingFederate can be reached before login. Other products are exposed after login.

Security teams that run Java based identity, build or collaboration servers should pay attention. No exploitation in the wild had been reported in the sources checked, but the weaponized exploit chains are expected to be published later.

Java4Shell CVE-2026-114938: Key Takeaway

  • Patch every affected Java runtime, restart every Java process and treat internet facing identity and build servers as the first priority.

Find the Java hosts you still have to fix. Tenable is a vulnerability management product that helps you track which systems still carry an unpatched flaw such as this one.

Watch what your servers do on the network. Auvik offers network monitoring and management, which can help you notice unexpected restarts or new outbound connections from servers.

What Happened: A Base64 Bug Turns Into a Remote Code Execution Risk

Base64 is a common way to turn binary data into plain text. Java servers decode it constantly, for example in login headers and tokens. When the just in time compiler optimizes this decoder on x86-64 processors with AVX-512 VBMI, the code can write past the end of its output array.

How the bug works

Calif explains that a padded tail miscalculates the output length, which underflows to a small negative number. The store mask then covers a full 64 byte block. The decoder writes roughly 62 bytes beyond the array (63 when the input ends in two equals signs) before Java throws an IllegalArgumentException. According to Endor Labs, the overwritten bytes are a fixed value, so an attacker controls the landing position and not the content.

Calif says a simple trigger is 64 letter A characters followed by one equals sign on newer OpenJDK lines, and 128 followed by one equals sign on OpenJDK 17.

Scores and identifiers

Calif lists a CVSS 4.0 score of 9.2. The Qualys research team and Sysdig report a CVSS 3.1 score of 8.1 attributed to Oracle. We could not confirm Oracle’s own risk matrix row, and the CVE.org and NVD records did not load when we checked. The Hacker News adds that Red Hat gave a preliminary 9.8. Scores therefore differ by source.

Timeline

  • June and September 2026: users posted public reports and a crash proof of concept, and the root cause was identified in September.
  • October 24, 2026: Calif researcher Quang Luong found the bug using Codex in about an hour and reported it to Oracle.
  • November 13, 2026: Oracle said it would release a fix on November 17.
  • November 17, 2026: Oracle released the fix and Calif published its write-up.

Affected Versions, Fixes and Exposed Products

Calif and the secondary reports agree on these points:

  • OpenJDK 17.0.6 and later, plus 18 and later (including 21, 25 and 27), on x86-64 CPUs with AVX-512 VBMI.
  • ARM64 systems are not affected.
  • Oracle Java SE builds 17.0.21.0.3, 21.0.13.0.3, 25.0.5.0.3 and 27.0.1.0.3, plus a Java 8 performance build.
  • Fixed Oracle builds are 17.0.21.1, 21.0.13.1, 25.0.5.1 and 27.0.1.1, with the Java 8 performance build fixed in 8u513.

Sources say standard Java 8 and Java 11 are not affected. Oracle’s patch table does list ordinary 8u511b33 and 11.0.33.0.3, but Endor Labs notes that table covers all fixes in the update, not just this CVE. This point is unresolved.

Distribution status differed as of November 17 and 18. Amazon Corretto and Azul Zulu shipped fixed builds, while Endor Labs reported that Debian had fixed only unstable and that Red Hat and Ubuntu had no fix yet. Element Security warns that vulnerable October builds and fixed November builds can share version numbers, so check the build date.

Products Calif lists

  • Before login in default setups: Keycloak, Atlassian Jira, Atlassian Confluence, JFrog Artifactory, Jenkins and PingFederate.
  • After login: Apache Kafka broker, Apache Solr, Elasticsearch, Gerrit and Spinnaker.

Calif says the list is not exhaustive and that there is no universal exploit. Each product needs its own decoder route, heap layout and attack steps, and a failed attempt can crash the Java process.

Who Is Affected

Organizations running Java 17, 21, 25 or 27 on Intel or AMD servers with AVX-512 VBMI are in scope, including container images built on those runtimes. Teams that expose Keycloak, Jira, Confluence, Artifactory, Jenkins or PingFederate to the internet face the highest risk, because those products are reachable before authentication in default setups.

Cloud and Kubernetes hosts count too, since the flaw depends on the CPU and the runtime, not on the application.

Steps Administrators Can Take

These steps come from the vendor and researcher sources:

  • Update to the fixed build from your Java vendor, restart every Java process and rebuild and redeploy container images. Confirm the running build with jcmd or by printing JVM flags.
  • If you cannot patch yet, the JVM option -XX:-UseBASE64Intrinsics turns off the vulnerable decoder. Calif, Endor Labs, Qualys, Element and The Hacker News all list it. It can slow workloads that decode a lot of Base64.
  • The option -XX:UseAVX=2 disables AVX-512 on x86-64. Do not use it on ARM64, where the JVM does not recognize it and will not start.
  • Endor Labs describes a narrower option, -XX:+UnlockDiagnosticVMOptions -XX:DisableIntrinsic=_base64_decodeBlock. Upwind, cited by The Hacker News, warned that the disable flag on its own can stop Java from starting, so test it first.
  • Keep identity and build consoles off the public internet or behind a VPN until they are patched.
  • Watch for Base64 values of 32 or more characters that end in an equals sign and have a length that is not a multiple of four, especially in Authorization headers, plus bursts of IllegalArgumentException errors, hs_err_pid crash files and containers exiting with code 134 or 139.

Endor Labs also says that validating Base64 input length alone will not stop the bug.

Implications

A flaw in a shared runtime

Many products inherit this risk from one runtime. Teams that track only application versions can miss it, so a software bill of materials and a runtime inventory matter.

Patching alone is not enough

A fixed package does nothing until the process restarts, and old container images can keep a vulnerable copy alive.

Exploit chains are delayed, not absent

Calif is holding back its product specific chains until people have had time to upgrade. That gives defenders a window, and it is the reason to patch exposed systems first. For general patching practice, see our coverage of the critical Apache MINA remote code execution flaw and our guide to cyber incident response.

Prepare for the day a patch is not enough. CrowdStrike provides AI native cybersecurity software and incident response services, which can help if a Java server shows signs of compromise.

Looking Forward

Calif plans to publish its weaponized chains once it judges that people have had time to upgrade. Researchers at Blackpoint Cyber and Upwind, cited by The Hacker News, reproduced crashes or memory corruption in test setups, but reported no remote code execution of their own. Element says it reproduced the corruption in its own lab instances.

Several points are still unknown. We could not open the OpenJDK advisory, the CISA alert or the CVE and NVD records, so the CVSS vector and some version details rest on secondary reports. Nobody has reported attacks in the wild, and the sources checked here date from November 17 and 18. Check your vendor for later status.

Questions Worth Answering

What is Java4Shell?

  • It is the name for CVE-2026-114938, a heap out of bounds write in the OpenJDK Base64 decoder that Calif says can lead to remote code execution.

Is Java4Shell being exploited in the wild?

  • None of the sources checked reported exploitation, and The Hacker News found it was not in the CISA Known Exploited Vulnerabilities catalog on November 18.

Which Java versions are vulnerable to CVE-2026-114938?

  • OpenJDK 17.0.6 and later, plus 18 and later, on x86-64 CPUs with AVX-512 VBMI, are affected according to Calif.

Are ARM64 servers affected by Java4Shell?

  • No, Calif and the other sources say ARM64 is not affected.

Which products can Java4Shell reach before login?

  • Calif lists Keycloak, Jira, Confluence, Artifactory, Jenkins and PingFederate in default configurations.

How do I fix CVE-2026-114938?

  • Install the fixed build from your Java vendor, such as Oracle 17.0.21.1 or 21.0.13.1, and restart every Java process.

Is there a workaround if I cannot patch right now?

  • Yes, the JVM option -XX:-UseBASE64Intrinsics disables the vulnerable decoder, at some cost in speed for Base64 heavy workloads.

What CVSS score does Java4Shell have?

  • Calif lists 9.2 under CVSS 4.0, while Qualys and Sysdig report an Oracle score of 8.1 under CVSS 3.1.

How can I tell if a Java process is patched?

  • Check the running build with jcmd or the printed JVM flags, and compare the build date, since Element says old and fixed builds can share version numbers.

Does Java 8 or Java 11 need action?

  • The sources say standard Java 8 and 11 are not affected, but a Java 8 performance build is, so confirm with your vendor.

More tools worth a look: 1Password for logins, Optery for personal data removal and EasyDMARC for spoofed email.

Leave a Comment

Subscribe To Our Newsletter

Subscribe To Our Newsletter

Join our mailing list for the latest news and updates.

You have Successfully Subscribed!

This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish. Accept Read More