Brief · Both
Java4Shell: a Base64 bug in OpenJDK gives attackers a path to RCE on newer x86 servers
Update, Nov 21, 2026: More fixed builds are out. Eclipse Temurin's are 17.0.21.1+2, 21.0.13.1+2, 25.0.5.1+2 and 27.0.1.1+4, published Nov 18, and Adoptium says Temurin 8 and 11 aren't affected. Red Hat shipped fixed OpenJDK 17, 21 and 25 builds on Nov 18 and updated packages for RHEL 8, 9 and 10 on Nov 19, per its CVE page. That same page still lists several Red Hat products that ship their own Java as affected, including the JBoss EAP 7 and 8 OpenJDK images, the Red Hat build of Keycloak image, AMQ Broker and Streams for Apache Kafka, so patching the OS package won't fix those containers. N-able also bundles Java with on-premises N-central, and its Hotfix 4 updates it for this bug. As of Nov 21, CVE-2026-114938 still isn't in CISA's KEV catalog.
On Nov 17, Calif disclosed Java4Shell, CVE-2026-114938, a memory-corruption bug in the Base64 decoder of OpenJDK's HotSpot JVM. OpenJDK published an advisory the same day, Oracle shipped fixed builds in its November Critical Security Patch Update, and CISA put out an alert telling organizations to patch immediately. Calif says a remote attacker with no credentials can overwrite heap memory, read it back "in the style of Heartbleed," and get to remote code execution. It says its initial testing got pre-auth RCE in default configurations of Keycloak, Jira, Confluence, JFrog Artifactory, Jenkins and PingFederate.
That's a list of things businesses put on the internet on purpose, so this one is worth your evening. It's also narrower than "all of Java." The bug only fires on x86-64 CPUs with AVX-512 VBMI, ARM64 isn't affected, and OpenJDK's and Oracle's risk matrices don't list standard Java 8 or 11 for this CVE. (The 11.0.33 and 8u512 at the top of OpenJDK's advisory cover the release's other bugs.) Oracle does list its Java 8 Performance Pack, which carries code from JDK 17.
What's going on
To decode Base64 faster, HotSpot uses hand-written AVX-512 code on CPUs that support it. Calif says that code mishandles a stray = at the end of the input, calculates a negative output length, and ends up writing a full 64 bytes, 62 of them past the end of the result array. Java rejects the input afterward, but by then the neighboring objects may already be corrupted. The trigger is as dull as 64 A characters followed by = (128 on OpenJDK 17). Base64 shows up in authentication, file uploads and network messages, so Calif's point is that ordinary features can feed attacker input to the decoder. It also says a client-side exploit, shared with it by the researcher samczsun, can compromise a Java program that simply opens a TLS connection to a malicious server, even if that program exposes no service of its own.
The scores depend on who's counting. Calif rates it 9.2 under CVSS 4.0. OpenJDK and Oracle both give it 8.1 under CVSS 3.1, with high attack complexity. Calif itself says there's no universal exploit: each application needs its own steps, and its write-up describes heap grooming that's sensitive to network jitter and retries that discard misses. Datadog's Security Labs says denial of service is the more readily achievable impact, since the stray write can crash the JVM, and that in the OpenJDK 17.0.6 build it tested, the basic and URL decoders (Base64.getDecoder() and Base64.getUrlDecoder()) use the vulnerable path while the MIME decoder (Base64.getMimeDecoder()) bypasses it. Calif is holding back the product-specific exploit chains until people have had time to upgrade.
The AI angle is here too. Calif's Quang Luong writes that he pointed Codex at HotSpot's JIT compiler, intrinsics and crypto code, waded through mostly useless results, and got the Base64 finding. Calif says discovery took him about an hour, the first working exploit two more hours, and the total token cost was under $200. When PHP2Shell, which Calif helped find, went public last month, attackers were spraying attempts on disclosure day, and the bugs landed in CISA's KEV catalog five days later, as we covered, so I wouldn't count on a long quiet period.
When Calif disclosed it on Nov 17, CVE-2026-114938 wasn't in CISA's Known Exploited Vulnerabilities catalog, and none of the advisories reported exploitation in the wild; CyberScoop said the same when it published that evening. A KEV listing would mean CISA has evidence of active exploitation, so check the catalog before you push this down your list.
Update, Nov 18, 2026: GreyNoise says it's monitoring scanning and exploitation attempts against CVE-2026-114938. It hasn't said any attempt succeeded, and the bug wasn't in KEV as of Nov 18.
Who's affected
- Runtimes: OpenJDK 17.0.6 and later, plus 21, 25 and 27, per Calif and OpenJDK's risk matrix. OpenJDK's matrix doesn't mark 8 or 11. Calif lists the OpenJDK builds that carry the same code: Amazon Corretto, Eclipse Temurin, Microsoft Build of OpenJDK, Azul Zulu, BellSoft Liberica, SAP SapMachine, Red Hat OpenJDK, Oracle OpenJDK, Oracle Java SE and Oracle GraalVM for JDK.
- Oracle's numbers: Oracle lists Java SE 17.0.21.0.3, 21.0.13.0.3, 25.0.5.0.3 and 27.0.1.0.3 as affected, along with GraalVM for JDK 17.0.21.0.3 and 21.0.13.0.3, GraalVM Enterprise Edition 21.3.20.0.3, and its Java 8 Performance Pack build, 8u511b33-perf. Oracle's fixed builds, released Nov 17, are Java SE 17.0.21.1, 21.0.13.1, 25.0.5.1 and 27.0.1.1, Java 8 Performance Pack 8u513-perf, GraalVM for JDK 17.0.21.1 and 21.0.13.1, and GraalVM Enterprise Edition 21.3.20.1. Oracle's release notes for GraalVM for JDK 17.0.21.1 and the Java 17-based GraalVM Enterprise Edition 21.3.20.1 say they're built on Oracle JDK 17.0.20.1, an older release than Java SE 17.0.21.1, so confirm those two with Oracle support before you rely on them.
- Other vendors (as of Nov 21): Amazon Corretto's fixed builds are 17.0.21.1.2, 21.0.13.1.2, 25.0.5.1.2 and 27.0.1.1.4. Eclipse Temurin's are 17.0.21.1+2, 21.0.13.1+2, 25.0.5.1+2 and 27.0.1.1+4. Red Hat's fixed OpenJDK builds and RHEL packages are out, but some Red Hat products that ship their own Java, such as the JBoss EAP images, are still listed as affected. For everything else, watch your vendor's release page.
- Hardware: an x86-64 CPU with AVX-512 VBMI. Calif names Intel Xeon Ice Lake, Sapphire Rapids, Emerald Rapids and Granite Rapids, and AMD EPYC and Ryzen on Zen 4 or newer.
What to do:
-
Find every Java runtime you run, including the ones vendors bundled.
- Why: CISA warns that JDKs and Java runtimes "may not appear as separate entries in software inventories," and it calls out runtimes bundled with third-party applications, container images and appliances.
- How: Check servers, container images and appliances, not just packages. Run
java -versionwith the runtime each service actually starts, which may not be the one on your shell's path, and look for 17.0.6 or later, 21, 25 or 27. For appliances and commercial products, ask the vendor which runtime they ship and when they'll update it.
-
Check which hosts have the vulnerable CPU feature.
- Why: The bug only runs on x86-64 CPUs with AVX-512 VBMI, so the same image can be exposed on one host and not on another.
- How: On Linux, Calif's check is
grep -m1 '^flags' /proc/cpuinfo | tr ' ' '\n' | grep -E '^(avx512f|avx512bw|avx512vbmi|bmi2)$', and the output must include all four flags. Run it on the hosts, since containers report the host's CPU. Use this to order your patching, not to skip it, because a workload can land on different hardware the next time it's scheduled.
-
Patch internet-facing Java first, then everything else.
- Why: Calif's pre-auth list is identity, CI/CD and collaboration software, and CISA says to prioritize internet-facing systems.
- How: Move Oracle Java SE to 17.0.21.1, 21.0.13.1, 25.0.5.1 or 27.0.1.1, the Java 8 Performance Pack to 8u513-perf, GraalVM for JDK to 17.0.21.1 or 21.0.13.1 and GraalVM Enterprise Edition to 21.3.20.1 (confirming the Java 17-based GraalVM builds with Oracle), and take fixed builds from your vendor for Temurin, Corretto, Zulu and the rest. Restart the services afterward, rebuild and redeploy container images, and update Java programs that make outbound TLS connections, not just servers.
-
If you can't patch today, turn off the Base64 intrinsics.
- Why: Calif says starting OpenJDK with
-XX:-UseBASE64Intrinsicsmitigates Java4Shell by disabling hardware-accelerated Base64 encoding and decoding. - How: Add the flag to each service's JVM startup options and restart it, then confirm the running process picked it up. Expect slower Base64, since that's the feature you're switching off. Calif's other option,
-XX:UseAVX=2, disables AVX-512 entirely, and Calif warns it's for x86-64 hosts only, because OpenJDK on ARM doesn't recognize it and will fail to start. CISA also suggests restricting and validating Base64 input at the application boundary, enforcing input-size limits and limiting unauthenticated access until you can patch.
- Why: Calif says starting OpenJDK with
-
Watch for crashing JVMs.
- Why: Calif's exploit relies on corrupting the heap and retrying on misses, and CISA lists unexpected JVM crashes, rogue runtimes and suspicious Java processes as signs to monitor.
- How: Alert on unexplained JVM crash logs (the
hs_err_pidfiles) and restart loops on internet-facing Java services, and look for Java processes spawning shells they normally don't. If an exposed service was crashing before you patched, look at it more closely.
Want the next one?
One email, weekly-ish. The week's briefs, how worried to be, and what to do about it. No doom.
Subscribe on Beehiiv ↗Free. Opens Beehiiv in a new tab. Unsubscribe whenever, I won't be offended.Sources
- Calif: Java4Shell: Write once, RCE everywhere (Nov 17, 2026)
- OpenJDK Vulnerability Advisory: 2026/11/17
- Oracle: Critical Security Patch Update Advisory, November 2026
- Oracle: JDK 21.0.13.1 release notes, with the Nov 17 security baselines
- CISA: Critical Java Vulnerability Requires Immediate Patching (Nov 17, 2026)
- CISA: Known Exploited Vulnerabilities Catalog
- CyberScoop: A vulnpocalypse bug worthy of attention: Researchers disclose critical flaw in Java with help of AI (Nov 17, 2026)
- Datadog Security Labs: Java4Shell: Remote Code Execution in OpenJDK (CVE-2026-114938) (Nov 17, 2026)
- Oracle: JDK 8u513 Enterprise Performance Pack release notes
- Oracle: GraalVM for JDK 21 release notes
- Oracle: GraalVM release calendar
- Oracle: GraalVM for JDK 17 release notes
- Oracle: GraalVM Enterprise Edition 21 release notes
- Amazon Corretto 17 changelog
- Eclipse Temurin releases
- Adoptium: Eclipse Temurin guidance for CVE-2026-114938 "java4shell" (Nov 18, 2026)
- Red Hat: CVE-2026-114938
- Red Hat: RHSB-2026-018 Java4Shell