{"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\/da\/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>Der er blevet afsl\u00f8ret en kritisk s\u00e5rbarhed (CVE-2026-114938) i OpenJDK, som muligg\u00f8r fjernudf\u00f8relse af kode eller l\u00e6kage af processens hukommelsesindhold ved angreb p\u00e5 Java-projekter, der bruger den standard dataafkodningsfunktion i Base64. Base64 anvendes i autentifikationsprotokoller, ved upload af filer til webservere, i e-mails og i mange andre situationer, der kr\u00e6ver overf\u00f8rsel af bin\u00e6re data i tekstform. S\u00e5rbarheden f\u00f8rer til, at kontrollerede data fra angriberen bliver skrevet til hukommelse uden for den tildelte buffer, og den skyldes en fejl i assembleroptimeringer, der bruger AVX-512 VBMI-instruktioner (Vector Byte Manipulation Instructions).    <\/p>\n<p>For an emergency application termination, it is sufficient to send a Base64 sequence consisting of 64 'A' characters, ending with the '=' character. Successful attacks for remote code execution operating before authentication have been demonstrated for projects such as Keycloak, Atlassian Jira, Atlassian Confluence, JFrog Artifactory, Jenkins, and PingFederate. After authentication, vulnerabilities were exploited in Apache Kafka Broker, Apache Solr, Elasticsearch, Gerrit, and Spinnaker.    <\/p>\n<p>Men dette er kun de projekter, der blev d\u00e6kket i den indledende test, og i betragtning af den brede anvendelse af Base64-formatet kan problemet p\u00e5virke mange andre systemer. Blandt andet er der blevet udviklet prototyper af exploits, der kan angribe applikationer baseret p\u00e5 Apache Struts og Spring Boot-frameworks. Muligheden for angreb p\u00e5 klientbaserede Java-applikationer, der opretter TLS-forbindelse med <a class=\"wpil_keyword_link\" href=\"https:\/\/prohoster.info\/da\/server\/dts-prohoster\/\"   title=\"serveren\" data-wpil-keyword-link=\"linked\">serveren<\/a>, som kontrolleres af angriberne, er ogs\u00e5 blevet p\u00e5vist. Udnyttelsesteknikken er ikke universel, og for hver anvendelse af Base64 kr\u00e6ves det at udvikle en s\u00e6rlig exploit, men forskerne har v\u00e6ret i stand til at automatisere genereringen af s\u00e5danne exploits ved hj\u00e6lp af AI.      <\/p>\n<p>S\u00e5rbarheden opst\u00e5r fra OpenJDK 17.0.6 og p\u00e5virker afledte Java-distributioner, herunder Oracle Java SE, Oracle GraalVM, Amazon Corretto, Eclipse Temurin, Microsoft OpenJDK, Azul Zulu, BellSoft Liberica, SAP SapMachine og Red Hat OpenJDK. Oracle har udbedret s\u00e5rbarheden i den korrigerende opdatering af deres produkter i g\u00e5r, hvor yderligere 10 s\u00e5rbarheder ogs\u00e5 blev rettet. S\u00e5rbarhederne er blevet udbedret i versionerne af Java SE 27.0.1.1, 25.0.5.1, 21.0.13.1 og 17.0.21.1, 11.0.33.1 og 8u513. Status for udbedring af s\u00e5rbarheder i distributionerne kan vurderes p\u00e5 f\u00f8lgende sider: 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. Vulnerabilities have been observed on Intel CPUs, including the Intel Xeon Ice Lake, Sapphire Rapids, Emerald Rapids, and Granite Rapids, and for AMD systems in EPYC and Ryzen CPUs, starting from the Zen 4 microarchitecture. ARM64-based systems are not affected by this issue. As a workaround to mitigate 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 AVX-512 VBMI instruction 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 AVX-512 VBMI vector instructions, which allow processing large data blocks in a single cycle using bit masks. The problem arises from the incorrect calculation of the string size ending with the '=' character, which is used as a padding character for incomplete blocks when the length of the input data is not a multiple of 3 bytes.     <\/p>\n<p>During the processing of the '=' characters, the decoder reduces the final string size since the final block contains 1 or 2 bytes instead of 3, but due to a miscalculation, an integer underflow occurred during subtraction. The presence of the '=' character at the end of a certain string size led to the computation of a negative value of -1 or -2. These values were then processed as unsigned 64-bit integers, resulting in the creation of a bit mask where all bits are equal to 1 (-1u64).     <\/p>\n<p>For preserving the decoding result of a packed string of 64 bytes, a buffer size of 50 bytes was allocated (in Base64, every 3 original bytes are encoded into 4 characters), but when specifying the bit mask -1u64 in the evmovdqub instruction while processing the final characters, 64 bytes were written to the position with an offset of 48 instead of 2, meaning 62 bytes were written out of bounds of the buffer. The vulnerability is exploited by overwriting the field size of the subsequent array, allowing the attacker to gain primitives for arbitrary reading and writing in memory.<br \/>\n<br \/>Kilde: <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\/da\/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=\"da_DK\" \/>\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\/da\/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 from OpenJDK, affecting many Java applications | ProHoster","description":"Information about a critical vulnerability (CVE-2026-114938) in OpenJDK has been disclosed, enabling remote code execution or the leakage of process memory contents when attacking Java projects.","canonical_url":"https:\/\/prohoster.info\/da\/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":"da_DK","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\/da\/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\/da\/wp-json\/wp\/v2\/posts\/184314","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/prohoster.info\/da\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/prohoster.info\/da\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/prohoster.info\/da\/wp-json\/wp\/v2\/users\/10"}],"replies":[{"embeddable":true,"href":"https:\/\/prohoster.info\/da\/wp-json\/wp\/v2\/comments?post=184314"}],"version-history":[{"count":1,"href":"https:\/\/prohoster.info\/da\/wp-json\/wp\/v2\/posts\/184314\/revisions"}],"predecessor-version":[{"id":184315,"href":"https:\/\/prohoster.info\/da\/wp-json\/wp\/v2\/posts\/184314\/revisions\/184315"}],"wp:attachment":[{"href":"https:\/\/prohoster.info\/da\/wp-json\/wp\/v2\/media?parent=184314"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/prohoster.info\/da\/wp-json\/wp\/v2\/categories?post=184314"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/prohoster.info\/da\/wp-json\/wp\/v2\/tags?post=184314"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}