How Cloudflare WAF helps protect against Java4Shell (CVE-2026-114938)
A memory-corruption flaw in OpenJDK's Base64 decoder lets an unauthenticated attacker send malformed Base64 data to overwrite heap memory, potentially leaking data or achieving remote code execution. The text describes the vulnerability and Cloudflare's WAF rules, not an actual exploitation incident.
Published on blog.cloudflare.com
On November 17, 2026, the security research company Calif disclosed Java4Shell (CVE-2026-114938), a memory-corruption vulnerability in the Base64 decoder of OpenJDK, the most widely used Java runtime. Under the Common Vulnerability Scoring System (CVSS) 4.0, it scores 9.2 out of 10 (Critical).
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely a flaw in the handwritten assembly for the Base64 intrinsic: when padding characters appear in an invalid position, the routine calculates a negative output length, which becomes a large write past the end of the output buffer.
What the attacker needed
OpenJDK 17.0.6 or newer; x86-64 CPU with AVX-512 VBMI; application decodes attacker-controlled Base64
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
Base64 is a way to turn binary data into text so it can travel safely through systems. A bug in how Java decodes Base64 can let an attacker write past the end of a memory buffer, which may crash the program or let them run their own code. This article explains the bug and how a web firewall can help block attempts while you update Java.
What is Memory corruption?
Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.