Pull to refresh
Logo
Java4Shell flaw enables pre-auth code execution on Java servers

Java4Shell flaw enables pre-auth code execution on Java servers

New Capabilities

A memory-corruption bug in OpenJDK's Base64 decoder affects Java 17.0.6 and later releases, including 21, 25 and 27, on chips with AVX-512 VBMI.

Overview

Updated Nov 22

A 65-character string can corrupt a Java server's memory before it checks whether the user is logged in. Calif demonstrated remote code execution in Keycloak, Jira, Confluence, JFrog Artifactory, Jenkins and PingFederate with default settings; Oracle and OpenJDK released patches after the Nov. 17 disclosure.

The bug affects OpenJDK 17.0.6 and later releases, including Java 21, 25 and 27, on x86-64 machines with AVX-512 VBMI, a set of processor instructions in newer Intel and AMD chips. GreyNoise, WatchTowr, Cloudflare and Previdian logged scanning or blind exploit attempts from Nov. 18, but heise.de reported on Nov. 21 that no Java4Shell intrusions had been confirmed. wiz.io advised upgrading OpenJDK or disabling Base64 intrinsics, while fixes for Cisco, Siemens and Elastic products were still rolling out in the advisories reviewed.

Why it matters

If attackers can reach a login form on an unpatched Jira or Keycloak server, they can run code without an account.

Questions about this story

Free account needed to ask — your question is kept and asked for you right after sign-up. Answers are public.

No questions yet — be the first to ask.

Key Indicators

9.2
CVSS 4.0 severity score
Calif rates the flaw 9.2 out of 10, in the critical range.
6
Apps with pre-auth RCE demonstrated
Keycloak, Jira, Confluence, Artifactory, Jenkins and PingFederate, in default configurations.
65
Characters in trigger string
64 'A' characters followed by a single '='; older OpenJDK 17 builds need 128.
62
Bytes written past buffer
The decoder writes 62 bytes beyond a 50-byte output array.
90%
Fortune 500 companies running Java
Calif's estimate of Java's reach in large enterprises.
150+
Java4Shell-shaped requests logged
GreyNoise recorded more than 150 Java4Shell-shaped requests from five IP addresses by early Nov. 19; no successful intrusions on its sensors.
0
Confirmed intrusions
As of Nov. 21, heise.de reported no Java4Shell attacks in the wild; earlier threat-intelligence firms reported probing and blind attempts without confirmed compromises.

Voices

Curated perspectives — historical figures and your fellow readers.

Sign up to generate historical perspectives on this story.

People Involved

Organizations Involved

Calif
Calif
Security research firm
Disclosed the vulnerability and demonstrated RCE in six apps

Security research firm that found and disclosed Java4Shell.

OP
OpenJDK
Open-source Java implementation
Vulnerable code in HotSpot's x86-64 Base64 intrinsic; patch released

Open-source Java runtime whose HotSpot compiler contains the flawed Base64 intrinsic.

Oracle
Oracle
Enterprise software company
Released Java patch

Vendor of Oracle Java SE, one of the affected Java builds.

Cybersecurity and Infrastructure Security Agency (CISA)
Cybersecurity and Infrastructure Security Agency (CISA)
United States federal agency
Issued urgent patching alert

US agency that urged organizations to patch immediately.

Red Hat, Inc.
Red Hat, Inc.
Software company
Rated the flaw Critical; Tenable reported fixed OpenJDK packages for Red Hat Enterprise Linux by Nov. 19, while bundled products remained affected

Linux distributor whose OpenJDK builds were affected; fixed Red Hat Enterprise Linux packages were reported by Nov. 19.

Blackpoint Cyber
Blackpoint Cyber
Cybersecurity firm
Reproduced crash and heap leak, not RCE

Security firm whose Adversary Pursuit Group tested the flaw.

GreyNoise
GreyNoise
Threat intelligence firm
Logged more than 150 Java4Shell-shaped requests from five IP addresses by early Nov. 19; no successful intrusions on its sensors.

Threat intelligence firm that tracks internet scanning and attack traffic.

watchTowr
watchTowr
Security research firm
Saw global honeypot requests using 'java4shell-recon' user agents and blind exploitation attempts.

Threat intelligence firm that operates a global honeypot network.

Cloudflare, Inc.
Cloudflare, Inc.
Network infrastructure company
Cloudforce One saw scanners conceal tooling, including a switch from a Java4Shell user agent to Chrome impersonation about 17 hours later.

Internet company whose Cloudforce One team tracks attack activity.

Previdian
Previdian
Threat intelligence firm
Logged nine Java4Shell exploitation attempts from six IP addresses on Nov. 18 and 19; sensor data could not confirm compromises.

Threat intelligence firm whose sensors logged Java4Shell exploitation attempts.

Cisco Systems
Cisco Systems
Networking and collaboration company
Confirmed more than a dozen affected products and was aware of proof-of-concept exploit code; no fixes or workarounds were available and no malicious use was known as of Nov. 19.

Vendor with multiple affected products and no immediate fix or workaround.

EL
Elastic
Search and observability software company
Said all Elasticsearch releases from 7.17.3 onward are affected; cloud hotfix and hosted configuration changes were deployed.

Vendor advising customers on affected Elasticsearch and Logstash deployments.

KE
Keycloak
Identity and access management project
Updated 26.8 container images with a patched Java runtime, including 26.8.2-3.

Open-source identity project whose container images bundled a vulnerable Java build.

QU
Quarkus
Java framework project
Said Quarkus and Mandrel native executables are not affected; UBI Java images were fixed on Nov. 19.

Java framework project publishing container-image and mitigation guidance.

Timeline

11 events Latest: November 21st, 2026 · 1 week ago Showing 8 of 11
Tap a bar to jump to that date
  1. No successful Java4Shell intrusions reported

    Latest Threat assessment

    heise.de reported on Nov. 21 that no Java4Shell attacks in the wild had been reported. It said patches should still be installed because Oracle's update also closed 10 other remote-code-execution flaws.

  2. Wiz publishes Java4Shell mitigation guide

    Guidance

    wiz.io said the bug affects OpenJDK 17.0.6 and later on x86-64 hardware and advised upgrading OpenJDK or disabling Base64 intrinsics. The guide named Tomcat among applications at risk.

  3. Attackers probe Java4Shell

    Threat activity

    GreyNoise logged more than 150 Java4Shell-shaped requests from five IP addresses by early Nov. 19. WatchTowr, Cloudflare and Previdian reported related scanning or blind exploitation attempts, but no successful intrusions were confirmed.

  4. Private remote code execution exploits reported

    Research

    SecurityWeek reported that Calif's public proof of concept triggers memory corruption only, while VulnCheck made a full remote code execution exploit available to customers. Immersive's Kevin Breen also reported developing a working exploit.

  5. Cisco, Siemens and Elastic detail product impact

    Vendor advisory

    Cisco confirmed more than a dozen affected products and said no fix or workaround was available. Siemens advised taking three affected Industrial Edge Management products offline; Elastic said all Elasticsearch releases from 7.17.3 onward are affected, while remote code execution requires credentials with read access.

  6. Patched Java builds and images roll out

    Patch

    Tenable reported that Red Hat had fixed OpenJDK packages for Red Hat Enterprise Linux and that Keycloak's 26.8 images were updated to OpenJDK 21.0.13.1. Quarkus said Red Hat Universal Base Image (UBI) Java images were fixed on Nov. 19 and urged rebuilds; Amazon, Microsoft and Azul also shipped patched OpenJDK builds.

  7. South Korea holds emergency Java security meeting

    Government

    South Korea's presidential office held an emergency meeting with government agencies to discuss preemptive measures, Yonhap reported.

  8. Calif discloses Java4Shell

    Disclosure

    Calif publishes CVE-2026-114938 and demonstrates pre-auth RCE in six widely used Java applications.

  9. Oracle and OpenJDK release patches

    Patch

    Fixes ship for Java 17, 21, 25 and 27; Amazon updates Corretto while Red Hat prepares its own.

  10. CISA urges immediate patching

    Government

    CISA tells organizations to inventory Java installations and prioritize internet-facing systems.

  11. Independent labs reproduce crash and leak

    Research

    Upwind reproduces corruption on an Ice Lake server; Blackpoint crashes a Spring Boot app and reads a nearby secret.

Scenarios

1

Public exploit code lands and CISA adds Java4Shell to its exploited-vulnerabilities catalog

Possible Resolves by Jan 31, 2027

Discussed by: Security researchers tracking the CVE, including Rapid7 and Qualys.

A public, reliable product-specific exploit or a confirmed in-the-wild compromise would trigger the next escalation. CISA's Known Exploited Vulnerabilities catalog remains the formal signal: listing would set a federal patching deadline and push other organizations to prioritize the flaw.

2

Vendors patch fast enough that mass exploitation never materializes

Likely Resolves by Feb 28, 2027

Discussed by: CISA and Calif, both of which emphasized patching and compensating controls.

Many fixes are now out, including Oracle, OpenJDK, Amazon, Microsoft, Azul and reported Red Hat Enterprise Linux packages. Risk now centers on bundled JDKs and container images; Cisco has no fix or workaround, Siemens advises taking affected instances offline and Elastic plans releases.

3

Attackers use JavaBleed to steal secrets without achieving code execution

Possible Resolves by Q1 2027

Discussed by: Blackpoint Cyber's Adversary Pursuit Group, which reproduced the heap read in 30 of 30 local runs.

Instead of chasing RCE, attackers trigger the overflow to corrupt an array length and read back JVM heap memory. Private keys, tokens and personal data sit in that memory. A single leaked credential can be enough to move laterally, even if the full exploit chain never works.

4

Attackers turn Java4Shell scanning into confirmed intrusions

Deadline passed (Nov 27, 2026)

Discussed by: WatchTowr's Jake Knott and Cloudflare's Cloudforce One team

WatchTowr and Cloudflare reported scanning and blind attempts, and WatchTowr's Jake Knott said attackers were expected to iterate product by product. A confirmed compromise would move the story from broad probing to active exploitation.

Historical Context

2 moments from history that rhyme with this story — and how they unfolded.

April 2014

Heartbleed (2014)

A missing bounds check in OpenSSL's heartbeat extension let attackers read up to 64 kilobytes of server memory per request. The bug affected a large share of HTTPS servers and exposed private keys, session cookies and passwords.

Then

OpenSSL released a fix within days; companies rushed to patch and revoke certificates.

Now

Heartbleed became a reference point for memory-safety bugs that leak secrets rather than execute code.

Why this matters now

JavaBleed is the same class of bug: an out-of-bounds read that exposes heap memory before any code execution.

December 2021

Log4Shell (2021)

A lookup feature in Apache Log4j 2 let attackers run code by sending a crafted string to a logged field. The library was embedded in thousands of Java applications, and exploitation began within hours of disclosure.

Then

Organizations patched in waves; attackers scanned for vulnerable servers and deployed cryptominers and backdoors.

Now

The incident pushed software bills of materials and dependency scanning into mainstream security practice.

Why this matters now

Java4Shell follows the same pattern: a flaw in a low-level Java component that surfaces in many products at once, with pre-auth reach through login forms.

Sources

(17)