JetbrainsYuriy ArtamonovAnnouncement
Java4Shell Vulnerability: Update Your JetBrains IDEs, ReSharper, .NET Tools, Toolbox App, and Gateway Now
Summary
A critical security vulnerability named Java4Shell, tracked as CVE-2026-114938 and classified as a CWE-787 out-of-bounds write, was identified in the Base64 decoder of OpenJDK’s HotSpot JVM, affecting JetBrains Runtime bundled with all JetBrains IDEs, ReSharper, Toolbox App, and Gateway. The issue affects x86-64 CPUs with AVX-512 VBMI support, where malformed Base64 input can crash the IDE or potentially enable remote code execution, while ARM64 systems such as Apple Silicon remain unaffected. JetBrains has released updates for every supported release line that add the -XX:-UseBASE64Intrinsics VM option to disable the vulnerable intrinsic routine. Additionally, it provides a one-line workaround for those who cannot update yet. The IDE updates only cover the IDE process; users must separately update the Java runtimes used by their project builds, tests, and run configurations to their vendor’s fixed builds.
Context
JetBrains issued a security advisory for the Java4Shell vulnerability (CVE-2026-114938) affecting its IDEs and tools due to the bundled JetBrains Runtime based on OpenJDK.
Approach / What changed
JetBrains released IDE updates that add the -XX:-UseBASE64Intrinsics VM option to disable the vulnerable Base64 intrinsic. For users who cannot update, a one-line VM option workaround is provided. Users must also update the Java runtimes used for project builds and run configurations separately.
Takeaways
The Java4Shell vulnerability (CVE-2026-114938) is a CWE-787 out-of-bounds write in the Base64 decoder of OpenJDK’s HotSpot JVM, affecting JetBrains products on x86-64 CPUs with AVX-512 VBMI, but not ARM64.
JetBrains mitigates the issue by adding the -XX:-UseBASE64Intrinsics VM option in IDE updates; a one-line workaround is available for users who cannot update immediately.
IDE updates only protect the IDE process; users must separately update the Java runtimes used for builds, tests, and run configurations to vendor fixed builds.
FAQ
Which versions are affected?
All JetBrains IDE versions bundling JBR 17 (17.0.6 and later), 21, or 25 are affected on x86-64 hardware with AVX-512 VBMI. ARM64 is not affected.
I use remote development. What should I do?
Update the remote IDE backend to a patched version or add the -XX:-UseBASE64Intrinsics option to its custom VM options file, as remote hosts are often x86-64 with AVX-512 VBMI.
I already added the option manually. Do I need to remove it?
No. After updating, the option becomes a default VM option, so the manual entry is redundant but harmless. It will be removed once JBR contains the upstream fix.
Source and freshness
- Source
- blog.jetbrains.com
- Published
- Added to Yomu
Summaries are generated from the original by a language model. Check the original before relying on it.
Keep reading
Related reading
The Good Stuff
Paid picks we use ourselves. Links carry a referral code — a subscription through one earns us a commission at no extra cost to you.
The best engineering reads, once a week
One useful email. Unsubscribe anytime.