Researchers have disclosed a memory-corruption flaw in OpenJDK that can expose Java applications to remote code execution on certain x86-64 systems. Tracked as CVE-2026-114938 and dubbed Java4Shell by security firm Calif, the vulnerability sits in the runtime’s hardware-accelerated Base64 decoder.

The flaw affects OpenJDK 17.0.6 and later when the Java runtime uses an x86-64 processor with AVX-512 VBMI support. Malformed Base64 input can trigger an out-of-bounds memory write in the decoder’s optimized assembly path. Red Hat’s advisory says the vulnerable code path is not present in its OpenJDK 8 and 11 builds, while ARM64 systems and x86-64 processors without AVX-512 VBMI are not known to be affected.

Calif said it demonstrated unauthenticated remote code execution in default configurations of Keycloak, Atlassian Jira, Confluence, JFrog Artifactory, Jenkins and PingFederate. It also reported authenticated exploits against Apache Kafka Broker, Apache Solr, Elasticsearch, Gerrit and Netflix Spinnaker. The researchers said there is no universal exploit because each application needs a suitable way to pass attacker-controlled Base64 data to the vulnerable decoder. Censys noted that these application-specific results came from Calif’s own testing and had not been independently confirmed.

The severity ratings differ by scoring system. Calif assigned the flaw a CVSS 4.0 score of 9.2, while Oracle rated it 8.1 under CVSS 3.1 in its November 2026 Critical Patch Update. Datadog’s analysis lists Oracle’s first fixed releases as Java 17.0.21.1, 21.0.13.1, 25.0.5.1 and 27.0.1.1. Amazon Corretto has also published fixed builds for Java 17, 21, 25 and 27, according to the Censys advisory.

READ
Equinor Confirms Cyberattack on IT Systems, Output Unaffected

Censys said no exploitation in the wild had been reported as of November 17. The same advisory notes that the flaw can also expose Java heap memory, potentially revealing data held by the affected process, while Calif has published a proof of concept for the memory corruption but has not released its application-specific code-execution chains.


Buy ExpressVPN with PayPal or Credit Card
Advertisement