---
title: "Java4Shell: a Java flaw AI found in an hour runs code on Jira, Confluence, Jenkins"
summary: "Calif’s write-up and the fixes of 17 November: how 65 characters of Base64 corrupt Java’s memory, which servers and chips are affected, and what to patch first."
url: https://www.thetechbag.com/blog/java4shell-ai-found-flaw-jira-confluence-jenkins
format: Note
desk: "Security"
area: "Threats & vulnerabilities"
region: Global
published: 2026-11-18
facts_checked: 2026-11-18
author: TechBag (The TechBag Journal)
tags: ["Java4Shell","CVE-2026-114938","Java vulnerability","OpenJDK vulnerability","Java Base64 vulnerability","Calif","Oracle Critical Security Patch Update","Jira vulnerability","Confluence vulnerability","Jenkins vulnerability","Keycloak","JFrog Artifactory","PingFederate","AVX-512","OpenJDK","CISA","CERT-In","AI vulnerability discovery","Codex","patch management"]
cover: https://www.thetechbag.com/blog/covers/java4shell-ai-found-flaw-jira-confluence-jenkins.png
---

# Java4Shell: a Java flaw AI found in an hour runs code on Jira, Confluence, Jenkins

*Calif’s write-up and the fixes of 17 November: how 65 characters of Base64 corrupt Java’s memory, which servers and chips are affected, and what to patch first.*

Note · Security · Threats & vulnerabilities · By TechBag · Published 2026-11-18 · Facts checked 2026-11-18 · Canonical: https://www.thetechbag.com/blog/java4shell-ai-found-flaw-jira-confluence-jenkins

A flaw in the Base64 decoder built into Java lets an attacker with no password run code on Jira, Confluence, Jenkins, Keycloak, JFrog Artifactory and PingFederate in their default set-ups, the security firm Calif says. It calls the flaw Java4Shell (CVE-2026-114938). One of its researchers found it with an AI coding agent in an hour, had a working exploit two hours later, and spent less than US$200 on tokens.[1] Oracle and the OpenJDK project shipped fixes on 17 November, at 1pm Pacific time by Calif’s account (2:30am IST on 18 November), and CISA told organisations the same day to patch immediately.[1][2]

1 hour

to find the flaw with an AI agent; 2 more for a working exploit

Calif

<US$200

in AI tokens for the find and the first exploit

Calif

6

products where Calif ran code with no login: Jira, Confluence, Jenkins and three more

Calif

8.1 vs 9.2

Oracle’s CVSS 3.1 score against Calif’s CVSS 4.0 score

Oracle, Calif

## How 65 characters break a memory-safe language

Java checks memory accesses for the programs written in it, but parts of Java itself are written in lower-level code. Base64 writes binary data as text and turns up in sign-in protocols, file uploads and network messages. To decode it faster, OpenJDK runs hand-written routines that use AVX-512 VBMI instructions on x86-64 processors. The bug sits in the part that handles the last few characters.[1]

**Figure: One malformed string of 65 characters writes 62 bytes past the end of an array**

*The Java4Shell chain as Calif describes it, from a warmed-up decoder to code execution, November 2026*

1. 01Warm upMany valid decodes make Java’s JIT compiler switch to the fast AVX-512 routine. Nothing is corrupted yet.
2. 02Trigger64 ‘A’ characters and one ‘=’: Java allocates 50 bytes, the routine computes a negative length and writes a full 64.
3. 03LeakThe stray bytes enlarge a neighbouring buffer, which then reads out heap memory: keys, tokens, personal data.
4. 04Run codeA chain of further writes reaches the JVM’s compiled-code area. Each product needs its own chain.

Source: Calif, Java4Shell technical write-up · as of 17 November 2026

Java later rejects the bad input, but by then the neighbouring memory has been overwritten.[1] Calif also ran code after login on Kafka, Solr, Elasticsearch, Gerrit and Spinnaker, and in sample apps built on Spring Boot and Apache Struts; a Java program that merely opens a TLS connection to a malicious server can be hit too. Calif says there is no universal exploit and is keeping its product chains private until users have upgraded.[1] The researcher, Quang Luong, says he asked OpenAI’s Codex to audit the JIT compiler, intrinsics and cryptography, spent about 20 minutes prompting and discarding unusable findings, and then got this one.[1]

## Who is exposed, and what to do

Three conditions must all hold: OpenJDK 17.0.6 or later, in any build made from it (Oracle Java SE and GraalVM, Amazon Corretto, Eclipse Temurin, Microsoft, Azul Zulu, Red Hat and others); an x86-64 processor with AVX-512 VBMI, which includes Intel Xeon from Ice Lake onwards and AMD from Zen 4; and input reaching the decoder. ARM64 servers are not affected.[1] Oracle’s fix is one of 655 patches in its monthly Critical Security Patch Update, 11 of them for Java SE; it credits Calif’s Quang Luong and a second reporter, Albert Yang.[3] The OpenJDK advisory lists the flaw in hotspot/compiler and names 27.0.1.0.3, 25.0.5.0.3, 21.0.13.0.3 and 17.0.21.0.3 and earlier as affected.[4]

The two scores differ because Oracle, using CVSS 3.1, rates the attack’s complexity High, while Calif scores it under CVSS 4.0.[1][3] Cisco Talos said on 17 November it had not seen the flaw exploited, and the flaw was not in CISA’s catalogue of known exploited vulnerabilities as of its 17 November update.[5][7] CERT-In issued advisory CIAD-2026-0061 on 18 November, rated High.[6]

ReportedThe order CISA gives

Find every Java runtime, including those bundled inside third-party products, container images and appliances, which may not show up in an inventory; patch internet-facing systems first; where that cannot happen yet, restrict Base64 input and unauthenticated access; and watch for unexpected JVM crashes.[2] Calif’s stop-gap is to start Java with `-XX:-UseBASE64Intrinsics`, or `-XX:UseAVX=2` on x86-64 only, since Java on ARM refuses to start with that flag.[1]

What to watch is the gap between fix and attack. Calif’s previous find, PHP2Shell, reached CISA’s exploited list five days after its fix, as [our analysis of that week](https://www.thetechbag.com/blog/one-week-php-node-java-oracle-critical-patches) counted.[1][8] Google’s Project Zero cites language models that speed up finding and exploiting flaws as its reason to [cut its disclosure deadline in steps to 30 days](https://www.thetechbag.com/blog/project-zero-disclosure-deadline-30-days-2028), and [published CVEs have passed 100,000 this year](https://www.thetechbag.com/blog/cves-pass-100000-double-last-year).

How we did this

Figures as of 18 November 2026, 10:30pm IST

The mechanism, the six products, the hour, the two hours, the token cost, the processors and the stop-gap flags are Calif’s own account; we have not tested them. The 8.1 score, attack complexity, patch counts and credits are from Oracle’s advisory; the affected versions from Oracle and OpenJDK. The 1pm Pacific release time is Calif’s; the IST conversion is ours. We checked CISA’s KEV catalogue (version 2026.11.17, 1,782 entries) on 18 November; a later addition would not show here. We leave out a claim on Calif’s page about Java’s use in large companies, which carries no source.

Spotted an error? Write to us; corrections are published at the foot of the piece.

Sources

1. [Calif: Java4Shell, Write once, RCE everywhere (story and technical write-up by Quang Luong)](https://calif.io/java4shell/) — disclosed 17 November 2026
2. [CISA: Critical Java Vulnerability Requires Immediate Patching](https://www.cisa.gov/news-events/alerts/2026/11/17/critical-java-vulnerability-requires-immediate-patching) — 17 November 2026
3. [Oracle: Critical Security Patch Update Advisory, November 2026 (Java SE risk matrix, credits)](https://www.oracle.com/security-alerts/cspunov2026.html) — 17 November 2026, Rev 1
4. [OpenJDK: Vulnerability Advisory 2026/11/17](https://openjdk.org/groups/vulnerability/advisories/2026-11-17) — 17 November 2026
5. [Cisco Talos: CVE-2026-114938, critical vulnerability in OpenJDK Java](https://blog.talosintelligence.com/java4shell/) — 17 November 2026
6. [CERT-In: Advisory CIAD-2026-0061, Remote Code Execution Vulnerability in Oracle Java SE and Oracle GraalVM Products](https://www.cert-in.org.in/s2cMainServlet?pageid=PUBVLNOTES02&amp;VLCODE=CIAD-2026-0061) — 18 November 2026
7. [CISA: Known Exploited Vulnerabilities catalogue (JSON feed)](https://www.cisa.gov/sites/default/files/feeds/known_exploited_vulnerabilities.json) — catalogue version 2026.11.17, read 18 November 2026
8. [The TechBag Journal: Six days from patch to exploited: PHP, Node.js, Oracle and the order to fix them](https://www.thetechbag.com/blog/one-week-php-node-java-oracle-critical-patches) — 30 October 2026

**Disclosure.** TechBag is a software reseller: it earns when companies buy through it, including from vendors named here. The analysis is TechBag’s own; no vendor paid for or saw this piece before publication. Facts are labelled reported, TechBag count or our view.

**Read this next:** [PHP2Shell takes a server in one request; 2.6 million hosts are exposed](https://www.thetechbag.com/blog/php2shell-every-php-web-server-one-request) — The same shape in PHP: how two flaws let one unauthenticated request run code on a server, with 2.6 million hosts exposed.

Go deeper on TechBag

- [Project Zero cuts its bug deadline from 90+30 days to 90, then 60, then 30](https://www.thetechbag.com/blog/project-zero-disclosure-deadline-30-days-2028) — why AI-found bugs are shortening disclosure deadlines
- [Published CVEs pass 100,000 this year, double last year’s 49,972](https://www.thetechbag.com/blog/cves-pass-100000-double-last-year) — the volume of flaws a patch team now ranks
- [Vulnerability management guide](https://www.thetechbag.com/browse/security/vulnerability-management) — the scanners that find Java runtimes bundled inside products and images
