Java4Shell Vulnerability: Update Your JetBrains IDEs, ReSharper, .NET Tools, Toolbox App, and Gateway Now

Check your BMI

Summary

  • A critical security issue named Java4Shell was identified in OpenJDK, the basis of JetBrains Runtime (JBR), which is bundled with all JetBrains IDEs, ReSharper, the JetBrains Toolbox App, and Gateway.
  • The vulnerability is tracked as CVE-2026-114938 and presents the weakness CWE-787 (out-of-bounds write).
  • If abused, the flaw may enable an attacker to crash the IDE or, in the worst case, execute code remotely on your machine. 
  • Only IDEs running on x86-64 CPUs with AVX-512 VBMI support are exposed. ARM64, including Apple Silicon, is not affected.
  • The IDE updates listed below mitigate the issue for every supported release line. We encourage all users to update to the latest versions.
  • If you cannot update yet, a one-line VM option removes the exposure.
  • You must update the Java runtimes that your projects use for builds, tests, and run configurations separately, as they are not covered by IDE updates.

Details

On November 17, 2026, Oracle and the OpenJDK project released fixes for CVE-2026-114938, a memory corruption vulnerability in the Base64 decoder of the HotSpot JVM. The issue was reported by Calif and is known as Java4Shell. 

To decode Base64 faster, HotSpot uses an intrinsic routine on x86-64 CPUs that support AVX-512 VBMI. Malformed input makes this routine write past the end of a Java array and corrupt neighboring memory. The reporters demonstrated how this routine could be exploited to execute arbitrary code in several server-side Java applications. OpenJDK 17.0.6 and later, along with the 21, 25, and 27 lines, are affected across Java distributions. Oracle’s Java SE 8 Performance Pack (8u511-perf and earlier) is also affected, while standard Java 8 and Java 11 builds are not.

Every JetBrains IDE bundles JetBrains Runtime, which is based on OpenJDK. All current releases that bundle JBR 17 (17.0.6 and later), 21, or 25 are affected. This includes IntelliJ IDEA, PyCharm, WebStorm, PhpStorm, GoLand, Rider, CLion, RubyMine, RustRover, DataGrip, and the JetBrains HTTP Client CLI, as well as remote development backends.

An IDE is exposed only if both of the following conditions are true: It runs on an x86-64 CPU with AVX-512 VBMI, such as Intel Xeon processors from Ice Lake onward, some tenth- and eleventh-generation Intel Core processors, or AMD processors based on Zen 4 or newer; and it decodes Base64 data controlled by an attacker, for example, data received from a network peer.

At the time of publication, we are not aware of this vulnerability having been exploited against JetBrains IDEs.

The updates listed below mitigate the issue by adding the -XX:-UseBASE64Intrinsics option to the default VM options of all JetBrains IDEs. The option turns off the vulnerable routine for every use of java.util.Base64 in the IDE process. Base64 decoding then falls back to the regular Java implementation, which may be slower. The option is accepted on every platform. The upstream fix is being integrated into JetBrains Runtime separately, and we will update this post when new runtime builds are available.

The mitigation is included in the following IDE versions:

IDE 2026.3 2026.2 2026.1 2025.3 2025.2
CLion 2026.3.0.2 2026.2.5.1 2026.1.5.3 2025.3.6.4 2025.2.6.4
DataGrip 2026.3.0.1 2026.2.7.1 2026.1.4.2 2025.3.6.2 2025.2.6.2
DataSpell — — 2026.1.3.2 2025.3.3.2 2025.2.4.2
Gateway 2026.3.0.1 2026.2.5.1 2026.1.4.1 2025.3.3.1 2025.2.6.1
GoLand 2026.3.0.1 2026.2.5.1 2026.1.5.2 2025.3.5.3 2025.2.6.4
IntelliJ IDEA 2026.3.0.1 2026.2.5.1 2026.1.5.2 2025.3.6.3 2025.2.6.5
PhpStorm 2026.3.0.1 2026.2.5.1 2026.1.5.2 2025.3.6.3 2025.2.6.4
PyCharm 2026.3.0.2 2026.2.5.1 2026.1.5.2 2025.3.6.3 2025.2.6.4
Rider 2026.3.0.2 2026.2.5.1 2026.1.5.4 2025.3.6.4 2025.2.6.3
RubyMine 2026.3.0.1 2026.2.5.1 2026.1.5.2 2025.3.6.3 2025.2.6.4
RustRover 2026.3.1.1 2026.2.6.1 2026.1.4.2 2025.3.7.2 2025.2.6.2
WebStorm 2026.3.0.1 2026.2.5.1 2026.1.5.2 2025.3.6.3 2025.2.6.4
voucher card

Toolbox App needs to be updated to 3.9.2.

ReSharper needs to be updated to one of the following versions: 2026.3.0.2, 2026.2.5.1, 2026.1.5.4, 2025.3.5.4, or 2025.2.6.3.

How to protect yourself

  1. Update your IDE. Download the latest version of your IDE from the JetBrains website or use the automatic update option in the Toolbox App or in Help | Check for Updates.
  2. If you cannot update yet, apply the workaround. Open Help | Edit Custom VM Options, add -XX:-UseBASE64Intrinsics on a new line, save the file, and restart the IDE. Do not use -XX:UseAVX=2 with JetBrains IDEs, even though some public advisories suggest it, as doing so will prevent JBR 25 from starting on ARM64.
  3. Update the Java runtimes used by your projects. The IDE update only covers the IDE process. Build and run processes that use a project JDK, such as Gradle and Maven daemons, tests, and run configurations, are not covered. Update those JDKs to your vendor’s fixed build, for example, Oracle Java SE 17.0.21.1, 21.0.13.1, 25.0.5.1, or 27.0.1.1. Other vendors, including Eclipse Temurin and Amazon Corretto, use their own build numbers, so check the vendor advisory. Until you can update, you can start those JVMs with -XX:-UseBASE64Intrinsics as a workaround.
  4. Check your exposure and confirm the option is active. If you use Linux, you can see whether your CPU supports AVX-512 VMBI by following the instructions in the Affected products section of the Calif write-up. To confirm that a running IDE uses the option, run jcmd <pid> VM.flags. This is useful if you maintain a custom VM options file or run a remote development backend.

The IDE updates and the workaround address only the vulnerability described above. We always recommend using the latest IDE version to benefit from other security updates.

For the upstream advisories and the write-up from the reporters, see:

A complete list of recently fixed security issues is available on the Fixed security issues page on the JetBrains website. You can also subscribe to receive notifications about fixes in all JetBrains products via email.

Frequently asked questions

Which versions are affected?

All JetBrains IDE versions that bundle JBR 17 (17.0.6 and later), 21, or 25 are affected until they are updated to the versions listed above, or until the workaround is applied. An IDE is exposed only on x86-64 hardware with AVX-512 VBMI. We recommend upgrading as soon as possible.

Is it possible to backport the fix to other versions?

We are not considering backports to older IDE versions. The workaround described above prevents this issue and is compatible with them.

I use remote development. What should I do?

The remote IDE backend is an IDE process and receives the same default VM options as desktop IDE builds with the update. Remote hosts are often cloud x86-64 machines that support AVX-512 VBMI, so be sure to update the backend, or add the option to its custom VM options in the meantime.

I already added the option manually. Do I need to remove it once I update to a new version?

No. After you update, the option is one of the default VM options, so the manual entry is redundant but harmless. We will remove the default option once the IDEs bundle a version of JetBrains Runtime that contains the upstream fix.

Support

If you have any questions regarding this issue or encounter problems updating, please get in touch with the JetBrains Support team by submitting a ticket.