<-- Back

How to mitigate the Java4Shell vulnerability (CVE-2026-114938) on Studio Pro developer workstations

Introduction

Java4Shell (CVE-2026-114938) is a critical vulnerability in the Base64 decoder of the Java Virtual Machine (JVM). Malformed Base64 input can corrupt memory and lead to remote code execution. The vulnerability affects Java 17, 21 and 25 on x86-64 CPUs that support Advanced Vector Extensions 512 Vector Byte Manipulation Instructions (AVX-512 VBMI). Java 8, Java 11 and ARM64 hosts are not affected.

The vulnerability is in the Java Development Kit (JDK), not in Studio Pro code. Studio Pro uses the JDK selected in the preferences to build and run apps locally. If no JDK is installed, the Studio Pro installer installs Eclipse Temurin. Updating Studio Pro does not update a JDK that is already installed.

The JDK versions supported by Studio Pro are the following:

  • Studio Pro 9.24.22 and newer 9.24 versions: JDK 11, 17 or 21.
  • Studio Pro 10.24: JDK 21.
  • Studio Pro 11.0 to 11.13: JDK 21.
  • Studio Pro 11.14 and newer: JDK 25.

A workstation is exposed only when all of the following apply:

  • The JDK used by Studio Pro is version 17, 21 or 25 and does not contain the vendor fix.
  • The workstation CPU is x86-64 and supports AVX-512 VBMI.
  • The JDK processes untrusted or malformed Base64 input, for example while an app runs locally from Studio Pro.

The risk on developer workstations is low. The most likely exposure is when an app running locally is reachable from other machines. This is the Studio Pro default, unless the operating system firewall blocks the port. Base64 is decoded in basic authentication headers, JSON Web Tokens (JWT), OpenID Connect (OIDC) and SAML tokens, Base64 fields in published REST and OData services, and data the app consumes from external sources.

This article describes how to check whether a workstation is exposed and how to mitigate the vulnerability. For apps deployed to servers, see the related articles in Additional information.

Environment

Studio Pro v9.24.19 and newer

Instructions/Procedure

Check whether a workstation is exposed

To check whether a workstation is exposed, follow these steps:

  1. In Studio Pro, go to Edit > Preferences > Deployment and note the JDK directory for the Java version the app uses.
  2. In a terminal, run "<JDK directory>\bin\java" -version to identify the JDK vendor and version. Use the full path, so that the terminal does not run a different Java installation from the system path.
  3. Run "<JDK directory>\bin\java" -Xlog:os+cpu -version and check the output for avx512_vbmi. If avx512_vbmi is not listed, or the workstation is ARM64, the workstation is not exposed.

Mitigate the vulnerability

Update the JDK to a release that contains the fix. For Eclipse Temurin, the fixed releases are 17.0.21.1+2, 21.0.13.1+2 and 25.0.5.1+2 or newer. For other JDK distributions, follow the advisory of the JDK vendor. After installing the fixed JDK, select it in Edit > Preferences > Deployment > JDK if Studio Pro does not detect it automatically.

Until the JDK is updated, apply the JVM option to each app that runs locally:

  1. In Studio Pro, go to App > Settings > Configurations and edit the configuration used to run the app.
  2. On the Server tab, add -XX:-UseBASE64Intrinsics to Extra JVM parameters.
  3. Run the app again to apply the option.

The -XX:-UseBASE64Intrinsics option disables the vulnerable code regardless of the hardware and mitigates the vulnerability without updating the JDK. Do not use -XX:UseAVX=2 instead, because the JVM fails to start on ARM64 hosts.

To further reduce exposure, set Runtime port security and Admin port security on the Server tab of the configuration so that the ports are only open to the current machine (localhost), not to other machines.

Outcome

Apps run locally from Studio Pro no longer use the vulnerable Base64 code after the JDK is updated to a fixed release or the JVM option is applied.

Additional information

Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.

To provide feedback, please open a ticket here. Don't forget to include the article's URL along with the feedback you would like to provide.