How Cloudflare WAF helps protect against Java4Shell (CVE-2026-114938)
Java4Shell (CVE-2026-114938) is a critical memory-corruption vulnerability in the Base64 decoder of OpenJDK that allows remote code execution via malformed Base64 input on affected Java runtimes running on x86-64 processors with AVX-512 VBMI support.
The vulnerability occurs in the handwritten assembly of the Base64 decoder intrinsic in OpenJDK on x86-64 processors with AVX-512 VBMI. Malformed Base64 input with padding characters in invalid positions causes a negative output length calculation, leading to a 64-byte out-of-bounds write past the allocated output buffer. This memory corruption can be exploited to leak heap memory and achieve remote code execution. The flaw affects OpenJDK 17.0.6 or newer and distributions built from OpenJDK, including Amazon Corretto, Eclipse Temurin, Microsoft Build of OpenJDK, Azul Zulu, BellSoft Liberica, SAP SapMachine, Red Hat OpenJDK, Oracle OpenJDK, Oracle Java SE, and Oracle GraalVM for JDK. ARM64 processors are not affected. The only complete fix is to update to patched OpenJDK builds and restart affected services.
0.59
(below the 0.75 AUTO threshold) and has not
passed automated verification. Inspect the source quote and affected packages manually
before acting on it.
Pre-CVE to NVD / OSV Lifecycle Tracker
Last checked 2026-11-25 19:59 UTCAffected Packages & Deterministic Ranges
| Ecosystem | Canonical PURL | Affected Range | Fixed Version | Grounding | Registry |
|---|---|---|---|---|---|
| Generic | pkg:generic/openjdk | >= 17.0.6 | — | verified | skipped |
Verbatim Grounded Evidence
Verified verbatim substring matches copied directly from the source article body.
“Java4Shell affects a system only when all the following conditions are true: | Java runtime | OpenJDK 17.0.6 or newer, including distributions built from OpenJDK: Amazon Corretto, Eclipse Temurin, Microsoft Build of OpenJDK, Azul Zulu, BellSoft Liberica, SAP SapMachine, Red Hat OpenJDK, Oracle OpenJDK, Oracle Java SE and Oracle GraalVM for JDK. Check Oracle's advisory for the exact list of affected Oracle builds. |”
“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.”
“OpenJDK published a security advisory and Oracle released patched builds in its November 2026 Critical Patch Update the same day, at 21:00 UTC.”
“The bug sits in the handwritten assembly that handles the final characters of the input. When the tail of the input contains padding characters (=) in a position where valid Base64 never places them, the routine calculates a negative output length. That invalid length turns into a full 64-byte write.”
“For a 65-character input, made of 64 characters followed by a single =, OpenJDK allocates a 50-byte output array and then writes 62 bytes past its end.”
“The only complete fix is to update the Java runtime.”
Credibility Gate Breakdown
- • Capped specificity below AUTO threshold because version constraints lack a bounded or exact fix range.
$ curl -sL https://zerobom.dev/osv/triage/PRECVE-2026-CE9E49A9.json -o PRECVE-2026-CE9E49A9.json && zerobom scan --osv PRECVE-2026-CE9E49A9.json --sbom sbom.cdx.json