we_are_coded.by CODE · The world, decoded
БГ

JetBrains · Security

Java4Shell in OpenJDK affects JetBrains IDEs, the brake is one line in the VM options, and ARM64 is safe

JetBrains said on 24 November that Java4Shell (CVE-2026-114938) in the HotSpot Base64 decoder affects all of its IDEs, ReSharper, Toolbox App and Gateway. Only x86-64 machines with AVX-512 VBMI are exposed. Patched IDEs add -XX:-UseBASE64Intrinsics by default.

Source
JetBrains
Published
The event
Checked on
Responsible editor
Cvetelin Ivanov
How we work
MethodCorrections

The CPU decides whether you are exposed. ARM64, including Apple Silicon, is not affected because it does not support AVX-512 VBMI. x86-64 with AVX-512 VBMI is vulnerable. The flaw is in the HotSpot Base64 decoder, which JetBrains Runtime uses, and that runtime ships with all JetBrains IDEs, ReSharper, Toolbox App and Gateway, so updating the operating system does not help here.

Fact

The facts: on 24 November 2026 JetBrains announced Java4Shell, a critical issue in OpenJDK, the basis of JetBrains Runtime (JBR), which ships with all of its IDEs, ReSharper, Toolbox App and Gateway. The issue is tracked as CVE-2026-114938 and presents the weakness CWE-787 (out-of-bounds write). If abused, it may 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. On 17 November 2026 Oracle and the OpenJDK project released the fixes; the issue was reported by Calif. OpenJDK 17.0.6 and later, along with the 21, 25 and 27 lines, are affected, and on Oracle's side so is Java SE 8 Performance Pack (8u511-perf and earlier); standard Java 8 and Java 11 builds are not. According to JetBrains, at the time of publication the company is not aware of the vulnerability having been exploited against its IDEs.

HotSpot decodes Base64 faster with an intrinsic routine on x86-64 CPUs that support AVX-512 VBMI. Malformed input makes the routine write past the end of a Java array and corrupt neighbouring memory. The reporters demonstrated how this reaches arbitrary code execution in several server-side Java applications.

The brake is one line that patched IDEs already set for you.

The fix does not touch the code itself. Updated IDEs add -XX:-UseBASE64Intrinsics to the default VM options. The option turns off the vulnerable routine for every use of java.util.Base64 in the IDE process; decoding falls back to the regular Java implementation and may be slower. It is accepted on every platform.

If you cannot update yet: Help | Edit Custom VM Options, add -XX:-UseBASE64Intrinsics on a new line, save the file, and restart the IDE. One warning from JetBrains: do not use -XX:UseAVX=2, even though some public advisories suggest it, because doing so will prevent JBR 25 from starting on ARM64.

The versions for the 2026.3 line: IntelliJ IDEA 2026.3.0.1, PyCharm 2026.3.0.2, WebStorm 2026.3.0.1, PhpStorm 2026.3.0.1, GoLand 2026.3.0.1, Rider 2026.3.0.2, CLion 2026.3.0.2, RubyMine 2026.3.0.1, RustRover 2026.3.1.1, DataGrip 2026.3.0.1, Gateway 2026.3.0.1. Toolbox App needs to be updated to 3.9.2. ReSharper needs to be updated to one of 2026.3.0.2, 2026.2.5.1, 2026.1.5.4, 2025.3.5.4 or 2025.2.6.3.

The IDE update covers only the IDE process. The JDKs your projects build, test and run with are updated separately. Update them 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, and until then those JVM instances can start with -XX:-UseBASE64Intrinsics as a workaround.

The check. On Linux you can see whether your CPU supports AVX-512 VBMI 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. That is useful if you maintain a custom VM options file or run a remote development backend. The remote backend is an IDE process and receives the same default VM options with the update; remote hosts are often cloud x86-64 machines with AVX-512 VBMI.

Update the IDE today. Then open the project and update the JDK it builds with. One without the other is not enough.

The visual is generated code-art, no third-party images.