Java4Shell: Critical Java Flaw Lets Attackers Run Code Without Logging In — Patch Now

Writer Published Updated 0 comments
A glowing coffee-cup logo cracking open over a circuit board, with a red warning shield and lines of code, dark background

A 65-character string can crash — and take over — some of the most widely used software on the internet. The patch is out. The race is on.

November 18, 2026 — A critical flaw in Java itself, nicknamed Java4Shell, lets attackers run code on widely used applications without logging in, security researchers disclosed on Tuesday. The bug, tracked as CVE-2026-114938, affects OpenJDK versions used by thousands of organisations — and the researcher who found it did so in about an hour, with the help of an AI coding assistant.

A glowing coffee-cup logo cracking open over a circuit board, with a red warning shield and lines of code, dark background

Image: A glowing coffee-cup logo cracking open over a circuit board, with a red warning shield and lines of code, on a dark background. Credit: Red Eye Eagle News / AI illustration.

Editor's Highlight: This is not a bug in one app — it is a bug in the Java runtime underneath thousands of them. The fix is already out, but the real story is the race: the flaw was found and weaponised in about three hours with AI help, for under $200.

Table of Contents

  • Key Facts
  • What Java4Shell Is
  • Which Apps Are Exposed
  • The Three-Hour Discovery
  • The Patch — and the Workaround
  • What Happens Next
  • Bottom Line
  • FAQ
  • Sources

Key Facts

DetailInformation
FlawCVE-2026-114938, nicknamed "Java4Shell"
DisclosedTuesday, November 17, 2026, by security firm Calif
SeverityCalif: 9.2 Critical (CVSS 4.0); Oracle: 8.1 High (CVSS 3.1)
Root causeMemory corruption in OpenJDK's hardware-accelerated Base64 decoder
Trigger64 "A" characters followed by a single "=" (older OpenJDK 17 builds: 128 "A"s)
Affected versionsOpenJDK 17.0.6 and later; Java 17, 21, 25 and 27 lines
Hardware limitOnly x86-64 chips with AVX-512 VBMI; ARM64 not affected
ExploitationNo confirmed exploitation in the wild as of November 17

What Java4Shell Is

Java4Shell is a memory-corruption flaw in OpenJDK's hardware-accelerated Base64 decoder (java.util.Base64), part of the HotSpot JVM — the engine that runs Java programs. A malformed Base64 input makes the decoder write past its allocated buffer, corrupting memory in a way an attacker can exploit to run their own code.

The trigger is startlingly small: just 64 "A" characters followed by a single "=". Older OpenJDK 17 builds need 128 "A"s. That is all it takes to set off the corruption.

Security research firm Calif disclosed the flaw on Tuesday, November 17, 2026. Details leaked ahead of the coordinated fix, and Calif published its technical write-up the same day.

The severity ratings disagree. Calif rates the flaw 9.2 (Critical) under CVSS 4.0. Oracle rates it 8.1 (High) under CVSS 3.1 and rates attack complexity as high. Either way, it is a remote code execution flaw in one of the most widely deployed runtimes in the world.

Newsroom Focus: The disagreement is about scoring systems, not about the bug. Both sides agree it is a memory-corruption flaw that can lead to remote code execution. The article reports both scores so readers can see the range.

Which Apps Are Exposed

Calif demonstrated unauthenticated remote code execution — no login needed — in default configurations of six widely used applications: Keycloak, Atlassian Jira, Atlassian Confluence, JFrog Artifactory, Jenkins and PingFederate.

Post-login remote code execution was also shown in Apache Kafka Broker, Apache Solr, Elasticsearch, Gerrit and Spinnaker, plus sample applications built on Apache Struts and Spring Boot.

That list is the point. Java runs the back office of the internet — identity systems, issue trackers, build servers and search engines. A bug in the Java runtime itself, rather than in one application, potentially exposes thousands of unrelated products at once.

Affected versions are OpenJDK 17.0.6 and later, across the Java 17, 21, 25 and 27 release lines. Affected distributions include Oracle Java SE, Amazon Corretto, Eclipse Temurin, Microsoft Build of OpenJDK, Azul Zulu, Red Hat OpenJDK, BellSoft Liberica and SAP SapMachine.

The Three-Hour Discovery

Calif researcher Quang Luong found the flaw in about one hour using OpenAI's Codex AI coding assistant during an audit of OpenJDK internals, then built an initial working exploit in two more hours — at a total AI usage cost of under $200. Oracle credits Quang Luong of Calif and Albert Yang for reporting the flaw.

Calif has published a proof-of-concept that triggers the bug without taking control, but has not released its weaponised per-application exploits.

Analysis Note: The speed of the discovery is the story inside the story. If a researcher with an AI assistant can find and weaponise a flaw like this in an afternoon for under $200, defenders can no longer assume they have weeks to patch. The window between disclosure and exploitation is shrinking — and it is shrinking because of AI, not in spite of it.

Calif also describes a memory-reading step it calls "JavaBleed" that can expose secrets such as keys and tokens from application memory — a second way the same bug can hurt, even where full code execution is not achieved.

The Patch — and the Workaround

Patches were released on November 17, 2026, by Oracle as part of its November Critical Security Patch Update — one of 11 Java SE security patches in that release. The fixed builds are 17.0.21.1, 21.0.13.1, 25.0.5.1 and 27.0.1.1, plus 8u513-perf for the Java 8 Enterprise Performance Pack. Amazon Corretto released fixed builds the same day.

CISA issued an alert on November 17 urging organisations to patch immediately. "CISA strongly urges organizations to immediately patch the recently disclosed Oracle Java vulnerability CVE-2026-114938," the alert reads. CISA urged patching internet-facing systems first, and hunting for bundled Java runtimes hidden inside containers and appliances.

If patching must wait, there is a temporary workaround: launch the JVM with -XX:-UseBASE64Intrinsics (or -XX:UseAVX=2 on x86-64). That disables the vulnerable hardware-accelerated code path.

As of November 17, there was no confirmed exploitation in the wild, according to Tenable and the Canadian Centre for Cyber Security, and the flaw is not in CISA's Known Exploited Vulnerabilities catalog. That is the good news — and the reason to patch now, while it is still true.

What Happens Next

DateEvent
November 17, 2026Java4Shell disclosed; Oracle and Corretto patches released; CISA alert issued
NowOrganisations patch internet-facing Java systems first; hunt for bundled runtimes
Coming daysWatch CISA's Known Exploited Vulnerabilities catalog — addition would confirm active attacks

The pattern after disclosures like this is well known: proof-of-concept code appears, then weaponised exploits, then scanning of the internet for unpatched systems. The three-hour discovery time suggests that cycle will be fast this time.

Bottom Line

Java4Shell is a critical flaw in the runtime underneath thousands of applications, triggered by 65 characters and already demonstrated without a login against six major products. The patch is out, the workaround is simple, and nobody has been hit yet. That combination — fix available, no attacks confirmed — is the best possible moment to patch. It will not last.

FAQ

What is Java4Shell?

A memory-corruption flaw (CVE-2026-114938) in OpenJDK's hardware-accelerated Base64 decoder that can let an attacker run code on a server. Calif rates it 9.2 Critical (CVSS 4.0); Oracle rates it 8.1 High (CVSS 3.1).

Which applications are affected?

Calif demonstrated unauthenticated remote code execution against Keycloak, Atlassian Jira and Confluence, JFrog Artifactory, Jenkins and PingFederate, and post-login execution against Kafka, Solr, Elasticsearch, Gerrit, Spinnaker and Struts/Spring Boot sample apps. Any Java 17+ application on affected hardware could be at risk.

Am I affected if I run Java on ARM?

No. The flaw only affects x86-64 processors with AVX-512 VBMI support (Intel Xeon Ice Lake and newer, AMD Zen 4 and newer). ARM64 systems are not affected.

How do I fix it?

Update to the fixed builds: 17.0.21.1, 21.0.13.1, 25.0.5.1 or 27.0.1.1 (or your distribution's equivalent, e.g. Amazon Corretto's November 17 release). If you cannot patch immediately, launch the JVM with -XX:-UseBASE64Intrinsics.

Is anyone being attacked with it yet?

Not as far as anyone can confirm. As of November 17 there was no confirmed exploitation in the wild, and the flaw is not in CISA's Known Exploited Vulnerabilities catalog — but proof-of-concept code is public, so that can change quickly.

Sources

  • BleepingComputer — "Critical Java4Shell flaw allows RCE attacks on major Java applications" (Lawrence Abrams, November 17, 2026): https://www.bleepingcomputer.com/news/security/critical-java4shell-flaw-allows-rce-attacks-on-major-java-applications/
  • CISA — "Critical Java Vulnerability Requires Immediate Patching" (alert, November 17, 2026): https://www.cisa.gov/news-events/alerts/2026/11/17/critical-java-vulnerability-requires-immediate-patching
  • Tenable / Security Boulevard — "Java4Shell (CVE-2026-114938): Frequently asked questions about OpenJDK remote code execution vulnerability" (November 18, 2026): https://securityboulevard.com/2026/11/java4shell-cve-2026-114938-frequently-asked-questions-about-openjdk-remote-code-execution-vulnerability/
  • YouTube — aminosninatos, "Java4Shell: Critical Java 0-Day? CVE-2026-114938 Explained – Remote Code Execution & Fix": https://www.youtube.com/watch?v=Eec2Ymlnktw
  • Hero image: original AI-generated illustration by Red Eye Eagle News.

Join the conversation

Comments

Stay connected

Follow the news.

New reporting, in your feed reader. No account required.