{"id":184314,"date":"2026-11-18T15:36:27","date_gmt":"2026-11-18T13:36:27","guid":{"rendered":"https:\/\/prohoster.info\/blog\/news\/java4shell-rce-uyazvimost-v-dekodirovshhike-base64-iz-openjdk-zatragivayushhaya-mnogie-java-prilozheniya"},"modified":"2026-11-18T15:36:30","modified_gmt":"2026-11-18T13:36:30","slug":"java4shell-rce-vulnerability-in-openjdk-base64-decoder-affecting-many-java-applications","status":"publish","type":"post","link":"https:\/\/prohoster.info\/en\/blog\/news\/java4shell-rce-vulnerability-in-openjdk-base64-decoder-affecting-many-java-applications","title":{"rendered":"Java4Shell \u2014 RCE vulnerability in the Base64 decoder from OpenJDK, affecting many Java applications","gt_translate_keys":[{"key":"rendered","format":"text"}]},"content":{"rendered":"<p>Information has been revealed about a critical vulnerability (CVE-2026-114938) in OpenJDK, which allows for remote code execution or memory content leakage in Java projects that use the standard Base64 data decoder. Base64 is used in authentication protocols, file uploads to web servers, email, and many other situations where binary data needs to be transmitted in textual form. This vulnerability leads to writing data controlled by an attacker to memory outside the allocated buffer and is caused by an error in assembler optimizations using AVX-512 VBMI (Vector Byte Manipulation Instructions).    <\/p>\n<p>To trigger an emergency application shutdown, it is enough to send a Base64 sequence consisting of 64 characters 'A' ending with the character '='. Successful remote code execution attacks operating before authentication have been demonstrated for projects such as Keycloak, Atlassian Jira, Atlassian Confluence, JFrog Artifactory, Jenkins, and PingFederate. After authentication, Apache Kafka Broker, Apache Solr, Elasticsearch, Gerrit, and Spinnaker were successfully exploited.    <\/p>\n<p>However, these are only the projects covered in initial testing, and given the widespread use of the Base64 format, the issue could potentially affect many other systems. Among other things, prototypes of exploits have been created that can attack applications based on the Apache Struts and Spring Boot frameworks. There is also evidence of the possibility to attack client-side Java applications establishing a TLS connection with <a class=\"wpil_keyword_link\" href=\"https:\/\/prohoster.info\/en\/server\/dts-prohoster\/\"   title=\"proxy server\" data-wpil-keyword-link=\"linked\">proxy server<\/a>, which are controlled by the attackers. The exploitation technique is not universal, and a special exploit needs to be created for each use case of Base64, but researchers have managed to automate the generation of such exploits with the help of AI.      <\/p>\n<p>The vulnerability appears starting from OpenJDK 17.0.6 and affects derivative Java distributions, including Oracle Java SE, Oracle GraalVM, Amazon Corretto, Eclipse Temurin, Microsoft OpenJDK, Azul Zulu, BellSoft Liberica, SAP SapMachine, and Red Hat OpenJDK. Oracle has addressed the vulnerability in yesterday's patch update for its products, which fixed 10 vulnerabilities in addition to the one discussed. The vulnerabilities are resolved in Java SE releases 27.0.1.1, 25.0.5.1, 21.0.13.1, 17.0.21.1, 11.0.33.1, and 8u513. The status of vulnerability remediation in various distributions can be assessed on the following pages: Debian, Ubuntu, SUSE\/openSUSE, RHEL, Gentoo, Arch, Fedora, FreeBSD.         <\/p>\n<p>The attack is only possible on systems that support AVX-512 VBMI instructions. For Intel systems, vulnerabilities have been observed on Intel Xeon CPUs Ice Lake, Sapphire Rapids, Emerald Rapids, and Granite Rapids, while for AMD systems, it affects EPYC and Ryzen CPUs starting from the Zen 4 microarchitecture. Systems based on the ARM64 architecture are not affected. As a workaround, to block the vulnerability, OpenJDK can be launched with the flag '-XX:-UseBASE64Intrinsics' to disable assembly optimizations or '-XX:UseAVX=2' to disable AVX-512.    <\/p>\n<p>To check for AVX-512 VBMI instructions support in Linux, you can use the command (the output should contain the 4 flags avx512f, avx512bw, avx512vbmi, and bmi2): grep -m1 '^flags' \/proc\/cpuinfo | tr ' ' '\\n' | grep -E '^(avx512f|avx512bw|avx512vbmi|bmi2)$'      <\/p>\n<p>The vulnerability exists in the assembler implementation of the Base64 decoder, accelerated by the use of AVX-512 VBMI vector instructions, which allow processing large data blocks in a single cycle using bit masks. The problem arises from incorrect size calculations of strings ending with the '=' character used as padding for incomplete blocks when the length of the input data is not a multiple of 3 bytes.     <\/p>\n<p>During the processing of '=' characters, the decoder reduces the size of the resulting string since the final block contains 1 or 2 bytes instead of 3. However, due to a calculation error, an integer underflow occurred when subtracting, and the presence of the '=' character at the end of a specific size string led to the calculation of a negative value of -1 or -2. These values were subsequently processed as unsigned 64-bit numbers, resulting in the creation of a bit mask where all bits are equal to 1 (-1u64).     <\/p>\n<p>To store the decoding result of a 64-byte packed string, a buffer of 50 bytes was allocated (in Base64, every 3 input bytes are encoded into 4 characters). However, when specifying the bitmask -1u64 in the evmovdqub instruction while processing the final characters, 64 bytes were written at an offset position of 48 instead of 2, meaning 62 bytes were written beyond the buffer. This vulnerability allows for overwriting the field with the size of the following array, thereby providing attackers with primitives for arbitrary reading and writing in memory.<br \/>\n<br \/>Source: <a content=\"nofollow\" rel=\"nofollow\" href=\"https:\/\/www.opennet.ru\/opennews\/art.shtml?num=66711\">opennet.ru<\/a> <\/p>","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"excerpt":{"rendered":"<p>\u0420\u0430\u0441\u043a\u0440\u044b\u0442\u0430 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044f \u043e \u043a\u0440\u0438\u0442\u0438\u0447\u0435\u0441\u043a\u043e\u0439 \u0443\u044f\u0437\u0432\u0438\u043c\u043e\u0441\u0442\u0438 (CVE-2026-114938) \u0432 OpenJDK, \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u044e\u0449\u0435\u0439 \u0434\u043e\u0431\u0438\u0442\u044c\u0441\u044f \u0443\u0434\u0430\u043b\u0451\u043d\u043d\u043e\u0433\u043e \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u043a\u043e\u0434\u0430 \u0438\u043b\u0438 \u0443\u0442\u0435\u0447\u043a\u0438 \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u043c\u043e\u0433\u043e \u043f\u0430\u043c\u044f\u0442\u0438 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0430 \u043f\u0440\u0438 \u0430\u0442\u0430\u043a\u0435 \u043d\u0430 \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u043d\u044b\u0435 \u043d\u0430 \u044f\u0437\u044b\u043a\u0435 Java \u043f\u0440\u043e\u0435\u043a\u0442\u044b, \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e\u0449\u0438\u0435 \u0448\u0442\u0430\u0442\u043d\u044b\u0439 \u0434\u0435\u043a\u043e\u0434\u0438\u0440\u043e\u0432\u0449\u0438\u043a \u0434\u0430\u043d\u043d\u044b\u0445 \u0432 \u0444\u043e\u0440\u043c\u0430\u0442\u0435 Base64. Base64 \u043f\u0440\u0438\u043c\u0435\u043d\u044f\u0435\u0442\u0441\u044f \u0432 \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b\u0430\u0445 \u0430\u0443\u0442\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0446\u0438\u0438, \u043f\u0440\u0438 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0435 \u0444\u0430\u0439\u043b\u043e\u0432 \u043d\u0430 web-\u0441\u0435\u0440\u0432\u0435\u0440, \u0432 \u044d\u043b\u0435\u043a\u0442\u0440\u043e\u043d\u043d\u043e\u0439 \u043f\u043e\u0447\u0442\u0435 \u0438 \u0432\u043e \u043c\u043d\u043e\u0433\u0438\u0445 \u0434\u0440\u0443\u0433\u0438\u0445 \u0441\u0438\u0442\u0443\u0430\u0446\u0438\u044f\u0445, \u0442\u0440\u0435\u0431\u0443\u044e\u0449\u0438\u0445 \u043f\u0435\u0440\u0435\u0434\u0430\u0447\u0438 \u0431\u0438\u043d\u0430\u0440\u043d\u044b\u0445 \u0434\u0430\u043d\u043d\u044b\u0445 [&hellip;]<\/p>\n","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"author":10,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[702],"tags":[],"class_list":["post-184314","post","type-post","status-publish","format-standard","hentry","category-news"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.5.1 - aioseo.com -->\n\t<meta name=\"description\" content=\"\u0420\u0430\u0441\u043a\u0440\u044b\u0442\u0430 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044f \u043e \u043a\u0440\u0438\u0442\u0438\u0447\u0435\u0441\u043a\u043e\u0439 \u0443\u044f\u0437\u0432\u0438\u043c\u043e\u0441\u0442\u0438 (CVE-2026-114938) \u0432 OpenJDK, \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u044e\u0449\u0435\u0439 \u0434\u043e\u0431\u0438\u0442\u044c\u0441\u044f \u0443\u0434\u0430\u043b\u0451\u043d\u043d\u043e\u0433\u043e \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u043a\u043e\u0434\u0430 \u0438\u043b\u0438 \u0443\u0442\u0435\u0447\u043a\u0438 \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u043c\u043e\u0433\u043e \u043f\u0430\u043c\u044f\u0442\u0438 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0430 \u043f\u0440\u0438 \u0430\u0442\u0430\u043a\u0435 \u043d\u0430 \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u043d\u044b\u0435 \u043d\u0430 \u044f\u0437\u044b\u043a\u0435 Java \u043f\u0440\u043e\u0435\u043a\u0442\u044b.\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Alexander Kovalev\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/prohoster.info\/en\/blog\/news\/java4shell-rce-vulnerability-in-openjdk-base64-decoder-affecting-many-java-applications\" \/>\n\t\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.5.1\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"ProHoster | \u041a\u0443\u043f\u0438\u0442\u044c \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 DDoS, VPS VDS \u0441\u0435\u0440\u0432\u0435\u0440\u044b\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"\ud83e\udd47Java4Shell \u2014 RCE-\u0443\u044f\u0437\u0432\u0438\u043c\u043e\u0441\u0442\u044c \u0432 \u0434\u0435\u043a\u043e\u0434\u0438\u0440\u043e\u0432\u0449\u0438\u043a\u0435 Base64 \u0438\u0437 OpenJDK, \u0437\u0430\u0442\u0440\u0430\u0433\u0438\u0432\u0430\u044e\u0449\u0430\u044f \u043c\u043d\u043e\u0433\u0438\u0435 Java-\u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f | ProHoster\" \/>\n\t\t<meta property=\"og:description\" content=\"\u0420\u0430\u0441\u043a\u0440\u044b\u0442\u0430 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044f \u043e \u043a\u0440\u0438\u0442\u0438\u0447\u0435\u0441\u043a\u043e\u0439 \u0443\u044f\u0437\u0432\u0438\u043c\u043e\u0441\u0442\u0438 (CVE-2026-114938) \u0432 OpenJDK, \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u044e\u0449\u0435\u0439 \u0434\u043e\u0431\u0438\u0442\u044c\u0441\u044f \u0443\u0434\u0430\u043b\u0451\u043d\u043d\u043e\u0433\u043e \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u043a\u043e\u0434\u0430 \u0438\u043b\u0438 \u0443\u0442\u0435\u0447\u043a\u0438 \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u043c\u043e\u0433\u043e \u043f\u0430\u043c\u044f\u0442\u0438 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0430 \u043f\u0440\u0438 \u0430\u0442\u0430\u043a\u0435 \u043d\u0430 \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u043d\u044b\u0435 \u043d\u0430 \u044f\u0437\u044b\u043a\u0435 Java \u043f\u0440\u043e\u0435\u043a\u0442\u044b.\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/prohoster.info\/en\/blog\/news\/java4shell-rce-vulnerability-in-openjdk-base64-decoder-affecting-many-java-applications\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg\" \/>\n\t\t<meta property=\"og:image:width\" content=\"350\" \/>\n\t\t<meta property=\"og:image:height\" content=\"350\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2026-11-18T13:36:27+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2026-11-18T13:36:30+00:00\" \/>\n\t\t<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/prohoster\" \/>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"\ud83e\udd47Java4Shell \u2014 RCE vulnerability in the Base64 decoder in OpenJDK, affecting many Java applications | ProHoster","description":"Information about a critical vulnerability (CVE-2026-114938) in OpenJDK has been disclosed, allowing for remote code execution or the leakage of process memory content when attacking projects written in Java.","canonical_url":"https:\/\/prohoster.info\/en\/blog\/news\/java4shell-rce-vulnerability-in-openjdk-base64-decoder-affecting-many-java-applications","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":null,"og:locale":"en_US","og:site_name":"ProHoster | \u041a\u0443\u043f\u0438\u0442\u044c \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 DDoS, VPS VDS \u0441\u0435\u0440\u0432\u0435\u0440\u044b","og:type":"article","og:title":"\ud83e\udd47Java4Shell \u2014 RCE-\u0443\u044f\u0437\u0432\u0438\u043c\u043e\u0441\u0442\u044c \u0432 \u0434\u0435\u043a\u043e\u0434\u0438\u0440\u043e\u0432\u0449\u0438\u043a\u0435 Base64 \u0438\u0437 OpenJDK, \u0437\u0430\u0442\u0440\u0430\u0433\u0438\u0432\u0430\u044e\u0449\u0430\u044f \u043c\u043d\u043e\u0433\u0438\u0435 Java-\u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f | ProHoster","og:description":"\u0420\u0430\u0441\u043a\u0440\u044b\u0442\u0430 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044f \u043e \u043a\u0440\u0438\u0442\u0438\u0447\u0435\u0441\u043a\u043e\u0439 \u0443\u044f\u0437\u0432\u0438\u043c\u043e\u0441\u0442\u0438 (CVE-2026-114938) \u0432 OpenJDK, \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u044e\u0449\u0435\u0439 \u0434\u043e\u0431\u0438\u0442\u044c\u0441\u044f \u0443\u0434\u0430\u043b\u0451\u043d\u043d\u043e\u0433\u043e \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u043a\u043e\u0434\u0430 \u0438\u043b\u0438 \u0443\u0442\u0435\u0447\u043a\u0438 \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u043c\u043e\u0433\u043e \u043f\u0430\u043c\u044f\u0442\u0438 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0430 \u043f\u0440\u0438 \u0430\u0442\u0430\u043a\u0435 \u043d\u0430 \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u043d\u044b\u0435 \u043d\u0430 \u044f\u0437\u044b\u043a\u0435 Java \u043f\u0440\u043e\u0435\u043a\u0442\u044b.","og:url":"https:\/\/prohoster.info\/en\/blog\/news\/java4shell-rce-vulnerability-in-openjdk-base64-decoder-affecting-many-java-applications","og:image":"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg","og:image:secure_url":"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg","og:image:width":350,"og:image:height":350,"article:published_time":"2026-11-18T13:36:27+00:00","article:modified_time":"2026-11-18T13:36:30+00:00","article:publisher":"https:\/\/www.facebook.com\/prohoster"},"aioseo_meta_data":[],"gt_translate_keys":[{"key":"link","format":"url"}],"_links":{"self":[{"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/posts\/184314","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/users\/10"}],"replies":[{"embeddable":true,"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/comments?post=184314"}],"version-history":[{"count":1,"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/posts\/184314\/revisions"}],"predecessor-version":[{"id":184315,"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/posts\/184314\/revisions\/184315"}],"wp:attachment":[{"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/media?parent=184314"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/categories?post=184314"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/tags?post=184314"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}