<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/calif-discloses-java4shell-flaw-in-openjdk-s-base64-decoder-5sqf1kb7r" -->

---
title: Calif discloses Java4Shell flaw in OpenJDK's Base64 decoder
description: Calif disclosed a flaw dubbed 'Java4Shell' in OpenJDK's optimized Base64 decoder on November 17th. Calif claims it allows unauthenticated remote attackers to...
canonical: https://daily.dev/posts/calif-discloses-java4shell-flaw-in-openjdk-s-base64-decoder-5sqf1kb7r
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Calif discloses Java4Shell flaw in OpenJDK's Base64 decoder | daily.dev
og:description: Calif disclosed a flaw dubbed 'Java4Shell' in OpenJDK's optimized Base64 decoder on November 17th. Calif claims it allows unauthenticated remote attackers to...
og:url: https://daily.dev/posts/calif-discloses-java4shell-flaw-in-openjdk-s-base64-decoder-5sqf1kb7r
og:image: https://api.daily.dev/og/posts/5SQf1kB7R.png
og:image:alt: Calif discloses Java4Shell flaw in OpenJDK's Base64 decoder
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Calif discloses Java4Shell flaw in OpenJDK's Base64 decoder

**[Awesome Java Newsletter](https://daily.dev/sources/java_libhunt)** · 1 min read · 1 upvotes · 0 comments

## Summary

Calif disclosed a flaw dubbed 'Java4Shell' in OpenJDK's optimized Base64 decoder on November 17th. Calif claims it allows unauthenticated remote attackers to overwrite heap memory and achieve remote code execution. Upwind reproduced a 62-byte heap overflow tied to the bug but says code execution itself has not yet been proven.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://runtimewire.com/article/calif-discloses-java4shell-flaw-in-openjdk-s-base64-decoder>

## Questions this post answers

### What is the Java4Shell vulnerability in OpenJDK's Base64 decoder?

Java4Shell is a memory-corruption flaw disclosed by a researcher known as Calif in OpenJDK's optimized Base64 decoder. Calif claims it allows an unauthenticated remote attacker to overwrite heap memory and achieve code execution. Security firm Upwind reproduced a 62-byte heap overflow tied to the bug but states that actual remote code execution has not yet been proven.

_Developers patching OpenJDK dependencies can track disclosures like this one on daily.dev._

## Similar posts on daily.dev

- [Java4Shell: RCE in OpenJDK when processing Base64](https://daily.dev/posts/java4shell-rce-in-openjdk-when-processing-base64-drof93tkm) · Hacker News · 3 upvotes · 1 comments
- [A new critical Java hole illustrates the enterprise IT visibility problem](https://daily.dev/posts/a-new-critical-java-hole-illustrates-the-enterprise-it-visibility-problem-udg1inypk) · CSO Online · 0 upvotes · 0 comments

---

Tags: [#security](https://daily.dev/tags/security), [#java](https://daily.dev/tags/java)

[View this post on daily.dev](https://daily.dev/posts/calif-discloses-java4shell-flaw-in-openjdk-s-base64-decoder-5sqf1kb7r)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Calif discloses Java4Shell flaw in OpenJDK's Base64 decoder","url":"https://daily.dev/posts/calif-discloses-java4shell-flaw-in-openjdk-s-base64-decoder-5sqf1kb7r","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/calif-discloses-java4shell-flaw-in-openjdk-s-base64-decoder-5sqf1kb7r"},"datePublished":"2026-11-19T21:08:11.824Z","dateModified":"2026-11-19T21:09:47.173Z","description":"Calif disclosed a flaw dubbed 'Java4Shell' in OpenJDK's optimized Base64 decoder on November 17th. Calif claims it allows unauthenticated remote attackers to...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/cf5b276c44eafef5105f36036966054f?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/cf5b276c44eafef5105f36036966054f?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"Awesome Java Newsletter","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Awesome Java Newsletter","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/7729929f2ca649d7b13f6b04aa94d300","url":"https://daily.dev/sources/java_libhunt"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/calif-discloses-java4shell-flaw-in-openjdk-s-base64-decoder-5sqf1kb7r","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":1},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"security,java","timeRequired":"PT1M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Awesome Java Newsletter","item":"https://daily.dev/sources/java_libhunt"},{"@type":"ListItem","position":3,"name":"Calif discloses Java4Shell flaw in OpenJDK's Base64 decoder"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/calif-discloses-java4shell-flaw-in-openjdk-s-base64-decoder-5sqf1kb7r#faq","mainEntity":[{"@type":"Question","name":"What is the Java4Shell vulnerability in OpenJDK's Base64 decoder?","acceptedAnswer":{"@type":"Answer","text":"Java4Shell is a memory-corruption flaw disclosed by a researcher known as Calif in OpenJDK's optimized Base64 decoder. Calif claims it allows an unauthenticated remote attacker to overwrite heap memory and achieve code execution. Security firm Upwind reproduced a 62-byte heap overflow tied to the bug but states that actual remote code execution has not yet been proven. Developers patching OpenJDK dependencies can track disclosures like this one on daily.dev."}}]}
```

