A flaw in Java's hardware-accelerated Base64 decoder puts many enterprise applications at risk on modern x86-64 servers. CSN
The Canadian Centre for Cyber Security is urging organisations to find and update vulnerable Java runtimes. The warning concerns a critical flaw that can give remote attackers control of widely used enterprise software without a password.
The Cyber Centre issued alert AL26-029 on November 17, 2026. It said it was aware of a critical vulnerability affecting Java runtimes. It was not aware of active exploitation at the time, but warned that this could change quickly. The flaw is tracked as CVE-2026-114938. The researchers who reported it named it "Java4Shell," which deliberately recalls Log4Shell, the 2021 Log4j bug that kept Canadian IT teams busy for months. The two vulnerabilities are not related.
The U.S. Cybersecurity and Infrastructure Security Agency (CISA) issued its own alert the same day. CISA credits the Canadian Centre for Cyber Security as a contributor to that alert.
What the flaw does
The Cyber Centre classifies the bug as a heap-based buffer overflow (CWE-122) in Java's standard Base64 library. An attacker needs no login and can trigger it remotely by sending specially crafted Base64 data to a Java process. The possible results include memory corruption, leaked sensitive information, crashed processes, or arbitrary code execution in the affected application.
The flaw is in an optimised code path, not in the Base64 logic most developers ever see. It is a heap out-of-bounds write in the Base64 intrinsic that HotSpot's C2 JIT compiler uses on x86-64. In other words, the bug is in the fast route Java takes when the processor supports it. That is why exposure depends on the hardware as well as the software version.
Security firm Calif, which reported the bug to Oracle, also describes an information-leak primitive it calls "JavaBleed." The researchers say it can leak Java heap contents before any code runs, potentially exposing personal information, private keys, tokens and other secrets. Organisations should keep that in mind when deciding whether a vulnerable, internet-facing service needs a closer look and not only a patch.
Who is exposed
All three of the following must be true for a system to be vulnerable:
- A vulnerable Java version. This means OpenJDK 17.0.6 or later, 21, 25 or 27, from any vendor. Java 11 and standard Java 8 are not affected. The Cyber Centre's table also lists Oracle Java SE 8 build 8u511b33-perf. That build ships only with Oracle's Enterprise Performance Pack.
- Supported hardware. The processor must be x86-64 with AVX-512 VBMI support. That covers Intel Xeon Ice Lake, Sapphire Rapids, Emerald Rapids and Granite Rapids, and AMD EPYC and Ryzen from Zen 4 onward. ARM64 is not affected. Much of the server hardware bought in the last few years, including many cloud instance types, qualifies.
- An application that decodes attacker-controlled Base64. Many applications do, often in authentication and token-handling code.
The list of applications already shown to be exploitable explains why this alert matters. Calif demonstrated code execution without a login against default configurations of Keycloak, Atlassian Jira, Atlassian Confluence, JFrog Artifactory, Jenkins and PingFederate. It also showed code execution after login in Kafka, Solr, Elasticsearch, Gerrit and Spinnaker. Calif says a client-side attack is possible too: a Java program that opens a TLS connection to a malicious server can be compromised.
These are everyday tools in Canadian software teams, government IT shops and managed service providers. Many Jira, Confluence and Keycloak instances face the internet so that remote staff and partners can reach them.
How serious is it?
The severity scores vary. Calif rates the flaw 9.2 (critical) under CVSS 4.0. Oracle rates it 8.1 (high) under CVSS 3.1, citing high attack complexity and no authentication requirement. Red Hat goes higher: it scores the flaw 9.8 under CVSS 3.0 and rates it Critical.
Oracle's lower score reflects a real hurdle. Calif itself says the attack is "not a universal point-and-shoot," and each target needs a custom profile. That gives defenders some time, but probably not much. Calif says it used AI agents to find and weaponize the bug. Discovery took about an hour, the first working exploit about two more hours, and the token costs were under $200. If one research team could build a working exploit that quickly, attackers can likely build their own exploit chains quickly too.
The flaw also was not entirely secret before last week. In June, a user ran into the bug in normal use and filed an issue with Adoptium. In September, a proof of concept reproduced the crash, and a fix was proposed in an OpenJDK pull request that was closed without being merged. Calif independently found the bug on October 24 and reported it to Oracle.
The patching picture
Oracle released patches on November 17 in its November Critical Security Patch Update, which addresses 655 vulnerabilities across its product portfolio. According to the Cyber Centre, the fixed Oracle Java SE builds are 17.0.21.1, 21.0.13.1, 25.0.5.1 and 27.0.1.1, plus 8u513-perf for the Performance Pack.
Other Java vendors were slower. Eclipse Temurin, Red Hat's portable builds and Ubuntu shipped fixes on November 18, followed by RHEL 8, 9 and 10 on November 19. Microsoft and Debian 12 and 13 also have fixed builds. As of November 22, Red Hat, Eclipse Temurin, Microsoft and BellSoft Liberica had all shipped fixed builds.
The gap that remains is in products that ship their own copy of Java. Red Hat products that bundle Java, including the Red Hat build of Keycloak and JBoss EAP images, were still listed as affected on November 20.
Containers and appliances are the hard part
The Cyber Centre's guidance goes beyond the operating system. It tells organizations to inventory every Java environment, including the vendor and full build version, and to update affected installations immediately to a fixed, supported release. It also asks them to prioritize internet-facing systems, and to identify third-party products, appliances and containers that bundle vulnerable Java components.
This is where many organizations will struggle. Patching the host operating system does not update a JDK bundled in a container image or a vendor appliance. CPU checks should be run inside the VM or container, because hypervisors can hide processor features from guests. Container images must be rebuilt and redeployed. Every Java process also needs a restart after the update, because a running JVM keeps the old code in memory.
If you can't patch yet
For systems that cannot be patched right away, the Cyber Centre recommends isolating internet-facing applications from public networks until a fix is applied. It also suggests disabling the JVM's use of AVX-512 with the flag -XX:UseAVX=2.
Researchers point to a narrower option as well. The flag -XX:-UseBASE64Intrinsics turns off only the hardware-accelerated Base64 path. The -XX:UseAVX=2 flag should be used only on x86-64 hosts, because OpenJDK on ARM fails to start with it. Both flags are temporary measures and may slow down services that do a lot of Base64 work. Patching is the only complete fix.
What it means for Canadian organizations
For most organisations, this is mainly an inventory problem. Java runs inside ticketing systems, identity providers, build servers, search clusters and vendor appliances, often in places the security team doesn't track. The Cyber Centre recommends continuously monitoring third-party vendors for security updates and applying their patches without delay. In practice, that means contacting appliance and software suppliers now rather than waiting for their next scheduled release.
The heap-leak risk also has privacy implications. If a vulnerable, internet-facing service handled personal information and shows signs of compromise, organisations may need to assess whether the incident meets PIPEDA's test of a "real risk of significant harm." In Quebec, they would also need to apply the confidentiality-incident rules in Law 25. Telecom, finance, energy and transportation operators should also watch how incident-reporting duties under the Critical Cyber Systems Protection Act, now being phased in, apply to cases like this.
The Cyber Centre asks organisations to report suspicious activity through My Cyber Portal or by email to [email protected].
What to watch
As of November 22, the flaw was not in CISA's Known Exploited Vulnerabilities catalogue. Calif has published a self-contained trigger that confirms whether a runtime and processor combination is vulnerable. It is holding back its application-specific exploit chains to give users time to upgrade, but says it will publish them later. Once those chains are public, organisations that have not patched will be at much greater risk.
The vulnerability in this story
-
Vulnerability in the Oracle Java SE, Oracle GraalVM for JDK, Oracle GraalVM Enterprise Edition product of Oracle Java SE (component…
Published Nov 17, 2026
Scores and dates: NVD (not endorsed by the NVD). Each ID opens its record on cve.org.
