Java4Shell is the name its discoverers gave to -2026-114938 (CVE, Common Vulnerabilities and Exposures), a memory-corruption flaw in the code that decodes inside HotSpot, the virtual machine at the heart of OpenJDK and of Oracle's . OpenJDK and Oracle published fixes on 17 November 2026. The flaw is narrow in where it lives and wide in where it reaches: it only exists on processors with a particular instruction set, but Base64 is decoded everywhere, in logins, tokens, cookies, file uploads and messages, so an ordinary feature can carry the attacker's input to it.
The statuses below are as each party's own document stated them when read on 23 November 2026, between 03:45 and 06:32 São Paulo time (06:45 to 09:32 ), except the CISA alert and Oracle's advisory, first read on 17 November at 22:12 and 22:14. Each source is listed at the end with the time it was read.
What happened, in order
- June 2026. A user reported a crash in public that, Calif later found, was this bug; it was not recognized as a security flaw at the time.
- 13 October. The fix was committed to OpenJDK's main repository as "8393212: Base64 optimization improvements", four lines in the x86-64 stub generator, with no mention of a vulnerability (the commit, as posted to the mailing list on 19 November).
- 24 October. Calif's researcher Quang Luong asked an AI agent to audit Netty and the Java virtual machine for reachable flaws in the x86-64 intrinsics; by Calif's account it found the bug within an hour, a first working exploit followed in two more hours, and the cost in tokens was under 200 US dollars.
- 17 November, 13:00 Pacific time. OpenJDK published its vulnerability advisory and Oracle its Critical Security Patch Update for November 2026. The CVE record was published at 21:32 UTC by Oracle, the (CVE Numbering Authority) for its products. Calif published its the same day, and CISA (the US Cybersecurity and Infrastructure Security Agency) issued an alert, "Critical Java Vulnerability Requires Immediate Patching", with the Canadian Centre for Cyber Security as contributor.
- 18 November. Fixed builds from Red Hat (its builds of OpenJDK), Eclipse Temurin and Ubuntu. Microsoft, Azul and Amazon also list fixed builds; the documents of theirs read here do not date them. Apache Shiro published guidance for its users.
- 19 November. Red Hat Enterprise Linux 8 and 10 packages; Solar Designer posted the fix commit to oss-security.
- 20 November. (the US National Vulnerability Database) finished its analysis and classified the weakness as -122, a heap-based buffer overflow.
- 23 November. Not in CISA's catalogue of Known Exploited Vulnerabilities (), and CISA's own early assessment in the CVE record still says exploitation: none.
The flaw, in its discoverers' terms
To decode Base64 quickly, HotSpot replaces the Java method with a hand-written machine-code routine, an intrinsic, that uses the AVX-512 VBMI instructions of recent x86-64 processors to process many bytes at once. Calif found the error in the part of that routine that handles the last few characters. For a 65-character input, the 64 letters "A" followed by "=", the decoder allocates a 50-byte result array; after the first 64 characters the routine mishandles the stray "=", computes a negative length, and that negative length turns into a full 64-byte write, 62 bytes past the end of the array. Java rejects the input afterwards, but by then the neighbouring objects in memory may already be corrupted. In older releases of Java 17 the trigger is 128 "A" followed by "=".
From that corruption Calif built two kinds of attack: reading memory next to the array, which it compares to , and running code. Red Hat's statement spells out what the memory can hold: credentials, private keys and session tokens.
The fix sends any padded tail shorter than one complete block back to the ordinary Java code, so the hand-written routine never sees the case it got wrong.
How severe: one flaw, several scores
- Oracle and NVD: 3.1 base score 8.1, High (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H): reachable over the network, no privileges, no user action, high impact on confidentiality, integrity and availability, but with attack complexity rated High. Oracle notes that the flaw is exploited by supplying data to the affected component, for example through a web service.
- Calif: CVSS 4.0 score 9.2, Critical.
- Red Hat: Critical, its own rating.
- CISA: the alert calls it critical and asks for immediate patching; its assessment in the CVE record rates the technical impact "total", automation "no" and exploitation "none".
- Ubuntu: priority High, because it is a .
The gap between High and Critical is mostly the attack-complexity question. There is no universal exploit, Calif says: how Base64 is used, and how the application around it works, change what an attacker has to do. Calif's own list shows how far that complexity has been overcome: remote code execution before any login, in default configurations, against Keycloak, Atlassian Jira and Confluence, JFrog Artifactory, Jenkins and PingFederate; after login against Apache Kafka, Apache Solr, Elasticsearch, Gerrit and Spinnaker; and, credited to samczsun, a client-side attack in which a Java program is compromised by connecting to a malicious TLS server.
Who is affected
Three conditions must all hold:
- The Java version. OpenJDK's advisory marks Java 17, 21, 25 and 27 as affected, and not Java 8 or 11. Oracle's list adds the Oracle builds: Java SE 8u511b33-perf, 17.0.21.0.3, 21.0.13.0.3, 25.0.5.0.3 and 27.0.1.0.3, Oracle GraalVM for JDK 17.0.21.0.3 and 21.0.13.0.3, and GraalVM Enterprise Edition 21.3.20.0.3. Ubuntu's and Red Hat's own records list their Java 8 and 11 packages as not affected; the oss-security report dates the vulnerable code in Java 17 from 17.0.6.
- The processor. Only x86-64 processors with AVX-512 VBMI: by Calif's list, Intel Xeon Ice Lake, Sapphire Rapids, Emerald Rapids and Granite Rapids, and AMD EPYC and Ryzen from Zen 4. On Linux the processor flags avx512f, avx512bw, avx512vbmi and bmi2 must all be present (
grep -m1 '^flags' /proc/cpuinfo). ARM64 machines are not affected, and neither are x86-64 machines without AVX-512 VBMI, Red Hat confirms. - The compiler. The flawed routine belongs to , HotSpot's optimizing compiler. Microsoft's Azure Functions team pointed out that its Java worker starts the virtual machine with
-XX:TieredStopAtLevel=1, so only the C1 compiler runs, and its default configuration is not exposed.
Every distribution of OpenJDK carries the same code, so Temurin, Corretto, Zulu, Microsoft's build, Liberica, SapMachine, Red Hat's builds and Oracle's are all in scope, as are the runtimes bundled inside applications, appliances and container images, which inventories often miss.
The fixes
The fixed releases are the out-of-band ".1" updates of 17 November:
| Line | Fixed release | Examples of fixed builds |
|---|---|---|
| Java 17 | 17.0.21.1 | Temurin jdk-17.0.21.1+2; Red Hat build of OpenJDK 17.0.21.1 (RHSA-2026:100565); Ubuntu openjdk-17 17.0.21.1+2; Microsoft 17.0.21.1 |
| Java 21 | 21.0.13.1 | Temurin jdk-21.0.13.1+2; Red Hat 21.0.13.1 (RHSA-2026:100569); Ubuntu openjdk-21 21.0.13.1+2; Azul Zulu 21.0.13.1; Microsoft 21.0.13.1 |
| Java 25 | 25.0.5.1 | Temurin jdk-25.0.5.1+2; Red Hat 25.0.5.1 (RHSA-2026:100573); Ubuntu openjdk-25 25.0.5.1+2; Microsoft 25.0.5.1 |
| Java 27 | 27.0.1.1 | Amazon Corretto 27.0.1.1.4; Ubuntu openjdk-27 27.0.1.1+4 |
Red Hat Enterprise Linux 8 and 10 packages followed on 19 November (RHSA-2026:100563, 100567, 100568 and 100572). Oracle's own fixed builds are in its November advisory, which also carries ten other Java SE fixes, among them two TLS flaws and a JGSS flaw rated 7.4.
If patching must wait
Two mitigations come from Calif and Apache Shiro, and both are flags given to the Java virtual machine at start, for example through JAVA_TOOL_OPTIONS:
-XX:-UseBASE64Intrinsicsturns off the hardware-accelerated Base64 routine, so Java's ordinary code does the decoding;-XX:UseAVX=2turns off AVX-512 altogether.
Both apply only on x86-64. Calif warns that OpenJDK on does not recognize the flag and will fail to start, so a fleet-wide setting can turn a mitigation into an outage. Shiro adds the step people forget: set the option on the virtual machine that actually runs the application, and restart it.
CISA's alert adds the defensive steps around the patch: find every Java runtime, including those inside third-party applications, appliances and containers; patch internet-facing systems first; if a patch must wait, validate and limit Base64 input at the application's edge and restrict unauthenticated access; and watch for unexpected JVM crashes and unknown Java processes.
Who moved fast
The distributors did. Those whose documents carry a date had fixed releases within about a day: Temurin's binaries are dated 18 November, between 20:39 and 21:08 UTC; Red Hat's builds of OpenJDK are dated the same day and its Enterprise Linux packages the next; Ubuntu published on 18 November across its supported releases. Projects downstream explained their own exposure quickly: Apache Shiro on 18 November, because its remember-me cookie is decoded through java.util.Base64, and Azure Functions on the same day, to say its default configuration is not reached.
Who is still exposed
Red Hat's record, read on 23 November, still lists as affected the container images of its build of Keycloak, AMQ Broker 7, OpenShift Pipelines and the Jenkins images of OpenShift's developer tools: products that carry their own Java and need a rebuilt image, not only a host update. Update, 24 November 2026: the record now also lists as affected container images of JBoss Enterprise Application Platform 7 and 8, streams for Apache Kafka 3 and Trusted Profile Analyzer, and the portable Java 25 package of Red Hat Hardened Images (read 2026-11-24, 11:07). That pattern is the general one. The exposure that lasts is the bundled runtime: the Java inside a 's appliance, a commercial application's installer or an old container image, which the host's never touches. Update, 24 November 2026: Siemens's first advisories show the pattern. SSA-810379 (V1.1, 23 November) lists Desigo CC Advanced Reporting V8 and V9, Siveillance Control and Siveillance Control Pro, and SSA-272816 (V1.1, 23 November) lists Industrial Edge Management Pro V1 and V2 and Industrial Edge Management Virtual, all versions affected, each with "Currently no fix is available". Until Java can be updated, Siemens advises adding -XX:-UseBASE64Intrinsics to the JVM startup arguments of the Desigo CC and Siveillance clients, and blocking direct internet access to Industrial Edge Management (read 2026-11-24, 11:09).
What is likely next (assessment)
This section is assessment, not a statement of any party.
- Exploitation. A trigger of 65 characters, a public write-up and a list of default-configuration targets make attempts likely; the KEV catalogue and the CVE record are the first-party places where confirmed exploitation will show.
- Appliances. Vendors that ship Java inside their products will publish their own advisories over the coming weeks, as they did for PHP2Shell in October.
- The flags. configuration guides and container defaults to adopt
-XX:-UseBASE64Intrinsicsas a stopgap, and some outages on ARM where it is applied blindly.
Lessons
- Memory safety ends where the hand-written code begins. Java is memory-safe for the code written in it; the virtual machine underneath is C, C++ and, here, assembly, and a speed optimization few applications needed carried the flaw to all of them.
- A crash is a report. The bug was hit in public in June and fixed quietly in October; it became a vulnerability on the record only in November.
- Inventory is the work. The fix existed within a day. Finding every runtime that needs it, including the ones nobody installed on purpose, is what takes weeks.
- Mitigations have side effects. A flag that protects x86-64 hosts stops ARM hosts from starting; test it where it will run.
CVE Watch follows this vulnerability, with its scores, exploitation status and fixed versions read from the sources, each with the time it was read: CVE-2026-114938.
Sources
- CISA, Critical Java Vulnerability Requires Immediate Patching (alert, 17 November 2026) (read 2026-11-17, 22:12, in a browser)
- Oracle, Critical Security Patch Update Advisory, November 2026 (Rev 1, 17 November 2026) (read 2026-11-17, 22:14)
- Oracle, Critical Security Patch Update Advisory, November 2026, text form of the risk matrices (read 2026-11-23, 03:45)
- OpenJDK Vulnerability Advisory, 2026/11/17 (read 2026-11-23, 03:45)
- CVE Program, CVE-2026-114938 record, with CISA's ADP assessment (published 17 November 2026, updated 19 November 2026) (read 2026-11-23, 03:45)
- NVD, CVE-2026-114938 (Analyzed, modified 20 November 2026) (read 2026-11-23, 03:45)
- CISA, Known Exploited Vulnerabilities catalog, version 2026.11.20 (read 2026-11-23, 06:32)
- Calif, Java4Shell: CVE-2026-114938 (17 November 2026) (read 2026-11-23, 03:46)
- oss-security, Jan Schaumann, CVE-2026-114938: OpenJDK pre-auth RCE via memory-corruption in Base64 decoder (17 November 2026) (read 2026-11-23, 03:46)
- oss-security, Solar Designer, the fix commit (19 November 2026) (read 2026-11-23, 03:46)
- OpenJDK, commit 5177a70b, "8393212: Base64 optimization improvements" (13 October 2026) (read 2026-11-23, 06:32)
- Red Hat, CVE-2026-114938, security data (read 2026-11-23, 06:32; read again through Red Hat's security data API 2026-11-24, 11:07)
- Siemens ProductCERT SSA-810379, Java4Shell Vulnerability in Siemens Products (published 19 November, V1.1 of 23 November 2026): Desigo CC Advanced Reporting V8 and V9, Siveillance Control and Siveillance Control Pro affected, no fix available (read 2026-11-24, 11:09)
- Siemens ProductCERT SSA-272816, Java4Shell Vulnerability in Industrial Edge (published 18 November, V1.1 of 23 November 2026): Industrial Edge Management Pro V1 and V2 and Industrial Edge Management Virtual affected, no fix available (read 2026-11-24, 11:09)
- Ubuntu, CVE-2026-114938 (published 18 November 2026, updated 20 November 2026) (read 2026-11-23, 03:46)
- Eclipse Adoptium, latest Temurin 17, 21 and 25 releases (API) (read 2026-11-23, 06:32)
- Microsoft, Release notes for the Microsoft Build of OpenJDK (read 2026-11-23, 06:32)
- Azul, Zulu package metadata, Java 21 (read 2026-11-23, 06:32)
- Amazon Corretto 27, change log of 27.0.1.1.4 (read 2026-11-23, 03:46)
- Apache Shiro, Java4Shell (CVE-2026-114938): what Shiro users should know (18 November 2026) (read 2026-11-23, 03:46)
- Azure Functions Java worker, issue 909: Java4Shell (CVE-2026-114938) and Azure Functions for Java (18 November 2026) (read 2026-11-23, 03:46)