Java4Shell Base64 flaw reaches Keycloak and PingFederate before login
CVE-2026-114938 is a memory corruption bug in the AVX-512 path of Java's Base64 decoder. Calif says it got unauthenticated code execution against default Keycloak and PingFederate, among others. Oracle fixed it in the November 17 Critical Patch Update; JVM flags can disable the vulnerable path meanwhile.
Security firm Calif disclosed Java4Shell, CVE-2026-114938, on November 17, the same day Oracle shipped fixes in its November Critical Patch Update, BleepingComputer 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 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 and 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 explains why the IdP is the system to patch first.
Source: BleepingComputer, The Hacker News
Related on Start with Identity
- BlogLXD and MicroCloud flaw let attackers pose as any trusted client using only its public certificate
Canonical's CVE-2026-112816 let an attacker authenticate to the LXD and MicroCloud HTTPS API as any trusted client by attaching that client's public certificate
- BlogOkta Access Gateway flaw lets an admin run system commands as the gateway's service account
Okta published CVE-2026-115547 on October 22: an input validation flaw in the Okta Access Gateway Admin Console lets an authenticated administrator execute syst
- BlogApache OFBiz 24.09.08 fixes a hard-coded JWT key, a password reset takeover and default-open REST auth
Apache OFBiz 24.09.08, announced November 4, fixes a batch of authentication flaws: a hard-coded JWT key giving unauthenticated admin access, a password reset f
- GlossaryAuthorization (AuthZ)
Authorization (AuthZ) is the decision to permit or deny an authenticated subject access to a resource or action, and the rights that result; NIST's glossary, ci
- CVEKeycloak client policy enforcement flaw
A 2026 Keycloak client-policy enforcement bug. Client policies are how you ban implicit flow, require PKCE, or force FAPI. If they do not fire, the realm's writ
- CVEKeycloak First Broker Login TOCTOU, account-merge takeover
Keycloak's First Broker Login had a time-of-check/time-of-use gap. A phishing or race could merge an attacker's IdP account onto a victim. CVSS 3.1 on paper. Th