Java4Shell memory corruption in OpenJDK Base64 decoder (CVE-2026-114938)
Original title: How Cloudflare WAF helps protect against Java4Shell (CVE-2026-114938)
The CVSS 9.2 flaw hits OpenJDK 17.0.6 and newer on AVX-512 x86-64; Oracle shipped November 2026 patches, and Cloudflare WAF rules only log.
On November 17, 2026, Calif disclosed Java4Shell, a critical memory-corruption bug in OpenJDK's Base64 decoder. Malformed Base64 can overwrite adjacent memory; Calif showed heap disclosure and code execution, including pre-authentication on default enterprise apps. OpenJDK published an advisory and Oracle shipped patched builds in the November 2026 Critical Patch Update. Cloudflare added paid-plan managed WAF rules in Log mode and reported no exploitation on its infrastructure. Updating bundled JDKs and restarting services is required; the WAF does not see paths such as outbound TLS.
Unconfirmed: Cloudflare reports no exploitation on its infrastructure; use elsewhere is not stated.
- Affected runtimes are OpenJDK 17.0.6 or newer on x86-64 with AVX-512 VBMI; ARM64 is not affected.
- A 65-character input can write 62 bytes past a 50-byte output buffer.
- On OpenJDK 17 the trigger needs 128 characters followed by an equals sign.
- Temporary flags -XX:-UseBASE64Intrinsics or -XX:UseAVX=2 disable the path after restart.
- Post-authentication code execution was shown against Kafka, Solr, Elasticsearch, Gerrit and Spinnaker.
Impact: Remote memory overwrite, heap leak, or code execution
| Product | Affected |
|---|---|
| OpenJDK | 17.0.6 or newer |
| Oracle Java SE | — |
- 1.Update every bundled Java runtime to the vendor patched build and restart the service.
- 2.If patching is delayed, restart with -XX:-UseBASE64Intrinsics or, on x86-64, -XX:UseAVX=2.
- 3.Review Cloudflare Java4Shell WAF matches before changing the paid-plan rule from Log to Block.
- CVEs
- CVE-2026-114938
- Vendors
- Oracle
- Organizations
- CloudflareCalif
Vulnerabilities mentioned
All| CVE | Vulnerability | CVSS | EPSS | Signals | Published |
|---|---|---|---|---|---|
| CVE-2026-114938 | Unauthenticated RCE in Oracle Java SE Compiler | 8.1 | <1% | PoC ×15 |
Indicators of compromise
auto-extracted · verify before use · export allAll| Type | Indicator | Context |
|---|---|---|
| md5 | 0dceaf0684b54fd0b085fcfb6fd6f152 | ava4Shell - Malformed Base64 Path Segment - CVE-2026-114938 0dceaf0684b54fd0b085fcfb6fd6f152 Java4Shell - Malformed Base64url JWT Component - CVE-2026-1 |
| md5 | 0ddd0eb664a040779f2f19065a25d991 | Shell - Malformed Base64url JWT Component - CVE-2026-114938 0ddd0eb664a040779f2f19065a25d991 Java4Shell - Malformed Base64 WebAuthn Value - CVE-2026-114 |
| md5 | 46bb4172813e471ea62d31c02337b51d | Java4Shell - Malformed Base64 Query Value - CVE-2026-114938 46bb4172813e471ea62d31c02337b51d Java4Shell - Malformed Base64 Body Value - CVE-2026-114938 |
| md5 | 4fce1ea79a614c07a27348d167d74ebb | a4Shell - Malformed Base64 WebAuthn Value - CVE-2026-114938 4fce1ea79a614c07a27348d167d74ebb We are working on a rule for the Cloudflare Free Managed Ru |
| md5 | 5de9b20a45ea45d3841919ab4d718bf4 | e ID Java4Shell - Malformed Base64 Header - CVE-2026-114938 5de9b20a45ea45d3841919ab4d718bf4 Java4Shell - Malformed Base64 Query Value - CVE-2026-114938 |
| md5 | d4dc3f71f1bc44a0811ae570e5e5836c | Java4Shell - Malformed Base64 Body Value - CVE-2026-114938 d4dc3f71f1bc44a0811ae570e5e5836c Java4Shell - Malformed Base64 Path Segment - CVE-2026-11493 |
| md5 | efb7b8c949ac4650a09736fc376e9aee | eased as part of the Cloudflare Managed Ruleset (Ruleset ID efb7b8c949ac4650a09736fc376e9aee). The rule is enabled by default with the Log action, becau |
From the original article
9 min read at blog.cloudflare.com
Java4Shell is a critical memory-corruption flaw in OpenJDK's Base64 decoder that can lead to remote code execution. Cloudflare has released six WAF managed rules for paid plans that logs matching requests by default. Patch your Java runtimes now.
By Denzil Correa · blog.cloudflare.com
A short excerpt; the article and its images belong to the publisher. Summary, key facts and assessment above are AI-written from the article and can be wrong.