{"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\/no\/blog\/news\/java4shell-rce-vulnerability-in-openjdk-base64-decoder-affecting-many-java-applications","title":{"rendered":"Java4Shell \u2014 RCE-s\u00e5rbarhet i Base64-dekoderen fra OpenJDK, som p\u00e5virker mange Java-applikasjoner","gt_translate_keys":[{"key":"rendered","format":"text"}]},"content":{"rendered":"<p>Informasjon om en kritisk s\u00e5rbarhet (CVE-2026-114938) i OpenJDK er avdekket, som tillater eksternt kodekj\u00f8ring eller lekkasje av prosessminneinnhold ved angrep mot Java-prosjekter som bruker standard Base64-datakodere. Base64 brukes i autentiseringsprotokoller, n\u00e5r filer lastes opp til en webserver, i e-post og i mange andre situasjoner som krever overf\u00f8ring av bin\u00e6re data i tekstform. S\u00e5rbarheten f\u00f8rer til at kontrollerte data fra angriperen skrives til minnet utenfor den tildelte bufferen og skyldes en feil i assembleroptimeringer som bruker AVX-512 VBMI-instruksjoner (Vector Byte Manipulation Instructions).    <\/p>\n<p>For an emergency application shutdown, it is sufficient to transmit a Base64 sequence consisting of 64 characters 'A', ending with the character '='. Successful attacks for remote code execution, operating at the pre-authentication stage, have been demonstrated for projects such as Keycloak, Atlassian Jira, Atlassian Confluence, JFrog Artifactory, Jenkins, and PingFederate. At the post-authentication stage, vulnerabilities have been exploited in Apache Kafka Broker, Apache Solr, Elasticsearch, Gerrit, and Spinnaker.    <\/p>\n<p>Men dette er bare prosjektene som er dekket i den f\u00f8rste testen, og med tanke p\u00e5 bredden av bruken av Base64-formatet kan problemet ber\u00f8re mange andre systemer. Blant annet er det utviklet prototyper av exploits som kan angripe applikasjoner basert p\u00e5 Apache Struts og Spring Boot-rammeverk. Muligheten for \u00e5 angripe klientbaserte Java-applikasjoner som oppretter TLS-tilkoblinger med <a class=\"wpil_keyword_link\" href=\"https:\/\/prohoster.info\/no\/server\/dts-prohoster\/\"   title=\"serveren\" data-wpil-keyword-link=\"linked\">serveren<\/a>, som kontrolleres av angriperen, er ogs\u00e5 vist. Utnyttelsesteknikken er ikke universell, og for hver bruk av Base64 kreves det oppretting av spesifikke exploits, men forskerne har klart \u00e5 automatisere generering av slike exploits ved hjelp av AI.      <\/p>\n<p>S\u00e5rbarheten viser seg fra OpenJDK 17.0.6 og p\u00e5virker avledede distribusjoner av Java, inkludert Oracle Java SE, Oracle GraalVM, Amazon Corretto, Eclipse Temurin, Microsoft OpenJDK, Azul Zulu, BellSoft Liberica, SAP SapMachine og Red Hat OpenJDK. Oracle har rettet s\u00e5rbarheten i g\u00e5rsdagens korrigeringsoppdatering av produktene sine, som i tillegg til denne problemstillingen har rettet ytterligere 10 s\u00e5rbarheter. S\u00e5rbarhetene er rettet i utgavene 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 fiksing av s\u00e5rbarheter i distribusjoner kan vurderes p\u00e5 f\u00f8lgende sider: Debian, Ubuntu, SUSE\/openSUSE, RHEL, Gentoo, Arch, Fedora, FreeBSD.         <\/p>\n<p>An attack is only possible on systems that support AVX-512 VBMI instructions. Vulnerabilities have been observed on Intel CPU systems such as Intel Xeon Ice Lake, Sapphire Rapids, Emerald Rapids, and Granite Rapids, as well as on AMD systems in EPYC and Ryzen CPUs starting from the Zen 4 microarchitecture. Systems based on ARM64 architecture are not vulnerable to this issue. As a workaround to block the vulnerability, OpenJDK can be run with the flag '-XX:-UseBASE64Intrinsics' to disable assembler optimizations, or '-XX:UseAVX=2' to disable AVX-512.    <\/p>\n<p>To check for AVX-512 VBMI instruction support in Linux, you can use the command (the output should include 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 using AVX-512 VBMI vector instructions, which allow processing large data blocks in a single cycle with bitmasks. The problem arises due to incorrect calculation of string sizes that end with the '=' character, which is used as a placeholder (padding) for incomplete blocks when the length of the source data is not a multiple of 3 bytes.     <\/p>\n<p>During the processing of '=' symbols, 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 during subtraction, and the presence of the '=' character at the end of a specific size string led to the computation of a negative value of -1 or -2. These values were then processed as unsigned 64-bit numbers, which resulted in the creation of a bitmask where all bits are equal to 1 (-1u64).     <\/p>\n<p>For saving the decoding result of a packed string of 64 bytes, a buffer of 50 bytes was allocated (in Base64, every 3 original bytes are encoded into 4 symbols), but when specifying the bitmask -1u64 in the evmovdqub instruction while processing the final characters, 64 bytes were written to the offset position of 48 instead of 2, which means that 62 bytes were written out of bounds of the buffer. Exploiting the vulnerability involves overwriting the field with the size of the subsequent array, which allows the attacker to gain primitives for arbitrary read and write operations 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\/no\/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=\"nn_NO\" \/>\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\/no\/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 has been revealed about a critical vulnerability (CVE-2026-114938) in OpenJDK, allowing for remote code execution or leakage of process memory content when attacking Java-based projects.","canonical_url":"https:\/\/prohoster.info\/no\/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":"nn_NO","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\/no\/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\/no\/wp-json\/wp\/v2\/posts\/184314","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/prohoster.info\/no\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/prohoster.info\/no\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/prohoster.info\/no\/wp-json\/wp\/v2\/users\/10"}],"replies":[{"embeddable":true,"href":"https:\/\/prohoster.info\/no\/wp-json\/wp\/v2\/comments?post=184314"}],"version-history":[{"count":1,"href":"https:\/\/prohoster.info\/no\/wp-json\/wp\/v2\/posts\/184314\/revisions"}],"predecessor-version":[{"id":184315,"href":"https:\/\/prohoster.info\/no\/wp-json\/wp\/v2\/posts\/184314\/revisions\/184315"}],"wp:attachment":[{"href":"https:\/\/prohoster.info\/no\/wp-json\/wp\/v2\/media?parent=184314"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/prohoster.info\/no\/wp-json\/wp\/v2\/categories?post=184314"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/prohoster.info\/no\/wp-json\/wp\/v2\/tags?post=184314"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}