{"id":228,"date":"2026-11-18T09:58:29","date_gmt":"2026-11-18T14:58:29","guid":{"rendered":"https:\/\/quentinpidcock.com\/content\/?p=228"},"modified":"2026-11-18T09:58:29","modified_gmt":"2026-11-18T14:58:29","slug":"java4shell-one-bad-base64-string-can-own-your-java-server-patch-it-today","status":"publish","type":"post","link":"https:\/\/quentinpidcock.com\/content\/java4shell-one-bad-base64-string-can-own-your-java-server-patch-it-today\/","title":{"rendered":"Java4Shell: One Bad Base64 String Can Own Your Java Server \u2014 Patch It Today"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">I do not run a lot of Java in public if I can help it, but a lot of the software other people depend on does \u2014 login systems, ticketing systems, build servers, search. That is why the flaw disclosed this week as Java4Shell matters even if you have never written a line of Java yourself.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">On November 17, Oracle patched CVE-2026-114938 in its November Critical Patch Update, and CISA urged organizations to patch it immediately that same day. The bug is in Java&#8217;s hardware-accelerated Base64 decoder in the x86-64 HotSpot JVM. Calif, the firm that found it, says a short malformed Base64 string \u2014 a string of &#8220;A&#8221; characters plus a padding character \u2014 makes the decoder write 62 bytes past the end of its output buffer. Java rejects the input, but only after that write has already happened.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">That is memory corruption, and Calif says it turned it into code execution without logging in on default installations of Keycloak, Atlassian Jira and Confluence, JFrog Artifactory, Jenkins, and PingFederate. Those are not obscure test apps. Keycloak and PingFederate are identity providers \u2014 the front door other systems trust. Jira, Confluence, and Jenkins sit in the middle of a lot of companies&#8217; daily work.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Who is actually affected<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Not every Java install is vulnerable, and that matters for not wasting your day. Check Point&#8217;s advisory says three things all have to be true at the same time: an unpatched runtime, a specific processor, and a path for attacker-controlled Base64 to reach Java&#8217;s standard decoder.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">On the runtime side, that means unpatched OpenJDK-based builds from 17.0.6 onward on Java 17, and all Java 21, 25, and 27 builds before the fix, from any vendor. Standard Java 8 and Java 11, and Java 17 before 17.0.6, are listed as not affected.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">On the processor side, the vulnerable code only runs on x86-64 chips with AVX-512 VBMI \u2014 including Intel Xeon Ice Lake through Granite Rapids, and AMD EPYC and Ryzen Zen 4 and newer. ARM64 is not affected, and neither are x86-64 chips without that feature.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">On reachability, a lot of Java apps decode Base64 before authentication \u2014 in Basic authentication headers, SAML artifacts, CSRF tokens, and file uploads. That is why a login is often not needed in the first place.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">How bad is it, really?<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">I am not going to call this the end of the world, and I am not going to wave it off either.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Here is the honest part first: as of November 18, there is no confirmed exploitation in the wild, and CISA has not added this flaw to its Known Exploited Vulnerabilities catalog. Independent labs have reproduced crashes and a memory leak, but code execution so far rests on Calif&#8217;s own demonstrations. The scores disagree too \u2014 Oracle rates it 8.1 under CVSS 3.1, Calif rates it 9.2 under CVSS 4.0, and Red Hat gave a preliminary 9.8. Do not get stuck arguing about which number is right.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">What pushes this up my list is the combination: pre-login reach, identity providers at the top of the affected list, and a triggering input that has been visible publicly since September, according to Calif and reporting on the disclosure. There is no single universal exploit \u2014 each product needs its own work \u2014 but that slows down mass attacks, it does not protect a specific, valuable target. If you run one of those identity or build systems facing the internet, treat this as urgent.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">What to actually do<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>1. Patch the Java runtime \u2014 that is the only complete fix.<\/strong> For Oracle Java SE, the fixed builds are 17.0.21.1, 21.0.13.1, 25.0.5.1, and 27.0.1.1 \u2014 note the extra .1, a regular November build without it is not the fix. Amazon Corretto and Azul Zulu have fixed builds out as well. As of November 18, Red Hat had not yet shipped fixes for Red Hat Enterprise Linux 8, 9, and 10, and Check Point lists Eclipse Temurin as not yet released \u2014 if you are on those, check your vendor today and use the workaround below until their build lands.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>2. Patch in the right order.<\/strong> Identity providers first \u2014 Keycloak and PingFederate. Then Jira, Confluence, Jenkins, and Artifactory. Then any other internet-facing Java service that handles logins, tokens, or uploads. Internal systems and Java clients come after that, not instead of it.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>3. Remember the bundled runtimes.<\/strong> A lot of products ship their own copy of Java inside the installer. Updating Java on the operating system does not fix the copy inside Jira or any other bundled app. Inventory the runtime each application actually uses, and get that product&#8217;s update from its vendor.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>4. If you cannot patch today, use the startup flag.<\/strong> Add -XX:-UseBASE64Intrinsics to the Java startup options and restart the service. That turns off only the accelerated Base64 decoder with the bug. Check Point warns not to use -XX:DisableIntrinsic=_base64_decodeBlock on its own \u2014 it can stop Java from starting. Whichever route you take, nothing counts until the Java process has restarted, so verify the running version after the restart.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>5. Watch for crashes.<\/strong> Failed attempts often crash the Java process. Look for unexpected restarts and new hs_err_pid log files, especially around login, token, and upload handling. A crash is not proof someone got in, but right now it is a signal worth investigating, not clearing and forgetting.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">If you do not run Java servers, your action list is short: make sure the Java-based services you log into are being patched by whoever runs them, and move on. If you do run them, especially an identity provider, do not put this on next week&#8217;s list. The patch exists, the workaround exists, and the window between disclosure and someone else building a reliable exploit is exactly the window you are given to use.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Sources: Check Point, &#8220;Java4Shell (CVE-2026-114938): Check Your Java Services Now,&#8221; November 18, 2026 \u2014 <a href=\"https:\/\/blog.checkpoint.com\/security\/java4shell-cve-2026-114938-check-your-java-services-now\/\">https:\/\/blog.checkpoint.com\/security\/java4shell-cve-2026-114938-check-your-java-services-now\/<\/a> \u2014 and SQ Magazine, &#8220;Java4Shell Patched by Oracle as Red Hat Fixes Lag Behind,&#8221; November 18, 2026 \u2014 <a href=\"https:\/\/sqmagazine.co.uk\/java4shell-patched-oracle-red-hat-fixes-lag\/\">https:\/\/sqmagazine.co.uk\/java4shell-patched-oracle-red-hat-fixes-lag\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>I do not run a lot of Java in public if I can help it, but a lot of the software other people depend on does \u2014 login systems, ticketing systems, build servers, search. That is why the flaw disclosed this week as Java4Shell matters even if you have never written a line of Java [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8],"tags":[],"class_list":["post-228","post","type-post","status-publish","format-standard","hentry","category-security"],"_links":{"self":[{"href":"https:\/\/quentinpidcock.com\/content\/wp-json\/wp\/v2\/posts\/228","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/quentinpidcock.com\/content\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/quentinpidcock.com\/content\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/quentinpidcock.com\/content\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/quentinpidcock.com\/content\/wp-json\/wp\/v2\/comments?post=228"}],"version-history":[{"count":1,"href":"https:\/\/quentinpidcock.com\/content\/wp-json\/wp\/v2\/posts\/228\/revisions"}],"predecessor-version":[{"id":229,"href":"https:\/\/quentinpidcock.com\/content\/wp-json\/wp\/v2\/posts\/228\/revisions\/229"}],"wp:attachment":[{"href":"https:\/\/quentinpidcock.com\/content\/wp-json\/wp\/v2\/media?parent=228"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/quentinpidcock.com\/content\/wp-json\/wp\/v2\/categories?post=228"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/quentinpidcock.com\/content\/wp-json\/wp\/v2\/tags?post=228"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}