SØNDAG
2026-11-22

Too many projects, too many ideas, too few hours — one learning a day anyway

Java4Shell: RCE in OpenJDK Base64 decoder

If you self-host Keycloak, Jenkins, or Jira, Java4Shell is a pre-auth RCE. The bug lives in OpenJDK’s Base64 decoder, triggered by 64 ‘A’ characters followed by ’=’. Since most stacks run on Java, your default configs are likely exposed. The fix is urgent. I’d patch OpenJDK immediately and audit any service accepting Base64 input. The discovery method is equally telling: AI agents found and weaponized this in hours for under $200. For builders, this suggests AI is now a standard tool for hunting bugs in legacy code. Your defense must evolve from static review to active, AI-assisted fuzzing.


The story — Calif disclosed Java4Shell (CVE-2026-114938), a memory-corruption vulnerability in OpenJDK’s Base64 decoder scoring 9.2 CVSS. Malformed input allows remote code execution in Keycloak, Jenkins, and others without credentials. Researchers used AI agents to find and exploit the bug in hours for under $200, demonstrating the “centaur hacker” model. The vulnerability stems from optimized x86-64 assembly mishandling padding, leading to heap overwrites. (Source)