DNS Benchmark ProReal-time DoH latency analysis

Tech Infrastructure

Tech Infrastructure Alert: The 401 Arrived Too Late

By Nattapong Sukkasem · Published · Updated .

TL;DR — A heap overflow in the Base64 decoder shipped with OpenJDK 17.0.6 and later, nicknamed Java4Shell and tracked as CVE-2026-114938, was disclosed on 17 November with fixes from Oracle and the OpenJDK Vulnerability Group. It fires only on x86-64 processors carrying AVX-512 VBMI instructions, and it is reachable before any login, because a server must decode a credential before it can reject it. Keycloak, Jira, Confluence, Jenkins, JFrog Artifactory and PingFederate are named as reachable in default configurations. This is a tech infrastructure problem sitting underneath all of them.

The most useful number in this story is not a severity score. It is 28,300: the number of unauthenticated requests Blackpoint Cyber sent at a stock Spring Boot application before the Java process died. Every single one of them was refused. The application answered HTTP 401 each time, the credentials were never valid, and the service went down anyway after about twenty-four seconds of uptime. That is the shape of the tech infrastructure flaw disclosed on 17 November, and it is why a working authentication layer offers no protection at all.

The bug is CVE-2026-114938, named Java4Shell by its finder, Calif Research, whose write-up credits Quang Luong. Canada's Cyber Centre classifies it as a heap-based buffer overflow, CWE-122, in the standard Java Base64 library. Red Hat opened bulletin RHSB-2026-018 the same afternoon and rated it Critical, stating that pre-authentication remote code execution “has been demonstrated against widely deployed Java applications running default configurations”.

Tech infrastructure news: the four cylindrical glass towers of Oracle Corporation headquarters at Redwood Shores, California, reflected in the campus lagoon under a clear blue sky, the company that publishes the Java SE builds carrying the fix for the Java4Shell CVE-2026-114938 OpenJDK Base64 decoder vulnerability
Oracle's headquarters at Redwood Shores, California. Oracle ships the Java SE builds carrying the fix, but the defect sits in OpenJDK code shared by every major distribution.

A sixty-two byte overwrite you do not control

Java decodes Base64 twice over. There is a portable implementation in Java, and a hand-written x86-64 routine using AVX-512 instructions that the HotSpot JIT substitutes once the method gets hot. Production servers run the second one. Calif found that the fast routine mishandles the padding arithmetic: when a malformed string ends in a stray equals sign, the computed output length goes negative, a bit-masking instruction then treats that as “write everything”, and a sixty-four byte vector store lands partly outside the buffer. Blackpoint measured 62 or 63 bytes past the end across roughly 47,000 triggering decodes. Java rejects the malformed input only afterwards.

The attacker controls almost none of what gets written — the trailing bytes are a fixed filler value, and only the first byte and part of the second carry chosen data. What the attacker controls is where it lands. Groom the heap so that the spilled bytes fall on the length field of the next array along, and that array grows. A grown array will write beyond its real bounds on command and read beyond them on request. Calif calls the resulting disclosure primitive JavaBleed; Blackpoint reproduced it locally and recovered an adjacent secret in 30 of 30 attempts. A constant-value overwrite becomes an arbitrary one because the thing it overwrites is a number describing size.

Why the login page is the attack surface

Tech infrastructure is drawn as a stack, with the application on top and the runtime underneath. A request does not arrive that way. It reaches the runtime first, and whatever the runtime does with those bytes has already happened by the time the application forms an opinion about them. A server cannot evaluate an HTTP Basic credential it has not yet decoded. It cannot validate a JSON Web Token signature, parse a SAML artifact or check a CSRF token without first turning Base64 text into bytes. Decoding is not a step that follows authentication; it is a precondition of it.

That single ordering explains the shape of the affected list. The six products Calif reports as exploitable without credentials — Keycloak, Atlassian Jira, Atlassian Confluence, JFrog Artifactory, Jenkins and PingFederate — are not a random sample of Java software. They are the software whose job is identity, which means they touch attacker-supplied Base64 earliest. Upwind found the same in its laboratory: Spring Security, the Tomcat and Jetty 12 Basic authentication handlers and the java-jwt library all hand an attacker token straight to the decoder. The more carefully an application checks who you are, the sooner it reads what you sent.

Tech infrastructure news: the official Keycloak wordmark and hexagonal logo of the open source identity and access management server, named by researchers as reachable without authentication through the Java4Shell CVE-2026-114938 Base64 decoder overflow
Keycloak heads the list of products said to be reachable without a login, because an identity server must decode a credential before it can judge it. The project has published no assessment of its own.

What has actually been reproduced

The headline claim is pre-authentication code execution, and it deserves careful handling. Calif says its testing demonstrated it against the six products, but it is withholding those exploit chains and has published only a bounded proof of concept. Wiz says it proved remote exploitation feasible against Jenkins, Confluence and Apache Tomcat. Blackpoint states plainly that it did not independently reproduce code execution, and Upwind did not either, though it confirmed memory corruption in 97 percent of rounds on an AWS Ice Lake instance. Red Hat, with access to the research, calls the demonstration a fact. No application vendor has published a confirmation.

The scores disagree too. Calif rates it 9.2 under CVSS 4.0, the OpenJDK advisory 8.1 under CVSS 3.1 and Amazon 8.8, while Red Hat's bulletin gives the word Critical and no number. Nothing below depends on which is right. No exploitation in the wild has been reported, and the flaw was not in the CISA Known Exploited Vulnerabilities catalogue at the time of writing.

DistributionAffectedFixed build
Oracle Java SE 1717.0.6 through 17.0.21.0.317.0.21.1
Oracle Java SE 21, 25, 2721.0.13.0.3, 25.0.5.0.3, 27.0.1.0.3 and earlier21.0.13.1, 25.0.5.1, 27.0.1.1
Oracle Java SE 88u511b33-perf only; standard Java 8 and 11 are not affected8u513
Amazon CorrettoFrom 17.0.6 on the 17 line17.0.21.1.2, 21.0.13.1.2, 25.0.5.1.2, 27.0.1.1.4
Azul ZuluFrom 17.0.6 on the 17 line17.70.201, 21.54.201, 25.38.201, 27.30.201
Red Hat build of OpenJDK 17, 21, 25; RHEL 8, 9, 1017.0.6 and laterErrata pending; Red Hat says it is expediting fixes

The processor decides whether you are exposed

A zero-day vulnerability normally describes a condition of software alone. This one is a condition of software and silicon together: identical bytes sent to an identical build do nothing whatever unless the host exposes four specific processor features, avx512f, avx512bw, avx512vbmi and bmi2. Calif names Intel Xeon from Ice Lake onward and AMD Zen 4 and later. ARM64 has no such code path and is unaffected. One consequence inverts an old assumption about server infrastructure: the newer the hardware underneath a service, the more likely it is to be exposed.

For anyone running containers this turns into a cloud security question about instance types rather than images. The same image, the same digest and the same JVM can be reachable on one node pool and inert on the next, because the scheduler placed one workload on an Ice Lake generation host and the other somewhere older. Upwind names the AWS c6i, m6i, c7i, c7a and m7a families; virtualisation can also mask the flags, so the guest view is the one that counts.

Tech infrastructure news: a real Jenkins automation server screenshot showing the stage view of a build pipeline with checkout, build, test and deliver stages inside an authenticated admin session, one of the Java applications named in the Java4Shell CVE-2026-114938 pre-authentication vulnerability research
A Jenkins build pipeline seen from inside a signed-in session. On the researchers' account the attack never reaches this view; it is finished at the login form. Jenkins has issued no assessment of its own.

What to do this week

  1. Patch the runtime, not the application. The fix comes from whoever built your JVM. Anything bundling its own runtime needs a vendor update, and container images must be rebuilt rather than restarted. Red Hat, Temurin, the Microsoft build and Liberica had published no builds when this was written.
  2. If you cannot patch today, use a flag, carefully. -XX:-UseBASE64Intrinsics disables only the vulnerable path, on any architecture. -XX:UseAVX=2 turns off AVX-512 entirely and must never reach an ARM64 JVM, which refuses to start. Upwind warns that the -XX:DisableIntrinsic advice circulating elsewhere stops the JVM booting at all — set fleet-wide, that is an outage, not a mitigation.
  3. Produce two lists and compare them. One of every Java service with the runtime build it actually loaded; one of every host carrying all four processor flags, from grep -m1 '^flags' /proc/cpuinfo. The intersection is your real exposure and it is shorter than either list. Marking which of those face the internet is the IT security artefact your change board will want before it approves an emergency window.
  4. Check what your runtimes call outward. Calif reports a client-side variant, credited to the researcher samczsun, in which a Java program that merely opens a TLS connection to a hostile server can be compromised while listening on nothing. The set of destinations a process will reach is therefore a security boundary. Resolve every external name your Java services connect to with a network diagnostic tool and account for the ones you cannot explain. Whether you can see those lookups at all depends on DNS over HTTPS: resolution inside the application is resolution your network never sees.
  5. Hunt for the attempts, knowing they prove nothing. Upwind suggests Base64 tokens of 32 characters or more ending in an equals sign whose length is not a multiple of four, in Authorization headers first; bursts of IllegalArgumentException from java.util.Base64$Decoder; and unexplained hs_err_pid crash files.
DNS server performance benchmark screenshot from DNS Benchmark Pro comparing measured resolver response times across public DNS providers, the kind of baseline record that helps separate a service failure from a network problem during an incident
A DNS server performance baseline recorded before an incident is worth more than one taken during it, because it tells you which half of a failure is yours.
Network latency comparison screenshot from DNS Benchmark Pro showing resolver response time distributions, relevant because the Java4Shell heap grooming technique is sensitive to round trip time and network jitter between attacker and target
Calif reports renting a virtual machine in the victim region to cut round-trip time, because the heap grooming is sensitive to network latency and jitter. How latency is measured is worth knowing before reasoning about it.

Why this one matters

Denial of service is the floor of this bug rather than its ceiling. A DDoS attack buys disruption with volume; here 28,300 requests over roughly twenty seconds, across three connections, ended a service that was correctly refusing every one of them. The tech infrastructure lesson is the ordering, though, not the crash. Authentication worked perfectly in Blackpoint's test and was never the relevant control, because it sat downstream of the damage. Calif reports finding the defect in about an hour and a first working exploit in two more, for under 200 dollars of tokens; Wiz reports two hours for its own. The gap between a patch and a practical exploit is now short enough that patch windows belong in days, not quarters.

Sources

Related articles

Browse every DNS news article by month →

DNS angle

Review resolver logs for the systems discussed above and compare unexpected names with your approved services. A successful lookup does not establish that a destination is safe. Use the DNS lookup tool to inspect current answers, then compare them with your own resolver and incident records.

Source: Calif — Java4Shell (CVE-2026-114938), the original disclosure ().