Skip to content

QryptoCon 2026 · Dec 9–10 · Expert sessions on PQC, PKI, & Certificate Management

Save Your Seat →

Java4Shell (CVE-2026-114938): Is Your EJBCA Server Affected?

Java4Shell CVE-2026-114938 and EJBCA certificate authority security

Introduction

A researcher at Calif, a security research firm, reportedly discovered a high-severity memory-corruption vulnerability in OpenJDK, the most widely used Java runtime, in approximately one hour, using an AI coding assistant and less than $200 in AI token costs. The discovery highlights how AI is significantly reducing the time and cost required to identify high-impact vulnerabilities in widely used enterprise software.

Calif disclosed the vulnerability on November 17, 2026, and named it Java4Shell (CVE-2026-114938). It has a CVSS score of 8.1 (High). The vulnerability is in the Java runtime’s hardware-accelerated Base64 decoder. When an unpatched Java server decodes specially crafted Base64 input, the decoder miscalculates how much data it still has to write and writes past the end of its output buffer, into memory that belongs to other objects. An input as short as 64 ‘A’ characters followed by a single ‘=’ padding character is enough to trigger it. Because Java underpins a large share of enterprise software, the vulnerability has a broad impact that extends to Public Key Infrastructure (PKI) systems.

Because EJBCA runs on Java, PKI teams need to determine whether their EJBCA deployments are affected by Java4Shell. Java4Shell is not a vulnerability in EJBCA’s own code. It is a vulnerability in the Java runtime environment, which EJBCA and many other enterprise applications run on. As of November 20, 2026, no official EJBCA advisory had been published, and EJBCA was not among the products tested by the researchers.

However, this does not mean EJBCA deployments are unaffected. A Certificate Authority (CA) is one of the most valuable systems an organization owns, and current EJBCA versions run on the Java versions that Java4Shell affects. This blog explains how the vulnerability works, analyzes its impact on EJBCA deployments, and provides steps to assess exposure and remediate affected servers.

Quick Answer: What Is Java4Shell and Does It Affect EJBCA?

Java4Shell (CVE-2026-114938, CVSS 8.1 High) is a heap buffer overflow in the Java runtime’s hardware-accelerated Base64 decoder, disclosed on November 17, 2026. It is a flaw in the Java (OpenJDK) runtime. An attacker who can send crafted Base64 input to an affected service, without requiring authentication, may corrupt memory, leak heap contents, or, in some cases, achieve remote code execution.

A server is exposed only when all three of the following conditions are true:

  • Java version: it runs Java 17.0.6 or later without the November 2026 patch.
  • Processor: it runs on an x86-64 processor with AVX-512 VBMI.
  • Code path: an application passes attacker-controlled Base64 to the built-in decoder.

EJBCA 9 runs on Java 17 or 21, so an unpatched EJBCA host on a modern Intel or AMD server already meets the first two conditions. The remediation is to patch the Java runtime used by EJBCA. If immediate patching is not possible, start the JVM with -XX:-UseBASE64Intrinsics.

Key Takeaways

  • Java4Shell (CVE-2026-114938) is a memory-corruption vulnerability in the Java runtime’s hardware-accelerated Base64 decoder. It is not a vulnerability in EJBCA’s own code.
  • A server is at risk only when three conditions are met: it runs Java 17.0.6 or later without the November 2026 fix, it runs on an x86-64 processor with AVX-512 VBMI, and attacker-supplied Base64 reaches Java’s built-in decoder.
  • EJBCA 9 runs on Java 17 or 21, so an unpatched EJBCA 9 server on a modern Intel Xeon or AMD EPYC processor meets the first two conditions.
  • The remediation is a patched Java runtime: 17.0.21.1, 21.0.13.1, 25.0.5.1 or 27.0.1.1, or your vendor’s equivalent build. Container images must be rebuilt or re-pulled, because each image includes its own Java runtime.
  • If immediate patching is not possible, the JVM option -XX:-UseBASE64Intrinsics disables the vulnerable code path as an interim mitigation.

Who Should Care About Java4Shell

Java4Shell is a runtime-level vulnerability, so the response requires coordinated action from multiple teams. Many enterprise systems run on the affected Java versions, and Java-based CAs, such as EJBCA, are among the most sensitive of them. Each team below owns a distinct part of the response.

RoleWhy It MattersAction Item
PKI and CA teamsCertificate Authorities (CAs) that run on affected Java runtimes, such as EJBCA, should be prioritized for assessment and remediation. A compromised CA process could expose sensitive cryptographic material or enable unauthorized certificate issuance, making these systems critical from a security and trust perspective.Identify the Java version running on each CA and whether its processor supports AVX-512 VBMI. Upgrade to a patched Java build, or apply -XX:-UseBASE64Intrinsics as an interim mitigation, and confirm that CA private keys are protected by a hardware security module (HSM).
Security architectsThe vulnerable Java runtime may be present across identity providers, CI/CD platforms, logging systems, and collaboration tools. Exposure must therefore be assessed across the entire IT estate, not only the CA infrastructure.Assess all Java-based systems against the three vulnerability conditions: Java version, processor support for AVX-512 VBMI, and whether untrusted input reaches the affected decoder. Prioritize internet-facing PKI and identity management systems for remediation.
Platform and DevOps teamsContainerized applications and applications with bundled Java runtimes may maintain their own Java versions independently of the host operating system. As a result, even a fully patched host may continue to run vulnerable Java instances within containers or application-specific environments.Rebuild or re-pull Java container images on fixed base images, confirm the Java version inside each image, and apply the mitigation flag in deployment configurations where patching is delayed.
Compliance teamsA CA compromise can have significant implications for an organization’s compliance and audit posture under frameworks such as PCI DSS, HIPAA and SOC 2, and incident response activities must be documented as evidence.Document which CA and signing systems were affected, when they were patched, and which interim mitigations were applied, to maintain a complete audit trail.
CISOsAn unpatched CA reachable from an untrusted network is a board-level risk, because a CA compromise affects every system that relies on the CA’s trust chain.Fund accelerated remediation for internet-facing CAs and identity systems, and treat a complete inventory of Java runtimes and cryptographic assets as the long-term control.

Understanding HotSpot Intrinsics

Base64 encoding is used extensively across PKI. Common examples include PEM-encoded certificates and certificate signing requests (CSRs), HTTP Basic credentials, EST and SCEP payloads, OCSP GET requests, and JSON Web Tokens (JWTs). Base64 decoding often occurs early in the request-processing pipeline, potentially before authentication and authorization checks. This makes vulnerabilities in Base64 decoders particularly dangerous, as the affected code may process untrusted input before security controls are enforced.

The vulnerability is in a specific Just-In-Time (JIT) compiler optimization called an intrinsic. Java programs run inside the Java Virtual Machine (JVM), and the most widely used JVM, HotSpot, monitors which code runs most often. When a method is executed frequently, HotSpot’s JIT compiler compiles it into fast native code. For a few very common operations, including Base64 decoding, HotSpot goes further and replaces the Java decoding loop with a block of hand-written assembly tuned for a specific processor. That hand-written replacement is called an intrinsic.

Intrinsics improve performance, but they bypass Java’s built-in memory safety. Standard Java code performs bounds checks on every array access and cannot write past the end of a buffer. Hand-written assembly does not perform these checks, so an incorrect calculation can overwrite memory that belongs to another object. Java4Shell results from exactly this type of error: an incorrect length calculation in the x86-64 Base64 decode intrinsic.

Technical Overview of the Java4Shell Vulnerability

Java4Shell is a heap buffer overflow. A buffer is a fixed block of memory that a program reserves to hold data, and the heap is the region of memory where Java stores its objects. An overflow occurs when a program writes more data into a buffer than it can hold, so the excess data overwrites adjacent memory that belongs to other objects and corrupts it. In Java4Shell, the hardware-accelerated Base64 decoder writes past the end of its output buffer and corrupts the object stored next to it.

The following two concepts explain how the overflow occurs.

Fact 1: Base64 turns every 4 characters into 3 bytes. For example, TWFu is 4 characters and decodes to the 3 bytes of the word Man. When the input length is not a multiple of three bytes, the encoder adds = signs as padding, and each = indicates one fewer byte. For example, SGk= is also 4 characters, but it decodes to only 2 bytes, the word Hi. Java uses this rule to calculate how much memory to allocate before decoding begins.

Fact 2: the hardware-accelerated decoder writes 64 bytes at a time and uses a “write mask” to determine which of them are written. A write mask is a set of 64 on/off switches: a switch that is on means “write this byte,” and a switch that is off means “skip it.” For the final, partially filled chunk, the decoder should enable only the bytes that contain valid output, so that it never writes beyond the expected output length.

The following steps show how the decoder miscalculates the output length for a crafted input:

  1. An attacker sends a string of 64 ‘A’ characters followed by a single ‘=’ padding character. That is 65 characters in total.
  2. Java first calculates the expected size of the decoded output. It rounds the 65 characters up to 17 groups of four, which is 51 bytes, and then subtracts 1 byte for the padding. This results in a 50-byte output buffer.
  3. The hardware-accelerated decoder first processes the 64 ‘A’ characters, which decode correctly into 48 bytes and fill positions 0 to 47 of the buffer. Only the final ‘=’ padding character remains, so the decoder moves to its final, partially filled chunk and calculates how many bytes it still has to write in order to build the write mask.
  4. The error occurs when the decoder processes the padding character. A single remaining character cannot produce even one byte, so the number of bytes left to write is 0. The code then subtracts 1 byte for the padding regardless, and 0 minus 1 results in -1.
  5. That -1 is then used to build the write mask. Computers store -1 in two’s complement form, in which every bit is set to 1. When the mask-building instruction reads that same value as an unsigned number, it becomes the largest possible value. As a result, the instruction leaves every switch on. Instead of an empty mask that writes nothing, the decoder produces a full mask that writes all 64 bytes.
  6. The first 64 characters already decoded into 48 bytes, so the final write starts at byte 48 of the 50-byte buffer and writes 64 bytes, ending at byte 112. The additional 62 bytes are written outside the buffer, into memory that belongs to other objects.

Java eventually detects the invalid input and throws an exception. However, the out-of-bounds write has already occurred by that point, and the exception cannot reverse it.

From Memory Corruption to Exploitation

Although writing a limited number of fixed bytes into memory may appear to have minimal impact, researchers at Calif, the security research firm that discovered the vulnerability, demonstrated how this memory corruption can lead to more severe security consequences. Understanding the exploitation mechanism is essential for assessing both the vulnerability’s potential impact and the conditions required for successful exploitation.

The first step is to control the memory layout adjacent to the buffer. An attacker uses a technique called “heap grooming,” where they send a large number of requests so that an object they can corrupt is allocated directly after the Base64 output buffer. When the overflow then overwrites the stored length of an adjacent array, that array accepts far more data than it should.

This corruption gives the attacker two capabilities. If the attacker can cause another array to return its contents in a response, they can read memory that was never meant to leave the server. Calif compares this to Heartbleed, the 2014 OpenSSL vulnerability (CVE-2014-0160), and refers to it as “JavaBleed.” This leaked memory can contain personal data, private keys, secret keys and session tokens. With further effort, the same technique can be extended to full remote code execution (RCE), allowing the attacker to execute arbitrary commands on the server.

Why Java4Shell Is Difficult to Exploit in Practice

Reliable exploitation is significantly more difficult than the simple trigger suggests, for four reasons:

  • There is no universal exploit. Each target application requires a custom attack, tailored to how it uses Base64 and how it allocates memory.
  • The attack is sensitive to network timing. Even Calif had to deploy a second machine in the same data center as its target to keep network timing stable for the attack.
  • Horizon3, another research firm, reproduced code execution only under strictly controlled lab conditions and assessed real-world exploitation as extremely difficult.
  • A crash is the more likely outcome. In many cases a failed attempt crashes the JVM, resulting in a denial of service rather than a takeover.

A reliable takeover of a specific server is difficult, and no successful attacks in the wild have been confirmed. However, the vulnerability details and exploitation technique are public, and the overflow itself is easy to trigger. Causing a crash or a memory leak requires considerably less effort than achieving code execution. For a Certificate Authority, even a memory leak is a serious risk, as the following sections explain.

Who Is Affected: The Three Exploitation Conditions

A system is at risk from Java4Shell only when all three of the following conditions are met. If any one of them is absent, the vulnerable code cannot be reached.

  1. The Java version. The flaw is in Java 17.0.6 and later, which includes Java 21, 25 and 27. Standard Java 8 and Java 11 are not affected, because they do not include the hardware-accelerated decoder. One notable exception: Oracle’s Java 8 Performance Pack build, 8u511b33-perf, is affected.
  2. The processor. The vulnerable code runs only on x86-64 processors that support a feature called AVX-512 VBMI. In practice, this includes Intel Xeon processors from Ice Lake onward (Ice Lake, Sapphire Rapids, Emerald Rapids, Granite Rapids) and AMD EPYC and Ryzen processors from Zen 4 onward. ARM processors, such as Apple Silicon and AWS Graviton, are not affected.
  3. The code path. The application must actually pass attacker-controlled data into Java’s built-in Base64 decoder (java.util.Base64, the basic or URL variety). Code that uses the MIME decoder, or a different Base64 library such as Bouncy Castle or Apache Commons Codec, does not use the vulnerable code path.

The first two conditions tell you whether a server can run the vulnerable code. The third tells you whether an application on that server actually passes untrusted input to it. A patched Java version removes the risk in every case, which is why patching is the most reliable fix.

Which Java Distributions Are Affected

Because almost every Java distribution is built from OpenJDK, nearly all distributions inherit the vulnerability. The notable exception is IBM Semeru, which uses the Eclipse OpenJ9 virtual machine and does not include the vulnerable intrinsic.

DistributionAffected?
Oracle Java SEYes
Oracle OpenJDK and GraalVM for JDKYes
Eclipse Temurin (Adoptium)Yes
Amazon CorrettoYes
Microsoft Build of OpenJDKYes
Azul ZuluYes
BellSoft LibericaYes
SAP SapMachineYes
Red Hat build of OpenJDKYes
IBM Semeru (OpenJ9)No

Java4Shell Impact on EJBCA Deployments

EJBCA is written in Java and runs on a JVM, so it inherits any vulnerability in the underlying Java runtime. The three conditions map to an EJBCA deployment as follows.

The first condition is the Java version. The EJBCA installation prerequisites list OpenJDK 21 as recommended and OpenJDK 17 as supported, and Java 21 must be version 21.0.5 or later. Both lines are vulnerable until patched, so an unpatched EJBCA 9 server already meets this condition. An older EJBCA 8 installation on Java 11 is not exposed, because Java 11 does not contain the vulnerable code.

For the second condition, recent Intel Xeon (Ice Lake and later) and AMD EPYC (Zen 4 and later) servers support AVX-512 VBMI, so many EJBCA hosts also meet this condition.

The third condition, the code path, is where EJBCA’s exposure appears lower. We reviewed the public EJBCA Community source code (commit a46c89e, August 31, 2026) and found that most Base64 decoding goes through EJBCA’s own Base64 helper, which in turn calls the Bouncy Castle and Apache Commons Codec decoders, not Java’s built-in one. Only one place in EJBCA’s own code calls the vulnerable java.util.Base64 decoder, and it reads a Certificate Transparency log’s public key from configuration, which is an administrator setting rather than attacker input.

Limitations of This Analysis

Our review suggests that EJBCA’s own code is unlikely to pass attacker input to the vulnerable decoder. However, it cannot rule out exposure entirely, for three reasons:

  • It covers only the public Community edition, at commit a46c89e (August 31, 2026). EJBCA Enterprise is a separate, larger codebase that we cannot inspect.
  • EJBCA does not run alone. It runs on the WildFly application server and depends on REST, SOAP and token libraries. Any of these components could decode Base64 before EJBCA’s own code runs, for example when handling HTTP Basic authentication.
  • Calif warns that client-only Java applications can also be attacked. A Java program that merely opens a TLS connection to a malicious server is at risk, even if it exposes no service of its own. Because a CA also makes outbound connections, this attack vector cannot be ruled out.

The following table summarizes the exposure of common EJBCA deployment scenarios and the recommended action for each.

EJBCA DeploymentExposureRecommended Action
EJBCA 9 on an unpatched Java 17 or 21, on an x86-64 host with AVX-512 VBMIYes. The vulnerable Java code runs on this host. EJBCA’s own code is unlikely to pass attacker input to it, but the surrounding components have not been ruled out.Upgrade to a patched Java build immediately. If patching is not yet possible, apply -XX:-UseBASE64Intrinsics as an interim mitigation.
EJBCA 9 on Java 17 or 21, but on an ARM host or a processor without AVX-512 VBMINo. The vulnerable code does not run.No Java4Shell-specific action is required. Apply the Java update in the regular patch cycle.
EJBCA on Java 11 or older (for example EJBCA 8)No. Java 11 does not include the vulnerable decoder.No action is required for this vulnerability.
EJBCA running in a containerDepends on the Java runtime inside the image, not on the host.Run java -version inside the container, then rebuild or re-pull the image on a patched base image.
EJBCA on a patched Java build (17.0.21.1, 21.0.13.1 or later)No. The vulnerability is remediated.Restart EJBCA after the update and confirm the new Java version.

EJBCA contains no Java4Shell vulnerability of its own. However, an unpatched EJBCA 9 server on a modern x86-64 host runs the vulnerable Java code, which is sufficient reason to patch the underlying Java runtime.

Why Java4Shell Poses a Greater Risk to Certificate Authorities

A Certificate Authority is the root of trust for every system that relies on the certificates it issues. The EJBCA documentation states that protecting the CA private key is essential, because anyone who compromises that key can issue fraudulent certificates that every relying system will trust. The impact of a compromise on an EJBCA server is therefore considerably higher than on a typical Java application.

For a CA, the memory leak that Calif calls “JavaBleed” deserves particular attention. Even if an attacker never achieves code execution, a memory leak from a CA process is dangerous. The level of risk depends on how the CA stores its private keys.

  • With a software crypto token, the CA’s private keys reside in the Java process memory while the server is running. A memory leak could, in the worst case, expose key material directly.
  • With a hardware security module (HSM), the private key never leaves the HSM, so it cannot be read from Java memory. This is a strong reason to use an HSM. However, an attacker who achieves code execution could still use the HSM to sign data for as long as that access persists, so an HSM limits the impact without eliminating it.

This is a risk analysis, not a demonstrated attack against EJBCA. No working EJBCA exploit has been published. However, the consequences of a successful attack on a CA are severe enough that EJBCA operators should treat Java4Shell as a priority remediation rather than a routine patch.

EJBCA’s recommended deployment design adds a further layer of protection. The EJBCA documentation recommends placing a front-end server such as Apache or Nginx in front of EJBCA when it faces untrusted networks. Some of Calif’s techniques require request data to arrive in fragments, and Nginx buffers request bodies by default, which can interfere with those techniques. However, Calif states explicitly that request buffering is not a reliable defense on its own, because at least one of its attack chains works with a single complete request. A reverse proxy should be treated as a defense-in-depth layer, not as a substitute for patching.

How to Assess Your EJBCA Deployment

Work through the following three checks on each EJBCA server. Together they show whether a host meets the conditions for exposure. If you have already applied a mitigation flag, a fourth check confirms that it is active. Run the checks as a user with permission to inspect the running EJBCA process.

1. Check the Java Version

Identify the Java runtime that EJBCA uses, which may differ from the system default, and check its version. On an Ant-based installation, this is typically the runtime referenced by JAVA_HOME.

java -version

The Java runtime is in the affected range if it is version 17.0.6 or later and older than the fixed build for its line: 17.0.21.1, 21.0.13.1, 25.0.5.1 or 27.0.1.1 (or your vendor’s equivalent). Java versions below 17.0.6, including standard Java 8 and 11, are not affected.

2. Check the Processor

On Linux, check whether the processor supports the AVX-512 VBMI instruction set. This command prints the four processor flags the vulnerable decoder needs. AVX-512 VBMI is the key one, and any processor that has it also has the other three.

grep -m1 '^flags' /proc/cpuinfo | tr ' ' '\n' | grep -E '^(avx512f|avx512bw|avx512vbmi|bmi2)$'

If the output is empty, or is missing avx512vbmi, the processor does not meet the condition and the vulnerable code cannot run there.

3. Check Container Images

If EJBCA runs from its official container image, the relevant Java version is the one inside the container, not the one on the host. Updating the host operating system does not update the Java runtime inside a container. Check the version from inside the running container:

docker exec <container> java -version

4. Verify Mitigation Flags (If Applied)

If a mitigation flag has been applied (covered in the next section), confirm that it is active on the running process. Identify the EJBCA or WildFly process ID, then list the JVM flags:

jcmd <PID> VM.flags -all

Look for UseBASE64Intrinsics or UseAVX in the output to confirm that the setting is in effect.

How to Remediate and Mitigate Java4Shell

The definitive remediation is to upgrade Java to a patched build. All other measures are interim mitigations.

Patch the Java Runtime

Oracle and OpenJDK released fixes on November 17, 2026. The patched Oracle builds are 17.0.21.1, 21.0.13.1, 25.0.5.1 and 27.0.1.1. Other distributions provide their own builds that address the same CVE, often with different version numbers, so follow the advisory from your Java vendor (Temurin, Corretto, Zulu, Red Hat, Microsoft and so on). Red Hat released fixed OpenJDK packages for RHEL 8, 9 and 10 on November 19, 2026.

For a standard EJBCA installation, this involves updating the OpenJDK used by WildFly and then restarting the application server so that the new runtime takes effect.

Remediating Containerized Deployments

If EJBCA runs in a container, patching the host is not enough. Each container image includes its own Java runtime, so the image must be rebuilt or re-pulled on a patched base image. A common pitfall is a floating image tag, such as latest, which can still point to an older build. Pull the image again and verify the Java version inside it with the docker exec ... java -version check from the previous section.

Interim Mitigations If Patching Is Delayed

Two JVM options disable the vulnerable code path. Add one of them to EJBCA’s Java options (for a WildFly install, this is usually set in standalone.conf or JAVA_OPTS) and restart.

-XX:-UseBASE64Intrinsics

This is the more targeted option. It disables the hand-written Base64 intrinsic, so Java falls back to the standard, bounds-checked implementation. The performance impact is minimal for typical CA workloads. Remove the flag after patching.

-XX:UseAVX=2

This disables all AVX-512 instructions in the JVM. Apply it only on x86-64 hosts. A JVM on an ARM host does not recognize this option and will fail to start.

After applying either flag, use the jcmd <PID> VM.flags -all check to confirm it is active. Note that neither flag is an officially supported Oracle workaround. Both are community-tested interim mitigations and do not replace patching.

How Can Encryption Consulting Help?

Updating Java on one server is quick, but the rest of the response takes longer: finding every Java runtime across your CAs and signing systems, determining which hosts are exposed, verifying that the fix is in effect, and identifying anything that requires further investigation. This work requires PKI expertise, and Encryption Consulting’s PKI team can support each stage.

  • Java4Shell exposure assessment for your PKI. We inventory your CAs, RAs, OCSP responders and signing servers, and assess each host against the three conditions: its Java version, its processor, and the container image it runs from. The assessment provides a clear exposure status for every system, including bundled runtimes and container images that are often overlooked.
  • Patching and mitigation support. We help you move EJBCA and your other Java-based PKI components to a fixed Java build, rebuild container images on fixed base images, and apply the -XX:-UseBASE64Intrinsics flag wherever patching must be deferred. We then verify on each running process that the fix or the flag is in place.
  • CA key protection review. If a CA keeps its private keys in a software crypto token, a memory leak from the Java process could expose them. We review how your CA keys are stored and help you move them into a hardware security module, whether you run your own or use our HSM-as-a-Service.
  • Incident support. If you observe unexplained Java crashes or suspicious Base64 input on a CA host, we help you investigate and, if needed, revoke and reissue certificates and plan a CA key rotation. CertSecure Manager, our certificate lifecycle management platform, keeps an inventory of the certificates your CAs issue, which makes unexpected certificates easier to identify and revoke.
  • Cryptographic inventory. CBOM Secure keeps a live inventory of the keys, certificates and cryptographic libraries across your estate, mapped to the applications that depend on them. When the next vulnerability is disclosed, you can identify which systems hold the keys and certificates that require protection first, without tracing dependencies manually.

For an independent assessment of your PKI following Java4Shell, or support with any findings from the review, contact our PKI services team.

Frequently Asked Questions

Is Java4Shell a vulnerability in EJBCA?

No. Java4Shell (CVE-2026-114938) is a vulnerability in the Java runtime’s Base64 decoder, not in EJBCA’s own code. EJBCA is affected only because it runs on Java. As of November 20, 2026, no official EJBCA advisory has been published, and EJBCA was not among the products the researchers tested. The remediation is to patch the Java runtime used by EJBCA.

Which Java versions are affected?

Java 17.0.6 and later, which includes Java 21, 25 and 27, when they run on an x86-64 processor with AVX-512 VBMI. Standard Java 8 and Java 11 are not affected. The patched builds include Oracle 17.0.21.1, 21.0.13.1, 25.0.5.1 and 27.0.1.1, with matching builds from other vendors.

Is my EJBCA server affected if it runs on ARM?

No. The vulnerable code only runs on x86-64 processors with AVX-512 VBMI. ARM processors, such as AWS Graviton or Apple Silicon, do not run the affected code path, so an EJBCA instance on ARM is not exposed to this vulnerability.

Is Java4Shell being exploited in the wild?

As of November 20, 2026, there are no confirmed successful attacks, and the CVE is not in CISA’s Known Exploited Vulnerabilities catalog. Security researchers have reported scanning and exploitation attempts, but none has been confirmed as successful. Prompt patching is still recommended, because the trigger input is public and easy to reproduce.

What should I do if I cannot patch immediately?

Add the JVM option -XX:-UseBASE64Intrinsics to EJBCA’s Java options and restart. It disables the vulnerable hardware-accelerated decoder with minimal performance impact. This is an interim mitigation, not an official Oracle workaround, so apply the patch as soon as possible and then remove the flag.

Conclusion

Java4Shell shows that the trust placed in a Certificate Authority depends on the entire software stack beneath it, including the Java runtime. The vulnerability is not in EJBCA, but servers that run EJBCA are within its scope, and a CA is a system where even a memory leak could have serious consequences. The remediation steps are well defined: identify every affected Java runtime, patch it to a fixed build, and apply the -XX:-UseBASE64Intrinsics flag wherever immediate patching is not possible. Containers and bundled runtimes require particular attention, because they include their own Java runtimes, which are updated independently of the host.

The more lasting lesson concerns visibility. Teams that responded quickly already knew where their Java runtimes and cryptographic components were deployed. If identifying affected systems required a manual search across servers, that is the gap worth closing before the next vulnerability is disclosed.

For an independent assessment of your PKI following Java4Shell, contact our PKI services team.