On November 17, security firm Calif disclosed a memory corruption vulnerability in OpenJDK, tracked as CVE-2026-114938 and codenamed Java4Shell, with a CVSSv4.0 score of 9.2. The flaw lies in the optimized assembly for AVX-512 Base64 decoding: an extra padding equals sign at the end of the input causes the length to be computed as a negative number, writing past the heap buffer. An attacker needs no account—only the ability to make the program parse a crafted Base64 string. Check your CPU flags first, then patch.

Think of this decoding code as a production line that cuts paper to a fixed length: normal input is a whole sheet, and the machine advances by the length; when it hits an extra padding equals sign at the end, it computes "how much is left" as a negative number, so instead of stopping at the paper's edge, the blade keeps cutting in the opposite direction, slicing into other sheets stacked nearby. The boundary here needs to be clear: real memory layout is far more complex than a stack of paper, and whether "cutting into the neighbor" can escalate to "arbitrary code execution" depends on exactly what happens to sit on the heap—which is why exploitation doesn't always succeed on the first try everywhere.

How one extra = turns the length negative

The fault is not in Java's Base64 specification but in the hand-written assembly inside the JVM that was added for speed: when it computes the output buffer length, a single extra padding character drags it into negative territory.

The vulnerability lands in the JVM's (Java Virtual Machine, the runtime layer that runs Java programs) Base64 decode intrinsic engine. An intrinsic is the shortcut by which the JVM replaces certain high-frequency operations with hand-written machine code instead of generic bytecode, and Base64 decoding is one of them: on x86-64 processors that support AVX-512 VBMI (a vector byte-manipulation instruction set extension on x86-64 processors), OpenJDK calls optimized assembly built on AVX-512 instructions to process a large block of data at once. It really is fast—and the accounting happens in that same assembly.

Base64 uses = to pad encoding blocks, and in normal input the number of padding characters is fixed. The problem is the "extra" one: when the input has 64 A characters followed by one more =, the decoder subtracts too much when computing the remaining writable bytes, wrapping around to a negative value. A negative length is not treated as "zero bytes writable" in subsequent address calculations; it is treated as an enormous offset.

The result is an out-of-bounds write. The decoder writes into the heap buffer according to this wrong length, and the portion it writes past the allocated heap memory boundary lands in the region of an adjacent object. What sits adjacent on the heap is often another object's metadata; if an attacker can overwrite it, they have a chance to escalate a memory corruption into code execution.

The chain runs in four steps: length miscalculated, write outside the buffer, overwrite adjacent object metadata, code execution.

Severity was scored CVSSv4.0 9.2—"critical," meaning it can be triggered remotely without authentication. Security firm Wiz published the details on November 17, 2026.

Which Java deployments are actually affected

This time it's not everyone. Only when three thresholds—hardware, version, and distribution—all line up does a system hit this path.

Start with hardware. The faulty code is optimized assembly that OpenJDK wrote for x86-64 processors, and it is only invoked on machines that support AVX-512 VBMI (a set of x86 vector instructions that can process more bytes at once). ARM64 processors are unaffected—the same OpenJDK build running on ARM never reaches this assembly at all. The newer the x86 server you bought, the more likely it is on the list.

Next, version. Affected versions are OpenJDK 17.0.6 and later. Versions before 17.0.6 lack this faulty implementation, making them naturally immune; from 17.0.6 all the way to the latest, as long as the hardware matches, you're at risk. Version and hardware are two independent switches—missing either one means no trigger.

The third layer is distribution. These downstream distributions share the same OpenJDK code, so reinstalling with a different vendor does not bypass it; only changing the hardware architecture or rolling back to an older version will.

ConditionHits the vulnerabilityDoes not hit
CPU architecturex86-64 with AVX-512 VBMI supportARM64
CPU modelIntel Ice Lake / Sapphire Rapids / Emerald Rapids / Granite Rapids; AMD Zen 4 and newerEarlier Intel and AMD models
OpenJDK version17.0.6 and laterBefore 17.0.6
DistributionCorretto, Temurin, Zulu, Oracle Java SE, etc.None—same code, switching vendors doesn't solve it
Wiz: Research official image 1
Official image 1 · Source: Wiz: Research · Data as stated in the original

Verify it yourself in three minutes

The check has two steps: whether the CPU takes that optimized path, and whether the JDK version is new enough. If both hold, this machine is in scope.

Start with hardware. On Linux, run grep -m1 '^flags' /proc/cpuinfo; the output is that line of CPU feature flags, from which you filter for four flags: avx512f, avx512bw, avx512vbmi, and bmi2. Wiz puts it bluntly: if all four are present, the host is running the vulnerable hardware execution path. Missing even one doesn't count—this path depends on a whole combination of instruction sets, and without avx512vbmi AVX-512 VBMI(a vector instruction set extension that can process more bytes at once), the decoder never switches to that assembly at all.

When filtering, be careful not to be fooled by names. bmi2 BMI2(a bit-manipulation instruction set extension whose name doesn't contain avx512) looks unrelated to AVX-512, yet it's on this checklist—miss it and you'll judge a genuinely affected machine as safe. Conversely, concluding from avx512f alone won't work either; it only represents the most basic AVX-512 support.

Once hardware passes, check the version. Affected versions are OpenJDK 17.0.6 and later, and the threshold is exactly that patch number: 17.0.5 and earlier are out of scope. Downstream distributions based on this version range count too; the specific list is as described in Section 2 and won't be repeated here. ARM64 machines are excluded no matter how new the version.

Take three minutes now and verify it yourself
On the target Linux host, run grep -m1 '^flags' /proc/cpuinfo, save the output, and check it against the four terms avx512f, avx512bw, avx512vbmi, and bmi2 one by one.
If all four terms are present, run java -version and check whether the version is 17.0.6 or higher; if so, this machine is in the affected range.
If any one of the four terms is missing, or the version is below 17.0.6, record the conclusion and stop—no need to investigate this CVE further.
Record each machine's CPU flag results and JDK version in a table; you'll need it later for patching and prioritization.
Wiz: Research official image 2
Official image 2 · Source: Wiz: Research · Data as stated in the original

Which off-the-shelf systems are proven exploitable

The admin backends operations teams open every day are all on the list—Wiz's list is titled "proven unauthenticated remote code execution."

Atlassian Jira, Atlassian Confluence, Keycloak, JFrog Artifactory, and Jenkins—all five are in the "proven pre-auth RCE" column.

(remote code execution without logging in) What these five share is that their admin ports are open to the internal network year-round, and many teams even map them directly to the public internet. An attacker needs no account—only the ability to feed a crafted Base64 input into the decoding path.

Applications built on Spring Boot, Apache Struts, Kafka Broker, Solr, Elasticsearch, Gerrit, Spinnaker, and Tomcat are also grouped by Wiz into the verified range.

The Kafka Broker(the server-side process of a message queue) entry matters more to in-house teams: your business code may never touch Base64, but the framework layer feeds user input into the decoder for you, and the path still works.

Verification speed deserves a separate mention. Wiz's AI vulnerability research tool Atlas built a PoC within 2 hours before the vulnerability details were public.(working verification code that can actually be run) Wiz also acknowledges that generalizing a PoC to arbitrary targets is not easy, and attackers are more likely to go after common Java applications whose build method and memory layout repeat across many targets. The products on the list happen to fit that condition.

This list is "proven," not "complete." Wiz does not conclude that untested applications are excluded—in-house systems especially.

What to do first, and whether you can hold off on patching

Yes, but how you hold the line matters: turn off that fast decode path, or simply keep it from running on the instruction set that goes wrong. Both are JVM startup parameters that take effect on restart, at the cost of performance.

The official security patch was released on the day mentioned earlier, the same day the vulnerability details went public. From that day on, attackers have the mechanics and defenders have the fix—whoever lands first gains the advantage. Externally exposed Java applications go to the front of the line: once admin entry points like Jira, Confluence, Keycloak, and Jenkins are breached, what the attacker gets is not one machine but the credentials and pipelines behind it.

If you can't patch, flip the switch first. Add the startup parameter -XX:-UseBASE64Intrinsics, and the JVM no longer takes that hand-written assembly fast path for Base64 decoding, falling back to the ordinary implementation so the vulnerable code is never invoked.

The other route is -XX:UseAVX=2, which keeps the JVM from using that vector instruction set, effectively moving the execution path off the problematic hardware channel. Wiz puts it plainly: these two parameters "completely neutralize" the vulnerability but may affect application performance. Which is more worthwhile depends on how hot Base64 decoding is in your service—for decode-intensive services, the cost of disabling the intrinsic is visible; for services that only call it sporadically, you'll barely notice.

From discovery to remediation, in order
Confirm whether this host takes the vulnerable execution path (commands in Section 3)
→
Patch externally exposed Java applications first with the November 17 patch, or upgrade to a vendor-fixed build
→
For those you can't patch, add JVM parameters to disable the Base64 intrinsic or restrict the instruction set; takes effect on restart
→
Before deploying mitigations, take admin entry points like Jira, Jenkins, and Keycloak off the public internet

Don't treat a WAF as a patch. Wiz's judgment is that the root cause is inside OpenJDK, there are many user-input paths that can reach that decoding code, and rules can hardly block every entry point; in-house applications are even less covered, because only you know what your traffic looks like. A WAF can stop some exploits that have already appeared, but not all of them, and not input tailored to your business.

So the order is: patch if you can, add parameters if you can't, and cut off external access first if you can't even do that. Landing any one of these three steps beats doing nothing.

Source: the vulnerability analysis published by Wiz Research on November 17, 2026; the vulnerability was discovered and disclosed by Calif. Affected versions, the CPU architecture list, and mitigation parameters can all be independently verified in Oracle security advisories and OpenJDK notices. Wiz is a cloud security vendor, and the mention of its Threat Center query capability is product-oriented content that does not affect the technical facts above.