JetBrains Releases Java4Shell (CVE-2026-114938) Fixes; Development JDKs Need Separate Mitigation

In a notice dated November 25 Central European Time (CET), JetBrains announced updates for IDEs (integrated development environments) and related tools that address Java4Shell (CVE-2026-114938). The products bundle JetBrains Runtime (JBR), which is based on OpenJDK, as the Java runtime used to run the IDE itself.
Java4Shell is a vulnerability in an optimized Base64 decoding routine in OpenJDK's HotSpot JVM (Java Virtual Machine). When the vulnerable routine receives crafted Base64 data, an out-of-bounds write can occur and corrupt adjacent memory. In an IDE, this could lead to a crash or remote code execution.
According to JetBrains, unpatched IDEs bundled with JBR 17 (17.0.6 or later), 21, or 25 are affected. The issue arises on x86-64 CPUs that support AVX-512 VBMI when they process attacker-controlled Base64 data. AVX-512 VBMI is a vector-processing instruction-set extension; ARM64 systems, including Apple Silicon, are not affected. The company said it was not aware of any exploitation targeting its IDEs at the time the notice was published.
IDE updates disable the vulnerable optimized routine
In the 2026.3 release line, fixes are included in IntelliJ IDEA, WebStorm, GoLand, PhpStorm, DataGrip, RubyMine, and Gateway 2026.3.0.1. PyCharm, CLion, and Rider are fixed in 2026.3.0.2, while RustRover is fixed in 2026.3.1.1. Users are also advised to update Toolbox App to 3.9.2 and the 2026.3 release line of ReSharper to 2026.3.0.2.
Fixed releases are also available for older release lines. JetBrains lists the relevant version numbers for each release line in its notice.
Fixed Java4Shell releases for major JetBrains products
| Product | 2026.3 release line | 2026.2 release line | 2026.1 release line |
|---|---|---|---|
| IntelliJ IDEA | 2026.3.0.1 | 2026.2.5.1 | 2026.1.5.2 |
| WebStorm | 2026.3.0.1 | 2026.2.5.1 | 2026.1.5.2 |
| GoLand | 2026.3.0.1 | 2026.2.5.1 | 2026.1.5.2 |
| PhpStorm | 2026.3.0.1 | 2026.2.5.1 | 2026.1.5.2 |
| DataGrip | 2026.3.0.1 | 2026.2.7.1 | 2026.1.4.2 |
| RubyMine | 2026.3.0.1 | 2026.2.5.1 | 2026.1.5.2 |
| Gateway | 2026.3.0.1 | 2026.2.5.1 | 2026.1.4.1 |
| PyCharm | 2026.3.0.2 | 2026.2.5.1 | 2026.1.5.2 |
| CLion | 2026.3.0.2 | 2026.2.5.1 | 2026.1.5.3 |
| Rider | 2026.3.0.2 | 2026.2.5.1 | 2026.1.5.4 |
| RustRover | 2026.3.1.1 | 2026.2.6.1 | 2026.1.4.2 |
| ReSharper | 2026.3.0.2 | 2026.2.5.1 | 2026.1.5.4 |
| Toolbox App | |||
| Fixed release | 3.9.2 | ||
These IDE updates add -XX:-UseBASE64Intrinsics to the standard VM options, disabling the vulnerable optimized routine. Base64 operations then use the regular Java implementation, which may reduce their performance.
The standalone JetBrains Runtime 25.0.5.1b635.102, which incorporates OpenJDK 25.0.5.1, was released on November 22. In its IDE advisory, JetBrains described its work to incorporate the upstream fix into JBR and said it plans to remove the default workaround after IDEs ship with a JBR that contains the fix. The standalone JBR release date does not establish when that runtime will be bundled with a particular IDE.
If an unpatched IDE bundled with JBR 17 (17.0.6 or later), 21, or 25 cannot be updated immediately, open the custom VM options editor from the IDE's Help menu.
Add -XX:-UseBASE64Intrinsics on a new line, save the file, and restart the IDE.
Another known workaround, -XX:UseAVX=2, limits the use of AVX-512 instructions. However, because it prevents JBR 25 from starting on ARM64, JetBrains advises against using it with the company's IDEs.
Check the JDK used by the project
Updating the IDE protects only the IDE process. If a separate JDK (Java Development Kit) is configured to run the application under development, it must also be checked.
JetBrains cited project JDKs used by Gradle and Maven daemons (resident processes), tests, and application run configurations. Affected JDKs should be updated to a fixed release from the distributor. If an immediate update is not possible, another workaround is to launch each JVM with -XX:-UseBASE64Intrinsics.
OpenJDK describes the fix in its vulnerability advisory. Microsoft Build of OpenJDK identified 17.0.21.1, 21.0.13.1, and 25.0.5.1 as releases containing the fix. In Japan, the Information-technology Promotion Agency (IPA) also urged users to apply Oracle Java updates on November 18.
Check the remote host for remote development
When using remote development features, check whether the IDE backend running on the remote host meets the conditions for impact. If it does, update the backend or add the workaround to its VM options.
JetBrains also provided a way to verify that the setting is applied to a running IDE. Use jcmd <pid> VM.flags to inspect the target process's VM options (<pid> is the process ID). This method also works in environments with custom VM options and in remote development setups.
JetBrains IDEs: Java4Shell mitigation by environment
| Affected component | Standard mitigation | If an update is not possible |
|---|---|---|
| IDE itself | Update to a fixed release | Add workaround to the IDE |
| Separate JDK Build, test, and run | Use a fixed release from the distributor Update | Add workaround to each JVM |
| Remote development | Update the IDE on the remote host | Add workaround on the remote host |
| IDE impact conditions (all three) and consequences | ||
| Java runtime | Unpatched JBR 17 (17.0.6 or later), 21, or 25 | |
| Affected CPUs | x86-64 with AVX-512 VBMI ARM64 is not affected | |
| Trigger condition | Processing crafted Base64 data | |
| Impact | Memory corruption and IDE crashes Potential remote code execution | |
| Temporary IDE mitigation and verification | ||
| Fixed IDE release | Disables the vulnerable optimized Base64 routine | |
| Workaround | -XX:-UseBASE64Intrinsics Add to startup options and restart | |
| Verify the setting | jcmd <pid> VM.flags Check the running IDE's settings | |
| Caution | Avoid -XX:UseAVX=2 with JetBrains IDEs It prevents JBR 25 from starting on ARM64 | |
Which runtime and launch settings does each Java process in the development environment use? The running process is the unit that must be checked. Even after the IDE's update notification disappears, the Java processes used for builds and tests should still be verified.
Get more with a free account
Confirmation email sent — we sent a link to this address. Open the email and click the link to finish signing up. If it doesn't arrive, please check your spam folder.
KioskNews shows a cleaned-up reading view extracted from the publisher’s page — the original always lives on their site, not ours.