NewsCrawler.org

Java4Shell: memory-corruption bug in OpenJDK's Base64 decoder

Java4Shell: memory-corruption bug in OpenJDK's Base64 decoder
Califが公開したJava4Shellの攻撃実証デモの一場面(出典:Calif)
Image: news.mynavi.jp

Update · : Oracle's Critical Security Patch Update Advisory for November 2026, published 17 November (local time), fixes 11 Java SE vulnerabilities, including Java4Shell, which Oracle rates CVSS v3.1 8.1 (High). Oracle's advisory covers Java SE 8, 11, 17, 21, 25 and 27, and JPCERT/CC reports that ARM64 processors are not affected and that it has not confirmed exploitation in attacks as of 18 November.

Update · : The vulnerability was patched in Oracle's November 2026 Critical Patch Update, released at 21:00 UTC on 17 November. Cloudflare has added Managed Ruleset rules that detect malformed Base64 input patterns, available on Pro, Business and Enterprise plans and enabled by default in Log mode.

Update · : The OpenJDK Vulnerability Group has confirmed the flaw, and Oracle has shipped fixed Java builds that address it. Calif has published its technical write-up, which describes a possible memory-leak variant it calls "JavaBleed" and states that Java 11 and standard Java 8 are not affected.

3 more updates

Update · : The new article states that the vulnerability is patched by Oracle in its critical security patch update advisory. It also says the disclosure was made in the afternoon, without a specific date.

Update · : Upwind has independently reproduced the 62-byte overflow but says remote code execution has not yet been proven. This contradicts the claim in the brief that initial testing reached code execution in several products.

Update · : On 18 December, South Korea's Ministry of Science and ICT and the Korea Internet & Security Agency (KISA) urged organizations to urgently inspect systems and apply security updates. They named Oracle Java SE 17.0.21.0.3 and some GraalVM products as affected, and asked that internet-facing services, groupware, ERP and core business systems be prioritized.

On 17 November, Calif disclosed Java4Shell, CVE-2026-114938[1], a memory-corruption vulnerability in the Base64 decoder of OpenJDK, the most popular Java runtime. Under CVSS 4.0[2] it scores 9.2 out of 10 (critical). A remote attacker with no credentials can overwrite heap[3] memory, read it in the style of Heartbleed, and reach remote code execution.

The bug is in OpenJDK's optimized code that uses AVX-512 VBMI[4] instructions on supported x86-64 processors. For a 65-character input, OpenJDK allocates a 50-byte array, and a negative output length causes a 64-byte write, sending 62 bytes past the end of the array. The trigger is 64 A characters followed by a single =; in older OpenJDK 17, it is 128 A characters followed by =.

Initial testing reached remote code execution in default configurations of Keycloak, Atlassian Jira, Atlassian Confluence, JFrog Artifactory, Jenkins and PingFederate without authentication, and of Apache Kafka Broker, Apache Solr, Elasticsearch, Gerrit and Netflix Spinnaker with authentication. These lists are non-exhaustive. Quang Luong found the bug in an hour and built the first working exploit in two more hours, at a total token cost of less than $200.

Video from the article: Demo video · Watch on YouTube

Read the original news.mynavi.jpDiscussion

Discussion

Commenters mostly say the attack is narrower than the title suggests, since it needs AVX-512 on x86-64 hardware and specific conditions, such as Java decoding Base64 behind a proxy with request buffering turned off. Several suggest workarounds, such as the -XX:-UseBASE64Intrinsics flag, while one notes that a workaround with -XX:UseAVX=2 is unconfirmed. One commenter expects a serious compromise of critical infrastructure within six months.

Sources

  • calif.io

    Java4Shell: RCE in OpenJDK when processing Base64

    422 comments

  • KRGeekNews KO

    Java4Shell: OpenJDK Base64 디코더에서 인증 없는 원격 코드 실행 취약점 발견 (CVE-2026-114938)

    17 points6 comments

  • X

    Author: Dark Web Informer (@DarkWebInformer)

    Critical Java4Shell vulnerability allows hackers to remotely execute code in Jira, Confluence, Jenkins, and other major platforms; CVE-2026-114938 YouTube Video (attached): https:// youtube.com/watch?…

    2,675 likes1,398 bookmarks32 replies263,621 viewsReposts: 544

  • Mynavi TECH+ JA new source ·

    Oracle Javaに11件の脆弱性、「Java4Shell」は認証不要でコード実行の恐れ 2時間前 セキュリティ

    2 more outlets

  • Phoronix new source ·

    Java4Shell Vulnerability For OpenJDK Java That Can Lead To Remote Code Execution

    1 mention3 more outlets

  • Arelvox - Build. Learn. Understand Technology. new source ·

    Author: u/Arelvox

    Java4Shell (CVE-2026-114938) is confirmed and patched. Raspberry Pi/ARM is safe, here's a 10-second check for x86 boxes

    27 comments

  • KRDigital Today KO new source ·

    자바 실행환경서 보안 취약점 발견…정부, 긴급 점검 당부

    1 more outlet

  • RuntimeWire new source ·

    Author: u/ryanmerket

    Calif discloses Java4Shell flaw in OpenJDK's Base64 decoder

    98 comments

  • Cloudflare Blog new source ·

    Author: u/Ok_Stomach6651

    How Cloudflare WAF helps protect against Java4Shell (CVE-2026-114938)

    4 comments

Published: First seen: Updated: Читать по-русски

Open as a page