Skip to content
last30days.ai

Java4Shell OpenJDK RCE

Hot topic #3 on 2026-11-21, from Hacker News · 338 comments, 1,180 points · brief written Nov 21, 2026, 3:00 AM

The posts that put it on the list

What the internet is saying about "Java4Shell OpenJDK RCE"

TL;DR

  • CVE-2026-114938 ("Java4Shell") is a heap overflow in OpenJDK's AVX-512 Base64 decoder intrinsic, disclosed 2026-11-17, and it can give unauthenticated RCE [7] [9].
  • Until fixed JDK builds are in your images, the workaround widely used across projects is the JVM flag -XX:-UseBASE64Intrinsics [6] [14] [15].
  • Exposure depends on CPU and code path. Only x86-64 CPUs with AVX-512 VBMI are affected [9], and at least one project concluded its stack can't reach the bug [18].

What happened

  • The flaw is in HotSpot's x86-64 AVX-512 intrinsic for java.util.Base64 decoding, where a malformed Base64 input lets an attacker write past a heap buffer [7].
  • One write-up rates it CVSS 9.8 per Red Hat and 8.1 per NVD/cve.org, and says it hits OpenJDK 17.0.6+, including 21 and 25 [9].
  • BleepingComputer reported it can allow unauthenticated RCE on Jenkins, Atlassian Jira, Confluence and Keycloak [4].
  • An HN commenter quoting the Calif write-up said the heap-grooming attack over the network is sensitive to RTT and jitter, and that low, stable round-trip times make it more reliable [1].
  • Another commenter in that thread said the exploit conditions are very specific but many hosts will still be affected [1].

What people are doing with it

  • Keycloak maintainers told users to set JAVA_OPTS_APPEND=-XX:-UseBASE64Intrinsics and restart, with fresh images to follow once OpenJDK fixes are available [6].
  • Others applied the same flag: a Minecraft/UniFi deployment [15], a Red Hat UBI9 OpenJDK 21 service [14] and a proposal for ECK-managed Elasticsearch [10].
  • Semgrep published free detection scripts that check five conditions [1].
  • Fixes are arriving unevenly:
    • Temurin recipes were updated [7].
    • MidnightBSD added OpenJDK 27.0.1.1+4, which includes the Java4Shell security release [17].
    • A Debian-based image maintainer was waiting for Debian to ship a fixed openjdk-25 [12].
  • The TYPO3 EXT:solr team checked where Solr 9.10.1 and 10.0.0 decode request data with java.util.Base64. It said that, as far as it can see, Java4Shell cannot be reached through TYPO3 and EXT:solr [18].
  • A Minecraft launcher issue asked for patched Java versions to be offered in the launcher and for users to be pushed to update [19].

Problems and open questions

  • Disclosure timing: An HN thread (455 points) pointed to a September 2026 report. A PR author there said Oracle emailed asking them not to proceed with a PR until approved [2]. Another commenter said they independently found the bug with a fuzzing harness and reported it to Oracle [2].
  • One commenter suggested the LLM assisting the Calif researchers might have read that earlier report [2].
  • Severity ratings differ: NHS Digital's advisory lists severity as Medium [5], while the CVSS figures cited elsewhere are 9.8 and 8.1 [9].
  • Exploitation status: One incident catalogue cites a public PoC and researcher RCE demonstrations but says no confirmed field exploitation is asserted [11].
  • Patch availability: A Keycloak commenter complained "No patch before gta 6" [6].

New in the last 30 days

  • 2026-11-20: A PR mitigated CVE-2026-114938 (RHSB-2026-018) by disabling Base64 intrinsics [14].
  • 2026-11-19: HN discussion of the earlier September report [2]. Temurin recipe updates [7] and MidnightBSD's OpenJDK 27.0.1.1 port [17] followed.
  • 2026-11-18: BleepingComputer coverage [4], NHS Digital advisory [5] and a Debian-image heads-up [12].
  • 2026-11-17: Disclosure, with an OpenJDK advisory [3]. The main HN thread had 1180 points and 338 comments [1]. Oracle announced a Critical Security Patch Update pre-release with 652 new security patches [20].

Where the conversation is

Hacker News carries the technical and disclosure-process debate [1] [2]. GitHub issues and PRs carry practical mitigation work, and they broadly agree on the flag-based workaround [6] [14] [15].

Bottom line

The bug is serious but narrow: it needs specific AVX-512 hardware and an attacker-reachable Base64 decode path. The evidence is mostly vendor and maintainer mitigation notes plus one big HN thread. It contains no confirmed in-the-wild exploitation [11], and fix availability varies by distribution.

Sources

Based on 20 items from Hacker News + GitHub, 2026-11-17 to 2026-11-20. Retrieval and ranking by the open-source last30days engine by Matt Van Horn.