Trivial Base64 input triggers heap overflow in OpenJDK, CVE-2026-114938 rated 9.2
Security firm Calif disclosed a flaw in OpenJDK's Base64 decoder, tracked as CVE-2026-114938 and dubbed Java4Shell, which scores 9.2 under CVSS 4.0. A 65-byte input made of 64 A characters followed by an equals sign causes the decoder to write 62 bytes past the end of an array, and on older OpenJDK 17 builds a longer string of As triggers it. The bug sits in an AVX-512 VBMI optimized assembly path, so it only affects x86-64 hosts whose CPUs support that instruction set. Calif demonstrated exploits against several widely deployed applications, including Keycloak, Jenkins, Kafka, and Elasticsearch, and a researcher also showed a client-side case where a Java program connecting to a malicious TLS server could be compromised. The recommended remediation is to patch the OpenJDK runtime from the vendor's advisory rather than individual applications, prioritizing internet-facing pre-authentication services.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in