Java4Shell: CISA Urges Patching of Java RCE Flaw
The flaw in the HotSpot JVM's Base64 decoder allows pre-authentication code execution on widely used enterprise software. No in-the-wild exploitation has been recorded, but Oracle and OpenJDK shipped fixes on November 17.
TechShield Team

The bug matters because it sits in the JVM itself, not in a library you could swap out. Any application running on OpenJDK or a distribution built on it inherits the flaw as soon as it decodes Base64 on the right hardware.
Where the bug lives
CVE-2026-114938, now widely known as Java4Shell, is an out-of-bounds write in the routine OpenJDK uses to decode Base64 on x86-64 CPUs with AVX-512 VBMI support. According to research from Calif, reported by SecurityWeek, an invalid Base64 string can push the routine to write past the end of its output buffer, corrupting adjacent heap data before Java flags the input as invalid.
"Specially crafted Base64 input could crash the JVM and allow for unauthenticated remote code execution."
That is how CISA described the flaw in an alert covered by The Hacker News on November 18.
The impact has two layers. The lighter one is denial of service: security firm VulnCheck confirmed that once an attacker finds a reachable entry point relying on the affected decoding logic, a quick series of crafted requests reliably takes the service down. The heavier one is RCE: with careful heap manipulation, the corrupted memory can disclose sensitive data, a capability Calif calls JavaBleed and compares to Heartbleed, or lead to remote code execution. Heap data exposed this way could contain PII, secret keys and tokens.
The scores differ depending on who assigns them. Calif gives it a CVSS 4.0 score of 9.2. Oracle's advisory lists CVSS 3.1 at 8.1, remotely exploitable without authentication but with high attack complexity. The gap is normal when the scales differ, and as we argued in an earlier piece on vulnerability prioritization, a CVSS number never tells you whether your application is actually in the danger zone.
Which applications are in the danger zone
Calif tested remote code execution against popular enterprise software under two sets of conditions:
| Conditions | Applications |
|---|---|
| No authentication, default settings | Keycloak, Atlassian Jira, Atlassian Confluence, JFrog Artifactory, Jenkins, PingFederate |
| Valid account required | Apache Kafka Broker, Apache Solr, Elasticsearch, Gerrit, Spinnaker |
Calif stresses that neither list is exhaustive, and the team also achieved code execution against sample apps built on Apache Struts and Spring Boot.
The entry points are nothing exotic. Calif notes the decoder can be reached through everyday functionality, including authentication and file uploads. There is no obscure port to close and call it a day.
There is also a client-side angle. Based on an exploit shared with Calif by security researcher samczsun, a Java application can be compromised when it connects to an attacker-controlled server over TLS, even if it runs no services at all. For integration jobs that call external APIs, this scenario belongs in the risk assessment.
Affected versions and hardware:
- According to Calif, OpenJDK versions from 17.0.6 onward are vulnerable, along with distributions built on it: Amazon Corretto, Eclipse Temurin, Microsoft Build of OpenJDK, Azul Zulu, Red Hat OpenJDK and Oracle Java SE.
- The OpenJDK advisory lists Java 17, 21, 25 and 27 as affected.
- The flaw exists only on x86-64 hardware with AVX-512 VBMI: Intel Xeon from the Ice Lake generation onward, AMD on Zen 4 or newer. ARM64 systems are not vulnerable.
How hard is exploitation in practice
Separate the two outcomes. Crashing the JVM is easy. VulnCheck is explicit: once a reachable entry point relying on the buggy decode logic is found, a short burst of requests is enough to take the service down. For anything internet-facing, that alone is a serious availability risk.
RCE is much harder. VulnCheck built a full RCE exploit in its own testing, but achieving it requires manipulating the heap layout and finding a target-specific way to leak addresses and bypass ASLR. The firm does not expect CVE-2026-114938 to be easily or widely exploitable, but as with PHP2Shell, adversaries are likely to find narrow but functional paths to RCE in specific applications. Calif says the same in different words: there is no universal exploit, and each application may require different steps depending on how it uses Base64.
The public PoC demonstrates memory corruption but does not achieve code execution. The weaponized chains for individual products stay private until everyone has had a chance to upgrade.
The discovery story deserves attention. Calif researcher Quang Luong needed one hour to find the vulnerability and two more to build the first working exploit, at a total token cost under $200, with AI playing a key role in both steps. The barrier for another party to repeat the exercise is not high.
Exploitation status: as of November 18, there is no evidence the vulnerability has been exploited in the wild. Cisco Talos anticipates probing attempts soon. The window between "patched" and "probed" is closing.
Patching and mitigation
Fixes are available from two sources. Oracle's November 2026 Critical Security Patch Update, released November 17, resolves 11 Java SE vulnerabilities, including Java4Shell. The full CSPU carries 655 patches for roughly 640 CVEs across 21 products, more than 300 of them addressing flaws exploitable remotely without authentication, and 62 fixing critical-severity bugs. OpenJDK shipped its own fix for the flaw as well, according to The Hacker News. Oracle releases CSPUs on the third Tuesday of every month, with the next one expected on December 15, according to SecurityWeek.
If you run a third-party distribution such as Corretto, Temurin or Zulu, you need to wait for your vendor to ship a patched build. Endor Labs noted that as of November 17 the fix was not yet present in the public OpenJDK 17, 21 and 25 update repositories. Verify before you consider the upstream upgrade done.
CISA urges immediate patching, with internet-exposed systems first, and advises hunting for Java installations embedded in third-party software, containers and appliances, since these often do not appear separately in asset inventories.
On Linux, check whether your CPU supports AVX-512 VBMI:
grep -o 'avx512_vbmi' /proc/cpuinfo | head -1
If the command prints avx512_vbmi, the CPU meets one precondition for exploitation. That does not mean you are exploitable, but it is a signal to raise the priority. ARM64 machines are not affected.
On detection: since crashing is far easier than code execution, watch for unusual JVM deaths, especially after requests carrying long or malformed Base64 strings. Talos expects probing soon, so this signal deserves an alert rule.
What to do before the weekend
- Inventory every Java runtime: directly installed JDKs, Docker images, and Java embedded in commercial software and appliances. The last group is often missing from the CMDB, and it is exactly where CISA points.
- Cross-reference each host against the AVX-512 VBMI hardware condition to rank priority.
- Patch in order: internet-facing services first, especially the applications in the table above.
- Set alerts for abnormal JVM crashes.
- Track patched builds from your Java distribution vendor rather than waiting on upstream repositories.
For the Java workloads running in Docker, a centralized container management view shortens the inventory step considerably. TechShield's tsPanel manages Docker alongside websites, databases and WAF from a single console.
Sources
- CISA Urges Immediate Patching of Java4Shell Flaw That Could Allow Remote Code Execution - The Hacker News
- Java4Shell Vulnerability Puts Many Enterprise Applications at Risk of Takeover - SecurityWeek
- Oracle Patches 640 Vulnerabilities With November 2026 CSPU - SecurityWeek
- Oracle Patches Over 1,200 Vulnerabilities With October 2026 CPU - SecurityWeek
Assess your organisation’s security posture
Get a consultationRelated articles

8 New KEV Entries: Barracuda, BroadWorks, UnrealIRCd
CISA added eight exploited vulnerabilities to KEV on Nov 10 and 13. Barracuda ESG flaws chain into root; UnrealIRCd was hit one day after its patch.Read full article
Outlook NTLMv2 Flaw Exploited: Patch by Nov 24
Microsoft's November 2026 patch cycle fixes 1,259 flaws. Exploited Outlook flaw CVE-2026-124194 can leak NTLMv2 hashes; CISA deadline is November 24.Read full article
Beyond CVSS: Smarter Vulnerability Prioritization
High CVSS scores do not equal high risk. Combine EPSS, KEV, VEX and penetration testing to spend limited patching capacity where it counts.Read full article