> status: mostly fine. patch anyway.practical AI security · est. 2026

Brief · Both

Java4Shell: a Base64 bug in OpenJDK gives attackers a path to RCE on newer x86 servers

By alkizz ·

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

What to do:

Sources

← All briefs