Java4Shell (CVE-2026-114938): a Base64 string can take over Java servers — find and update every Java

CISA urges immediate patching of a critical flaw in the Java virtual machine. The hard part is finding all the Java copies hidden inside other products. Here is how.

Publicly disclosed: 17 November 2026

On 17 November 2026 CISA published an urgent alert about CVE-2026-114938, nicknamed Java4Shell. The bug is in the Base64 decoder of the standard Java virtual machine (HotSpot, on x86-64). Specially crafted Base64 text can corrupt memory and lets an attacker without a password run code on the server. Base64 is everywhere — in web requests, e-mail, tokens and APIs — so any Java application that decodes data from users may be reachable.

CVESeverityAffectedFixed in
CVE-2026-114938Critical — remote code executionJava (HotSpot JVM, x86-64)Oracle November 2026 patch update and matching OpenJDK builds

Why it is tricky

Many products ship their own private copy of Java and do not show it as “Java” in the list of installed programs: accounting and ERP systems, VPN and firewall management consoles, backup software, Jira and Confluence, Elasticsearch, Tomcat, printers and storage appliances, and Docker images. Updating the main Java on a server does not update these copies.

What to do

  1. Make an inventory of every Java runtime — on servers, in containers and inside vendor products:
    # Windows (PowerShell): find every java.exe, including bundled ones
    Get-ChildItem C:\ -Recurse -Filter java.exe -ErrorAction SilentlyContinue | ForEach-Object { $_.FullName; & $_.FullName -version 2>&1 | Select-Object -First 1 }
    # Linux
    find / -type f -name java -perm -u+x 2>/dev/null -exec {} -version \;
  2. Update Java to the November 2026 release from Oracle or your OpenJDK vendor (Adoptium, Amazon Corretto, Microsoft, Red Hat, etc.). Start with systems reachable from the internet.
  3. For products with built-in Java, install the vendor’s update or follow its advisory; do not replace the bundled Java by hand unless the vendor allows it.
  4. Until patched: do not expose Java admin panels to the internet, put a VPN or IP allow-list in front of them, and limit request size.
  5. Watch for sudden JVM crashes (hs_err_pid*.log files) and unknown processes started by Java — they can be signs of exploitation attempts. Compare with Log4Shell.

You cannot patch what you do not know you have — start with the inventory.

Sources: CISA alert, 17 Nov 2026, Oracle Security Patch Update, November 2026.

Need help with this? Contact CySec for a consultation.


All articles

Need help with this?

Our engineers can review your current setup and propose concrete improvements.