Quick answerNov 25, 2026Last updated Nov 25, 20265 min read

What Is Java4Shell (CVE-2026-114938) and How Does It Work?

Close-up of a printed circuit board with microchips representing hardware-accelerated Java decoding.
CR
CyberRank Editorial Team

News desk, CyberRank

News recaps on advisories, outages and incidents that change third-party risk, checked against the sources they cite.

Part of: Third-Party Risk Management

Java4Shell (CVE-2026-114938) is a memory-corruption flaw in OpenJDK's hardware-accelerated Base64 decoder that can crash a Java application, leak data or allow remote code execution when crafted Base64 input reaches it. CyberRank helps you see which vendors expose internet-facing services worth asking about, rating each one from its web address in 10–60 minutes.

Key Takeaways

  • What is Java4Shell: a critical OpenJDK flaw (CVE-2026-114938) in which crafted Base64 input corrupts memory, and CyberRank rates each vendor's public exposure from its web address in 10–60 minutes.
  • It needs three things at once: an unpatched OpenJDK-based runtime from 17.0.6 onwards (including 21, 25 and 27), an x86-64 processor with AVX-512 VBMI instructions, and attacker-controlled Base64 data reaching the decoder.
  • The permanent fix is a patched Java runtime; until then, Red Hat recommends starting affected JVMs with -XX:-UseBASE64Intrinsics.

How does Java4Shell (CVE-2026-114938) work?

Java4Shell works when malformed Base64 data reaches a Java runtime that decodes Base64 with a processor-specific fast path, which then writes past the end of its memory buffer and corrupts nearby memory.

Base64 is a common way to carry binary data as text, and Java has a built-in decoder for it. On processors with AVX-512 VBMI instructions, the HotSpot virtual machine swaps that decoder for a hand-tuned piece of machine code (an "intrinsic") that runs faster. Java4Shell is a bug in that intrinsic, as Red Hat's bulletin RHSB-2026-018 explains.

Microsoft's guidance of 17 November 2026, the day the flaw was disclosed, says the memory corruption can cause application crashes, sensitive information disclosure or remote code execution. The OpenJDK Vulnerability Advisory of the same day scores it 8.1 under CVSS v3.1 and marks Java 17, 21, 25 and 27 as affected.

Red Hat notes that applications often decode Base64 before a user has logged in: HTTP Basic credentials, SAML artifacts, CSRF tokens and MIME-encoded fields are common examples. A login page alone therefore does not protect an affected service. Our Java4Shell upgrade and Azure WAF guide covers the patching advice, and the affected Java versions and CPUs page lists the exact builds.

Java4Shell (CVE-2026-114938) at a glance
IdentifierAnswerCVE-2026-114938, widely called Java4Shell
Where the bug isAnswerThe HotSpot Base64 decoding intrinsic (OpenJDK component hotspot/compiler)
SeverityAnswerCVSS v3.1 8.1 in the OpenJDK advisory; described by Microsoft as a critical remote code execution flaw
Possible impactAnswerApplication crashes, information disclosure or remote code execution
Permanent fixAnswerA patched Java runtime from your JDK vendor
Interim stepAnswerStart the JVM with -XX:-UseBASE64Intrinsics (Red Hat's preferred mitigation)

Why does Java4Shell matter for vendor risk in Europe and Indonesia?

Java4Shell matters for vendor risk because many suppliers run Java behind their customer portals, single sign-on pages and APIs, and CyberRank rates those suppliers from the outside in 10–60 minutes so you can see which ones to ask first.

You usually cannot see which Java build or processor a vendor uses. What you can see is its public attack surface: the domains, subdomains and services it exposes to the internet, including staging servers, admin portals and forgotten APIs. Those are the places where an unpatched runtime would be reachable.

European financial entities under DORA, entities in scope of NIS2 and Indonesian financial institutions under OJK Reg. 1/2026 are all expected to manage the cyber risk their ICT suppliers bring. A critical runtime flaw is a practical test of third-party risk management: who runs Java, who has patched, and who needs a follow-up question. CyberRank supports these obligations; it does not by itself make an organisation compliant.

CyberRank rates what an organisation exposes publicly, and AI-powered questionnaires add internal evidence where you need it.

Our Java4Shell news briefing follows the story, and CyberRank's credit-based pricing shows what it costs to monitor a vendor.

Why CyberRank for checking vendor Java exposure

CyberRank gives you an outside-in view of each vendor's exposure and a direct way to ask for internal evidence, in one platform.

Create a free account to see how your organisation rates.

  • Minutes, not weeks: a security, privacy and AI rating from one web address in 10–60 minutes, with no agents or system access.
  • The whole attack surface: public subdomains, including staging servers, admin portals and forgotten APIs.
  • Known CVEs ranked by severity: the vulnerabilities lens checks TLS, certificates, headers, email security and known CVEs, with fixes ranked by severity.
  • Evidence on request: AI-powered questionnaires ask a vendor about its Java runtimes and patch dates, and the answers feed its internal rating.
  • Pay for vendors, not seats: 1 credit = US$1, with unlimited users and no subscription.

References

Facts on this page come from the OpenJDK advisory, Red Hat's bulletin and Microsoft's guidance, all published in November 2026.

  1. OpenJDK Vulnerability Advisory: 2026/11/17 (CVE-2026-114938, hotspot/compiler, CVSS v3.1 8.1)
  2. Red Hat, RHSB-2026-018: Remote code execution via memory corruption on x86-64 systems, OpenJDK (CVE-2026-114938) (November 2026)
  3. Microsoft Azure Network Security Blog, Addressing Java4Shell CVE-2026-114938: upgrade guidance and Azure WAF mitigations (17 November 2026)
  4. CVE.org, CVE-2026-114938 record

Frequently asked questions

Yes: Java4Shell can lead to remote code execution, as well as application crashes or information disclosure, according to Microsoft's guidance of 17 November 2026. CyberRank helps you find the vendors that expose services where such a flaw would matter, rating each from its web address in 10–60 minutes.

Java4Shell is triggered by crafted Base64 input that an application passes to Java's standard Base64 decoder, such as HTTP Basic credentials, SAML artifacts, CSRF tokens or MIME-encoded fields. CyberRank checks vendors' public subdomains, including the forgotten APIs and admin portals where such input often arrives.

No: a login page does not reliably protect against Java4Shell, because Red Hat notes that much Base64 decoding happens before authentication completes. CyberRank's daily re-scans and email alerts tell you when a monitored vendor's exposure changes.

OpenJDK fixed Java4Shell in its security release of 17 November 2026, and each JDK vendor, such as Oracle or Red Hat, ships its own patched builds. CyberRank's AI-powered questionnaires let you ask each vendor which build it now runs, and the answer feeds its internal rating.

No: Java4Shell (CVE-2026-114938) is a bug in the Java runtime itself, while Log4Shell (CVE-2021-44228) was a bug in the Apache Log4j logging library. CyberRank's vulnerabilities lens checks known CVEs on a vendor's public subdomains, with fixes ranked by severity.

CyberRank helps with a flaw like Java4Shell by showing each vendor's public exposure and known CVEs from its web address in 10–60 minutes, so you know whom to ask first. CyberRank rates what an organisation exposes publicly, and AI-powered questionnaires add internal evidence where you need it.

Create a free account to see how your organisation rates.

CyberRank rates any organisation from its web address in 10–60 minutes: one IISRI® rating across 12 risk lenses, with no questionnaires, agents or system access. Your first assessment is ready within the hour.