Menu

Buffer overflow in OpenJDK's Base64 decoder enables unauthenticated RCE
📰

Buffer overflow in OpenJDK's Base64 decoder enables unauthenticated RCE

DEV Community: java·RC·about 5 hours ago
#9tsGc6UV
#devtojava#devto#dev#java#base64
Long article (620 words) — no AI summary yet.
Reading 0:00
15s threshold

CVE-2026-114938, which the researcher Calif is calling Java4Shell, is a buffer overflow in OpenJDK's Base64 decoder. The optimized decoder miscalculates the store mask for the padded tail of its input and writes past the end of the output buffer. The bug lives in the JIT-compiled fast path behind java.util.Base64.Decoder , so any application that decodes attacker-controlled Base64 can reach it. Login headers and file uploads are the obvious entry points.

Calif reports remote code execution without authentication against default configurations of Keycloak, Atlassian Jira and Confluence, JFrog Artifactory, Jenkins and PingFederate, and code execution after authentication against Apache Kafka, Solr, Elasticsearch, Gerrit and Spinnaker. There is no universal exploit; each target needs its own chain built around how it feeds Base64 to the decoder.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.