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

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.
| Question | Answer |
|---|---|
| Identifier | AnswerCVE-2026-114938, widely called Java4Shell |
| Where the bug is | AnswerThe HotSpot Base64 decoding intrinsic (OpenJDK component hotspot/compiler) |
| Severity | AnswerCVSS v3.1 8.1 in the OpenJDK advisory; described by Microsoft as a critical remote code execution flaw |
| Possible impact | AnswerApplication crashes, information disclosure or remote code execution |
| Permanent fix | AnswerA patched Java runtime from your JDK vendor |
| Interim step | AnswerStart 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.
- OpenJDK Vulnerability Advisory: 2026/11/17 (CVE-2026-114938, hotspot/compiler, CVSS v3.1 8.1)
- Red Hat, RHSB-2026-018: Remote code execution via memory corruption on x86-64 systems, OpenJDK (CVE-2026-114938) (November 2026)
- Microsoft Azure Network Security Blog, Addressing Java4Shell CVE-2026-114938: upgrade guidance and Azure WAF mitigations (17 November 2026)
- CVE.org, CVE-2026-114938 record
Frequently asked questions
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.