What the internet is saying about "Java4Shell OpenJDK Base64 RCE"
TL;DR
- CVE-2026-114938 ("Java4Shell") is a heap out-of-bounds write in OpenJDK's AVX-512 VBMI Base64 decoder intrinsic, rated Critical, and it affects OpenJDK 17.0.6+, 21 and 25 [8] [11].
- Until a patched JDK is deployed, the mitigation maintainers are applying is the JVM flag
-XX:-UseBASE64Intrinsics[4] [12]. - Where fixed builds exist, the move is to rebuild on them, for example OpenJDK 25.0.5.1 or Red Hat OpenJDK 21.0.13.1 [6] [10].
What happened
- The OpenJDK Vulnerability Advisory of 2026/11/17 disclosed the flaw [3] [14]. The top Hacker News thread, about the Calif researchers' write-up, drew 1182 points and 339 comments [1].
- The write-up describes "Remote Heap Feng Shui" over the network and says the attack is sensitive to RTT and jitter [1].
- Severity scores differ by source: CVSS 9.8 per Red Hat and 8.1 per NVD/cve.org [8], and CVSS 4.0 9.2 in a separate report [13].
- Affected hardware is x86-64 CPUs with AVX-512 VBMI, such as Intel Ice Lake / Sapphire Rapids and AMD Zen 4 [9].
- One GitHub item says the advisory also covers CVE-2026-114939 to CVE-2026-114947 [10].
- A tracking entry says a public PoC and researcher RCE demonstrations exist but asserts no confirmed field exploitation [7].
- Oracle's Critical Security Patch Update pre-release announcement lists 652 new security patches [21].
What people are doing with it
- Keycloak told users to set
JAVA_OPTS_APPEND=-XX:-UseBASE64Intrinsicsand restart [4]. Its maintainers declined a PR to ship the flag by default [6] and later updated 26.8 container images to Red Hat OpenJDK 21.0.13.1, which includes the fix [6]. - Other projects opened similar mitigation or upgrade changes:
- Maintainers also filed follow-ups to remove the flag once the base JRE or minimum JDK is patched, because it turns off a JVM optimization [19] [20].
- Semgrep published free detection scripts that check five conditions [1].
Problems and open questions
- Fix availability lags. The Adoptium thread on Temurin 25 and 21 gives the release goal as within 2 days of tags becoming available, and the ETA as "as soon as possible based on our infrastructure capacity" [15]. A user there asked for version numbers and an out-of-band release date [15].
- Distro and image dependencies. One issue asks for a rebuild once Debian ships the fixed openjdk-25 [11]. Nacos images install openjdk-17-jre-headless via apt without version pinning [18]. The A2A Java SDK does not bundle a JDK, so an SDK release alone cannot patch it [17].
- Disclosure timeline. An HN thread (460 points, 133 comments) discusses a report made in September 2026 [2]. A PR author there said Oracle emailed asking them not to proceed with a PR until approved [2]. One commenter said they independently found the bug and reported it to Oracle [2]. Another commenter suggested the LLM that assisted the Calif researchers might have read an earlier bug report [2].
- Exploit difficulty versus exposure. A Semgrep commenter said the exploit conditions are very specific but many hosts are still affected [1].
New in the last 30 days
- 2026-11-21: A2A Java SDK issue reviews runtime guidance, noting the fix must come from a vendor-patched Java runtime [17].
- 2026-11-20: Nacos Docker image issue [18] and a Causa mitigation PR [12].
- 2026-11-19: HN thread on the September report [2] and a JVM container image mitigation issue [8].
- 2026-11-18: Adoptium opened the Temurin ETA thread [15]. A case-study PR [5], a tracking entry [7], a Debian-image heads-up [11] and an OpenJDK 25.0.5.1 upgrade PR [10] also appeared.
- 2026-11-17: OpenJDK advisory [3], Calif write-up discussion on HN [1] and Keycloak mitigation issue [4].
Where the conversation is
Hacker News carries the research and disclosure debate [1] [2], while GitHub issues carry downstream mitigation and patching work [4] [6] [15]. The sources do not contradict each other, though HN raises timeline questions that the GitHub items do not address [2].
Bottom line
The evidence points to a serious flaw whose practical risk depends on specific CPU and input conditions, with a known mitigation and fixed builds that are still reaching downstream users. Most items are project-level mitigation tickets, so field exploitation and the disclosure timeline are only thinly covered. The claim about prior knowledge of the bug rests on commenter speculation [2].
Sources
- [1] Java4Shell: RCE in OpenJDK when processing Base64 — Hacker News, 2026-11-17
- [2] Someone reported java4shell bug in September 2026 — Hacker News, 2026-11-19
- [3] OpenJDK Vulnerability Advisory: 2026/11/17 (Java4Shell) — Hacker News, 2026-11-17
- [4] CVE-2026-114938 Mitigate OpenJDK Base64 intrinsic vulnerability (CVE-2026-114938 / Java4Shell) — GitHub, 2026-11-17
- [5] case-studies: add Java4Shell (CVE-2026-114938), the OpenJDK Base64 heap overflow — GitHub, 2026-11-18
- [6] Mitigate CVE-2026-114938 (Java4Shell) by disabling Base64 intrinsics — GitHub, 2026-11-17
- [7] Add Java4Shell OpenJDK Base64 RCE incident — GitHub, 2026-11-18
- [8] CVE-2026-114938 (Java4Shell): mitigate OpenJDK Base64 decoder RCE in JVM container images — GitHub, 2026-11-19
- [9] CVE-2026-114938 Mitigate OpenJDK Base64 intrinsic vulnerability (Java4Shell) for ECK-managed Elasticsearch — GitHub, 2026-11-18
- [10] fix(security): run on OpenJDK 25.0.5.1 (Java4Shell, OpenJDK advisory 2026-11-17) — GitHub, 2026-11-18
- [11] Java4Shell (CVE-2026-114938): rebuild image once Debian ships the fixed openjdk-25 — GitHub, 2026-11-18
- [12] fix(security): mitigate CVE-2026-114938 (OpenJDK Base64 RCE) by disabling Base64 intrinsics — GitHub, 2026-11-20
- [13] Docker images ship OpenJDK builds affected by CVE-2026-114938 (Base64 intrinsic heap overflow on x86_64) — GitHub, 2026-11-18
- [14] CVE-2026-114938 ("Java4Shell") in the OpenJDK runtime of the backend image — GitHub, 2026-11-18
- [15] ETA for Temurin 25 and 21 releases fixing CVE-2026-114938 (Base64 intrinsic memory corruption, "Java4Shell") — GitHub, 2026-11-18
- [17] Review Java4Shell CVE-2026-114938 runtime guidance and Base64 mapper path — GitHub, 2026-11-21
- [18] docker-images Nacos Docker image contains a vulnerable OpenJDK 17 (Java4Shell) — GitHub, 2026-11-20
- [19] Remove Java4Shell Base64 intrinsics mitigation once the base JRE is patched — GitHub, 2026-11-18
- [20] Remove Java4Shell Base64 intrinsics mitigation once the minimum supported JDK is patched — GitHub, 2026-11-18
- [21] Java4Shell — Hacker News, 2026-11-17
Based on 21 items from Hacker News + GitHub, 2026-11-17 to 2026-11-21. Retrieval and ranking by the open-source last30days engine by Matt Van Horn.