Riftweld

Statement from Riftweld

2 December 2026

Riftweld has received an allegation from a prospective client. The organisation alleges that individuals associated with Riftweld were involved in improper activity targeting its systems.

We take this allegation seriously. An allegation of this kind against a security firm goes to the trust on which our work depends. The matter is under investigation, and we are cooperating fully with all relevant parties. In the meantime, we have stepped back from our regular engagements to give it our full attention.

No finding of wrongdoing has been made. If the investigation establishes that anyone has fallen short of the standards we expect, we will take appropriate action. Out of respect for the process and for everyone concerned, we will not comment further on the details.

Enquiries about this matter may be directed to security@riftweld.com.

Riftweld

From the Riftweld archive · Insight · 18 November 2026

Who Put a Heap Overflow in Java's Base64 Decoder?

A 65-byte string — 64 capital A's and one equals sign — can write 62 bytes past the end of a heap buffer in the Base64 decoder shipped with Java 17, 21, 25 and 27. That is the finding Calif.io published on November 17, 2026, under the name Java4Shell. By the end of that day, CISA had strongly urged organizations to patch "immediately," and Oracle had shipped fixes in its November Critical Security Patch Update. The record is unusually full for a vulnerability this young, and less tidy than the first headlines suggested. This post examines what the record shows, and where the story still does not fit.

THE 65-BYTE TRIGGER

The bug is not in the Java language. It is in a native optimization inside OpenJDK's HotSpot virtual machine, the code that makes Base64 decoding fast. Base64 carries binary data through systems that expect text: authentication protocols, file uploads, network messages. OpenJDK's x86-64 intrinsic handles it with specialized CPU instructions, processing input in 256-byte blocks, or 64-byte blocks when the input is shorter.

For a 65-byte input, the decoder allocates a 50-byte output buffer. According to Calif.io's writeup, the routine mishandles the stray =, computes a negative output length, and turns that into a full 64-byte write starting at offset 48. The last 62 bytes land outside the buffer. Java rejects the input afterward. The write has already happened. On older OpenJDK 17 builds, the trigger is 128 A's and an equals sign.

Calif describes the result as a fixed-value overwrite, not a clean arbitrary write. The exploit work is in arranging the heap so the overwrite lands somewhere useful. The firm says it built a heap leak called JavaBleed, then remote code execution. CISA's enrichment of the CVE record classifies the flaw as CWE-122, a heap-based buffer overflow. Rapid7's initial post called it memory corruption. Both fit.

WHO FOUND IT?

THE AFTERNOON THE RECORD FILLED IN

OpenJDK's advisory page carries a last-update stamp of 17:44 UTC on November 17; the advisory index says 20:24 UTC. CISA's alert went up the same day. The CVE record, assigned by Oracle, was published at 21:32 UTC. Calif says the patch landed at 1:00 p.m. Pacific, about half an hour before the record.

Rapid7's post appeared the same day. It described "a memory corruption vulnerability in Java 17 and above," attached a CVSS v4 score of 9.2, and added a caveat that later summaries dropped: "These CVE-specific details remain preliminary, pending confirmation in Oracle or OpenJDK advisories."

The confirmation arrived, and it did not match the summary in every particular.

WHO IS ACTUALLY EXPOSED?

Calif.io says the flaw affects OpenJDK 17.0.6 and later, and only on x86-64 processors with AVX-512 VBMI support. ARM64 is not affected. That is narrower than "Java 17 and above," but it is not small.

Calif says it demonstrated pre-authentication remote code execution, in default configurations, against Keycloak, Jira, Confluence, Artifactory, Jenkins and PingFederate; post-authentication execution against Kafka Broker, Solr, Elasticsearch, Gerrit and Spinnaker; and execution in sample Struts and Spring Boot applications. The firm calls the lists non-exhaustive.

The client-side case is the one defenders forget. Calif says samczsun shared an exploit showing that a Java program opening a TLS connection to a malicious server can be compromised even if it exposes no service.

THE VERSION STORY DOES NOT QUITE FIT

Oracle's risk matrix lists CVE-2026-114938 under Oracle Java SE, GraalVM for JDK and GraalVM Enterprise Edition. The component is Compiler. Remote exploitation without authentication: yes. The score is CVSS v3.1 8.1, with Attack Vector Network, Attack Complexity High, Privileges Required None, User Interaction None, Scope Unchanged, and High impact on confidentiality, integrity and availability.

Oracle's Note 1 narrows the trigger: the flaw "can only be exploited by supplying data to APIs in the specified Component without using Untrusted Java Web Start applications or Untrusted Java applets, such as through a web service." That is not every Java listener. It is a service that feeds attacker-controlled data into the compiler component's APIs.

Oracle lists the affected supported versions as 8u511b33-perf, 17.0.21.0.3, 21.0.13.0.3, 25.0.5.0.3 and 27.0.1.0.3 for Oracle Java SE; 17.0.21.0.3 and 21.0.13.0.3 for GraalVM for JDK; and 21.3.20.0.3 for GraalVM Enterprise Edition. OpenJDK's risk matrix marks only 17, 21, 25 and 27 for this CVE. Its advisory also lists 8u512 and 11.0.33, but the matrix does not mark those lines for this flaw. Calif says 17.0.6 and later.

The 8u entry is the outlier: a performance build Oracle does not explain alongside the modern releases. Treat that as a question for Oracle, not a license to ignore Java 8.

The scoring is the other outlier. Rapid7 and Calif cite CVSS v4 9.2, which both call Critical. The CVE record carries CVSS v3.1 8.1, which the record labels High. They are different scoring systems, not a correction of one by the other. The 8.1 vector's High attack complexity is the part to read: this is not a worm that walks through every Java port. It is a difficult exploit that becomes practical in applications that feed attacker data into Base64 decoding.

Oracle's November update contains 655 patches; Java SE gets 11, all remotely exploitable without authentication, according to Oracle. Oracle calls the CSPU format "smaller, more focused." The adjective is doing some work.

WHAT REMAINS UNKNOWN

Exploitation in the wild is not documented. As of the CVE record's last update on November 18 at 04:49 UTC, CISA's SSVC block listed Exploitation: none, Automatable: no, and Technical Impact: total. Calif published a proof of concept and videos of the exploits. A proof of concept is not a campaign.

Whether the 8u build is genuinely affected or a documentation artifact is unresolved, as is how many vendors have rebuilt their bundled runtimes. CISA's inventory warning is the practical one: JDKs and Java runtimes may not appear as separate entries in software inventories.

Calif says there is no universal exploit; the chain depends on how Base64 is used and how the application works. That lowers the odds of a single mass payload. It does not lower the odds that a targeted attacker will do the work.

Oracle's general warning that attackers have exploited Oracle vulnerabilities for which patches existed is not evidence about this CVE. It is a reason not to sit on the patch.

WHAT TO DO BEFORE THE NEXT WINDOW

Update to your vendor's fixed build. If you run OpenJDK, the advisory lists the affected versions; its matrix marks 17, 21, 25 and 27 for this CVE. For Oracle Java SE, the risk matrix lists the supported versions it patches.

Find the runtimes that do not look like runtimes: container base images, application servers, build agents, CI/CD controllers, monitoring agents and vendor appliances. CISA notes that JDKs and Java runtimes may not appear as separate inventory entries. Record the exact build string in your inventory, not the major version.

If you cannot patch immediately, Calif lists two JVM flags: -XX:-UseBASE64Intrinsics to disable the hardware-accelerated Base64 routines, or -XX:UseAVX=2 to disable AVX-512. Apply UseAVX only on x86-64; OpenJDK on ARM does not recognize it and will fail to start. CISA's compensating controls sit at the application boundary: restrict and validate Base64 input, enforce input-size limits, and limit unauthenticated access. None of these is a fix.

Prioritize internet-facing services that decode untrusted Base64, then internal services and build infrastructure. The AVX-512 VBMI requirement narrows the hardware list. It does not excuse an inventory that never finds the runtime in the first place.

The CISA instruction is plain: "Apply relevant Java and vendor patches as soon as they are available, prioritizing internet-facing systems." The rest is inventory, and inventory is the part large Java estates are worst at. The bug is a heap overflow in an optimization most applications never asked for. The fix is a version bump most organizations will struggle to prove they applied.

Java's old promise was that you would not have to think about memory. This week, you have to think about 64 A's and an equals sign.

SOURCES

  • Calif.io, "Java4Shell: Write once, RCE everywhere" — https://calif.io/java4shell
  • CISA, "Critical Java Vulnerability Requires Immediate Patching," November 17, 2026 — https://www.cisa.gov/news-events/alerts/2026/11/17/critical-java-vulnerability-requires-immediate-patching
  • CVE Program, CVE-2026-114938 record (CVE Services API) — https://cveawg.mitre.org/api/cve/CVE-2026-114938
  • Oracle, Critical Security Patch Update Advisory — November 2026 — https://oracle.com/security-alerts/cspunov2026.html
  • OpenJDK, Vulnerability Advisory 2026/11/17 — https://openjdk.org/groups/vulnerability/advisories/2026-11-17
  • OpenJDK, Vulnerability Advisories index — https://openjdk.org/groups/vulnerability/advisories
  • Rapid7, "CVE-2026-114938: Reported Critical Pre-authentication Remote Code Execution in Java 17," November 17, 2026 — https://rapid7.com/blog/post/etr-cve-2026-114938-reported-critical-pre-authentication-remote-code-execution-java-17

Statement from Riftweld · security@riftweld.com