Java4Shell: Critical OpenJDK Base64 flaw (CVSS 9.2) and how Cloudflare WAF blocks it

Cloudflare Blog · rss · 2026-11-18

Calif disclosed Java4Shell (CVE-2026-114938), a critical (CVSS 4.0: 9.2) memory-corruption flaw in OpenJDK's Base64 decoder: malformed padding in the hand-written AVX-512 assembly computes a negative output length, writing 62 bytes past the buffer and enabling Heartbleed-like heap leaks and remote code execution.

Who's affected: OpenJDK 17.0.6+ on x86-64 with AVX-512 VBMI (Intel Sapphire Rapids, AMD Zen 4+); ARM64 is unaffected. Pre-auth RCE was demonstrated against Keycloak, Jira, Confluence, Jenkins and others in default configs. Application-level validation doesn't help since corruption happens inside the decoder.

Mitigations:

Notably, Calif built its first working local exploit in 3 hours with the help of AI agents, so other exploit chains are expected quickly.

Original post →

More from Safety

Safety channel →