OpenJDK Base64 flaw Java4Shell allows remote code execution
Original title: Critical Java4Shell Flaw in OpenJDK Base64 Decoder Enables Remote Code Execution
CVE-2026-114938, CVSS 9.2, overflows the x86-64 AVX-512 decoder by 64 bytes; Oracle patched it on November 17.
Researchers at Calif disclosed CVE-2026-114938, nicknamed Java4Shell, a memory-corruption bug in OpenJDK’s HotSpot x86-64 Base64 intrinsic. A miscalculated output length can overwrite 64 bytes past a heap buffer, which they turned into data leaks and remote code execution. They showed pre-authentication RCE in products including Keycloak, Jira, Confluence, Artifactory, Jenkins and PingFederate, and post-authentication RCE in Kafka, Solr, Elasticsearch, Gerrit and Spinnaker. Only x86-64 CPUs with AVX-512 VBMI are affected; ARM64 is not. Calif is withholding product-specific chains while users patch.
Unconfirmed: No in-the-wild exploitation is reported; Calif is withholding product-specific exploit chains.
- OpenJDK from 17.0.6 onward and builds such as Corretto, Temurin, Zulu, Red Hat OpenJDK and Oracle Java SE are affected.
- Oracle lists vulnerable Java SE builds 8u511b33-perf, 17.0.21.0.3, 21.0.13.0.3, 25.0.5.0.3 and 27.0.1.0.3.
- A workaround is -XX:-UseBASE64Intrinsics, or -XX:UseAVX=2 on x86-64 only.
- A malicious TLS server can also hit a Java client that connects to it.
- Calif says no universal exploit exists and nginx buffering breaks some chains.
Impact: Remote code execution and heap data disclosure
| Product | Affected |
|---|---|
| OpenJDK | 17.0.6 onward |
| Oracle Java SE | 8u511b33-perf, 17.0.21.0.3, 21.0.13.0.3, 25.0.5.0.3, 27.0.1.0.3 |
| Amazon Corretto | — |
| Eclipse Temurin | — |
| Azul Zulu | — |
| Red Hat OpenJDK | — |
- 1.Apply Oracle’s November 17, 2026 Critical Patch Update for Java SE.
- 2.Until patched, start the JVM with -XX:-UseBASE64Intrinsics.
- 3.On x86-64 only, -XX:UseAVX=2 disables the vulnerable intrinsic.
- CVEs
- CVE-2026-114938
- Organizations
- Calif
Vulnerabilities mentioned
All| CVE | Vulnerability | CVSS | EPSS | Signals | Published |
|---|---|---|---|---|---|
| CVE-2026-114938 | Unauthenticated RCE in Oracle Java SE Compiler | 8.1 | <1% | PoC ×15 |
From the original article
3 min read at gbhackers.com
A critical memory-corruption vulnerability in OpenJDK’s Base64 decoder lets unauthenticated remote attackers overwrite heap memory, leak sensitive data, and execute code remotely. Tracked as CVE-2026-114938 and nicknamed Java4Shell, the flaw carries a CVSS 4. 0 score of 9.
By Divya · gbhackers.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.