# Java4Shell Base64 flaw reaches Keycloak and PingFederate before login

Source: https://startwithidentity.com/blog/2026-11-17-java4shell-base64-flaw-reaches-keycloak-and-pingfederate-before-login/
Last updated: 2026-11-18
License: content by Start with Identity. Cite the source URL.

---

Security firm Calif disclosed Java4Shell, CVE-2026-114938, on November 17, the same day Oracle shipped fixes in its November Critical Patch Update, [BleepingComputer](https://www.bleepingcomputer.com/news/security/critical-java4shell-flaw-allows-rce-attacks-on-major-java-applications/) reports. The bug is in the hardware-accelerated Base64 decoder in OpenJDK 17.0.6 and later, and only on x86-64 processors with AVX-512 VBMI: a malformed string ending in an extra "=" makes the decoder write past its buffer before Java rejects the input. Calif says it reached unauthenticated remote code execution against default configurations of Keycloak and PingFederate, as well as Jira, Confluence, Artifactory and Jenkins. [The Hacker News](https://thehackernews.com/2026/11/java4shell-cve-2026-114938-enables-pre.html) notes the reachable inputs include login headers, SAML artifacts and CSRF tokens. Calif has not released its application exploits, other labs have reproduced crashes but not code execution, and no attacks had been reported. Oracle rates it 8.1 under CVSS 3.1; Calif rates it 9.2 under CVSS 4.0.

## Why it matters

An identity provider decodes untrusted Base64 before it knows who is asking, because that is what a sign-in request is. A memory bug in that step sits in front of every control the IdP enforces, which is why [Keycloak](https://startwithidentity.com/vendors/open-source/keycloak/) and [Ping Identity](https://startwithidentity.com/vendors/iam/ping-identity/)'s PingFederate on the vulnerable list deserve priority over internal apps. A compromised IdP can issue tokens for every application that trusts it.

Find Java 17, 21, 25 and 27 runtimes on AVX-512 x86-64 hosts, starting with anything that serves a login page, and move them to fixed builds such as Oracle 17.0.21.1, 21.0.13.1, 25.0.5.1 or 27.0.1.1 or the matching Corretto and Zulu releases. Red Hat had not shipped fixes when The Hacker News checked. Until you can patch, Calif suggests `-XX:-UseBASE64Intrinsics` or `-XX:UseAVX=2` as stopgaps. Our [identity provider glossary entry](https://startwithidentity.com/glossary/identity-provider/) explains why the IdP is the system to patch first.

Source: [BleepingComputer](https://www.bleepingcomputer.com/news/security/critical-java4shell-flaw-allows-rce-attacks-on-major-java-applications/), [The Hacker News](https://thehackernews.com/2026/11/java4shell-cve-2026-114938-enables-pre.html)
