Java4Shell (CVE-2026-114938): Interim Mitigation

v5 / updated: Dec 1, 2026: Ignition 8.3.11 is released with the fix; noted that Ignition 8.3 doesn't support Intel Macs

A critical vulnerability in Java, called Java4Shell (CVE-2026-114938), was published on November 17, 2026. It is a memory corruption flaw in the routine Java uses to decode Base64 data on some Intel and AMD processors. An attacker who can send crafted data to a Java program may be able to crash it or run code in it.

Ignition bundles an affected version of Java. Ignition 8.1.56 and 8.3.11 are released and bundle a fixed version. An upcoming Ignition 2027 beta will too. Until you can upgrade, add one Java option to each affected Ignition runtime, as described below.

Affected. Both of these must be true:

  1. The software is Ignition 8.1.33 through 8.1.55, Ignition 8.3.0 through 8.3.10, or the Ignition 2027 beta. This covers every edition (Ignition, Edge, Maker, Cloud Edition) and every component that runs Java: the Gateway, Designer, Vision Client, launchers, and Perspective Workstation.
  2. It runs on a 64-bit Intel or AMD processor with the AVX-512 VBMI feature: Intel Xeon processors from the "Ice Lake" generation (2021) on, some 10th and 11th generation Intel Core processors, and AMD processors from "Zen 4" on (Ryzen 7000, EPYC 9004). Virtual machines and cloud instances on these processors count.

If you aren't sure about the processor, apply the mitigation. It is safe on any processor.

On Linux, this command shows whether the processor is an affected one. It prints avx512vbmi if it is, and nothing if it isn't:

grep -m1 -o avx512vbmi /proc/cpuinfo

Not affected: Ignition 8.0 through 8.1.32, which bundle Java 11; ARM systems, including Apple silicon Macs and Raspberry Pi; Perspective sessions in a web browser; and the Perspective mobile apps. Ignition 7.9 and earlier don't bundle Java, so it depends on the Java installed for them. The flaw is in Java 17.0.6 and later; the Java 8 those versions normally run on is not affected.

Priority. Start with Gateways, above all any that can be reached from the internet or from networks you don't fully control: Ignition decodes Base64 data in some requests before a user logs in. Client machines come next. A Designer, Vision Client, launcher, or Workstation is exposed only to the servers it connects to.

The mitigation. Add this Java option to each affected runtime and restart it:

-XX:-UseBASE64Intrinsics

It turns off the accelerated Base64 routine that has the flaw, and Java uses its standard routine instead. Nothing else changes, except that Base64 encoding and decoding run slower. We don't expect a noticeable effect on Ignition. Other public guidance also lists -XX:UseAVX=2. Don't use that one for Ignition: on an ARM system, Java won't start with it.

Gateway

  1. Open ignition.conf in the Gateway's data folder. By default that folder is C:\Program Files\Inductive Automation\Ignition\data on Windows, /usr/local/bin/ignition/data on Linux, and /usr/local/ignition/data on macOS.
  2. Under "Java Additional Parameters", add a line with a number that no other wrapper.java.additional line uses (7 in an unchanged file):
wrapper.java.additional.7=-XX:-UseBASE64Intrinsics
  1. Restart the Gateway service.

Do this on every Gateway, including redundant backups, EAM agents, and Edge Gateways.

The Gateway's command-line tools (gwcmd and, on 8.3 and later, ignition-secrets-tool) need no change. They run on the Gateway's Java for a few seconds at a time and take no input from the network.

Gateway in Docker. Add the option after -- at the end of the container's arguments, then recreate the container:

docker run ... inductiveautomation/ignition:8.3.10 -n my-gateway -- -XX:-UseBASE64Intrinsics

In a Compose file:

command: -n my-gateway -- -XX:-UseBASE64Intrinsics

Client machines (Designer, Vision Client, launchers, Perspective Workstation). There are two ways. Use the first unless the machine also runs Java 8 programs.

Option 1: one setting for the whole machine. Set the environment variable JAVA_TOOL_OPTIONS to -XX:-UseBASE64Intrinsics. Every Java program started on that machine afterward reads it: launchers, Workstation, Designers, and Vision Clients, including Vision Clients after a retarget. Other Java programs on the machine read it too, so read the cautions below first.

Windows, in PowerShell run as Administrator. This command adds the option to any value the variable already has, and changes nothing if the option is already there:

$v = [Environment]::GetEnvironmentVariable("JAVA_TOOL_OPTIONS", "Machine"); if ($v -notlike "*UseBASE64Intrinsics*") { [Environment]::SetEnvironmentVariable("JAVA_TOOL_OPTIONS", "$v -XX:-UseBASE64Intrinsics".Trim(), "Machine") }

Or in Command Prompt run as Administrator, on a machine where the variable has no value yet. This command replaces any value the variable has, and it doesn't work as written in PowerShell:

setx /M JAVA_TOOL_OPTIONS "-XX:-UseBASE64Intrinsics"

Linux: add this line to /etc/environment. If the file already sets JAVA_TOOL_OPTIONS, add the option to the end of that line instead, after a space:

JAVA_TOOL_OPTIONS=-XX:-UseBASE64Intrinsics

Then sign out, sign back in, and relaunch.

Cautions:

  • Java 8 doesn't know this option and won't start while the variable is set, so don't use Option 1 on a machine that also runs Java 8 programs, including Ignition 7.9 clients.
  • Other Java software may already use JAVA_TOOL_OPTIONS for its own settings; test automation and monitoring tools often do. Keep that value and add the option to it, as the PowerShell command does. Every Java program also prints a line starting with Picked up JAVA_TOOL_OPTIONS when it starts, which a tool that reads Java's output may not expect.
  • A JAVA_TOOL_OPTIONS set for a single user, such as a Windows user variable, replaces the machine-wide value for that user's programs, so the option doesn't reach them. If a user has one, add the option to it as well: run the PowerShell command as that user, not as Administrator, with "User" in place of both "Machine".
  • If you edit the value by hand, for example in the Windows System Properties dialog, separate options with spaces and don't put quotes around the whole value. Java reads a quoted value as a single option, and the mitigation then silently doesn't apply.
  • Ignition 2027 beta on Linux: while the variable is set, the Designer's Tools > Launch Project doesn't open a Vision Client. Open the client from the Vision Client Launcher instead.

Option 2: each application separately

Designer and Vision Client: in the Designer Launcher or Vision Client Launcher, open the application's three-dot menu, select Manage, and add -XX:-UseBASE64Intrinsics to JVM Arguments. If the field already has arguments, separate them with a semicolon and no spaces. Save and relaunch. Repeat for each application in each launcher. To give applications you add later the option too, also add it under Settings > Client Defaults > JVM Arguments in the Vision Client Launcher, and Settings > Designer Defaults > JVM Arguments in the Designer Launcher; applications already in the launcher don't pick it up from there. A Vision Client shortcut made by a Vision Client Launcher from Ignition 8.3 or later keeps the JVM Arguments it was made with, so make the shortcut again after adding the option.

Launchers and Perspective Workstation on Windows: in the launcher's install folder, next to its .exe file, create a text file with the same name and the extension .l4j.ini, containing the single line -XX:-UseBASE64Intrinsics. The file names are designerlauncher.l4j.ini, visionclientlauncher.l4j.ini, and perspectiveworkstation.l4j.ini. Then close and reopen the launcher.

Launchers and Perspective Workstation on Linux: use Option 1, or edit the start script in the folder where it is installed: designerlauncher.sh, visionclientlauncher.sh, or perspectiveworkstation.sh. In the command that starts the application (the one with -jar), add -XX:-UseBASE64Intrinsics right after runtime/bin/java", then close and reopen it. Reinstalling replaces the script.

Launchers and Perspective Workstation on Intel Macs (Ignition 8.1 only; 8.3 doesn't support Intel Macs): use Option 1.

Vision Clients that retarget or open from the Designer. A retarget to a Gateway on another version, or with different modules, starts a new Java process. That process doesn't keep the launcher's JVM Arguments, and it uses the runtime of the Gateway it retargets to. On machines whose clients retarget, use Option 1. A Vision Client opened from the Designer with Tools > Launch Project doesn't get the launcher's JVM Arguments either, even when the Designer has them: use Option 1, or open the client from the Vision Client Launcher. A Vision Client can also restart itself this way while it launches, so Option 1 is the dependable choice for Vision Clients in general.

Check

Gateway: confirm the option is on the running Java process. Each command prints the Gateway's Java process when the option is active, and nothing when it isn't.

Windows (PowerShell, run as Administrator):

Get-CimInstance Win32_Process -Filter "Name='java.exe'" | Where-Object CommandLine -match 'UseBASE64Intrinsics' | Select-Object ProcessId, Name

Linux and macOS:

ps -ef | grep "[U]seBASE64Intrinsics"

Docker: the container log shows Collected JVM arg: -XX:-UseBASE64Intrinsics at startup.

Client machines on Windows: these commands show the machine-wide value of JAVA_TOOL_OPTIONS and the signed-in user's value. The option should be in the machine-wide value, and in the user's value if there is one:

[Environment]::GetEnvironmentVariable("JAVA_TOOL_OPTIONS", "Machine")
[Environment]::GetEnvironmentVariable("JAVA_TOOL_OPTIONS", "User")

Designer: run this in the Script Console. It reports on the Java the Designer itself is running, on that machine, not on the Gateway. false means that Java is not using the accelerated routine, so nothing more is needed there. You will see false after applying the mitigation, and also before it on Ignition 8.1 and 8.3 when the processor isn't an affected one. true means the routine is in use: apply the mitigation. The same script works in a Vision Client, for example on a button.

from java.lang.management import ManagementFactory
from com.sun.management import HotSpotDiagnosticMXBean
print ManagementFactory.getPlatformMXBean(HotSpotDiagnosticMXBean).getVMOption("UseBASE64Intrinsics").getValue()

To undo: remove the line, variable, argument, or file you added, and restart.

What comes next. Ignition 8.1.56 and 8.3.11 bundle a fixed Java runtime, and an upcoming Ignition 2027 beta will too. After you upgrade a Gateway, Designers and Vision Clients download the fixed runtime the next time they launch from it. Launchers and Perspective Workstation carry their own runtime, so download and install them again from the upgraded Gateway. A Vision Client uses the runtime of the Gateway it is connected to, so upgrade every Gateway that clients retarget to. Once everything is upgraded, remove the option (see To undo). It no longer protects anything, it slows Base64 work, and an option left behind can stop a later Java version from starting if that version no longer has it. On client machines, keep the option until every Gateway they connect to is upgraded and their launchers are reinstalled.

When you upgrade a Gateway, close Designers and Vision Clients on client machines first if you can. A Designer left open through the upgrade can fail to restart with "A JVM could not be downloaded"; launching it again from the Designer Launcher fixes that. The first launch after the upgrade downloads the new runtime and takes longer than usual, so launch once and let it finish. On Windows, a launch after the upgrade can fail with "Unable to delete file", most often when two launches overlap, and it can stop the other one as well. Launch again; if that also fails, delete the folder named after the new runtime version under %USERPROFILE%\.ignition\cache\resources\runtimes, then launch again.

We will update this post when the 2027 beta with the fix is available.

9 Likes

Running the Python code provided in the script console is giving me false despite not yet having applied the mitigation. This is on Ignition 8.3.9 running in Docker on Ubuntu 24.04.2:

image

The script console runs in your Designer in a different JVM than the Gateway, you would have to apply those as launch arguments in the launchers as well to see it there.

3 Likes

Is there a central location of known Ignition CVE's that I can track to see which versions are affected and when I should update? Thanks!

We've updated the post above to v2. What changed:

  • The Designer check was described incorrectly. As Kevin said, the script reports on the Java your Designer is running, not the Gateway's. false means that Java isn't using the accelerated Base64 routine. On 8.1 and 8.3 that is also the default when the processor doesn't have AVX-512, which is why @lucs100 saw false before applying anything: the machine running that Designer isn't an affected one. It says nothing about the Gateway's machine.
  • There is now a one-line check for Linux that shows whether a processor is an affected one. That is the way to check a Gateway host.
  • Ignition 7.9 and earlier don't bundle Java, so it depends on the Java installed for them.
1 Like

@drewdin Security advisories for Ignition are posted on our Security Trust Portal, in the Trust Center Updates section: https://security.inductiveautomation.com/. You can subscribe to updates there.

3 Likes

Updated the post to v3:

  • Option 1 (JAVA_TOOL_OPTIONS) now has a PowerShell command for Windows that adds the option to any existing value instead of replacing it. The setx command doesn't work as written in PowerShell.
  • New Option 1 cautions: a value set for a single user replaces the machine-wide one; other Java software may already use the variable, so keep its value and add the option; don't put quotes around the whole value, or the mitigation silently doesn't apply; and on the Ignition 2027 beta on Linux, the Designer's Tools > Launch Project doesn't open a Vision Client while the variable is set.
  • Under Check, Windows commands that show the variable's machine-wide and user values.
  • Under What comes next, a note on upgrading: close Designers and Vision Clients first if you can, and what to do if a launch fails afterward.

Similar to lucs100. We are testing the effectiveness of putting a designerlauncher.l4j.ini in the same directory as designerlauncher.exe (1.3.7). Before we created the file with the appropriate single line, we Check with the Jython script in the Script Console and it returns false.

The same exists when we try to Check the effectiveness of a Vision client JVM with a button and label before making any changes anywhere.

image

Does the machine you are using for your designer launcher have an affected CPU? it is possible that your gateway is on an impacted cpu server, but you are launching a remote designer launcher from a non impacted system.

Alternatively, you could check your java environment variable from option 1 to see if you were already running a safe jvm.

I do not think this would return false if you were not already on a not-impacted system one way or another.

Regarding option 2. I have a lot of users with access to designer and vision client launchers. Ideally, I could make a global change (which I think is the goal with step B of option 2, the .l4j.ini file) and on a user relaunch, they would be automatically launched with the safe version.

Is step A of option 2 (adding the -XX:-UseBASE64Intrinsics) required for every users launcher data for every application? I am not seeming to get it to apply globally, but rather only for my instance.

We have tested this on 5 different Vision and Designer client computers. All have the affected CPU. None of them have the java environment variable set and two of the computers were fresh out of the box. All show 'false'

When do you plan to release Ignition 8.3.11 with the fix for the CVE?

3 Likes

Updated the post to v4.

Ignition 8.1.56 is released and bundles the fixed Java runtime (17.0.21.1). See "What comes next" in the post for what an upgrade covers; the launchers and Perspective Workstation need reinstalling from the upgraded Gateway. Ignition 8.3.11 and the 2027 beta will follow.

Changes to the interim mitigation, for systems you can't upgrade yet, from our testing:

  • A Vision Client opened from the Designer with Tools > Launch Project doesn't get the launcher's JVM Arguments, even when the Designer has them. Use Option 1, or open the client from the Vision Client Launcher.
  • A Vision Client shortcut made by a Vision Client Launcher from Ignition 8.3 or later keeps the JVM Arguments it was made with. Make the shortcut again after adding the option.
  • The launchers' default JVM Arguments, for applications added later.
  • On Linux, the launchers and Workstation can also take the option in their start script.
  • A retarget starts a new Java process only when the other Gateway is on another version or has different modules.

@GeraldB Ignition 8.3.11 is released and bundles the fixed Java runtime (17.0.21.1), as 8.1.56 already does, and the post above is updated to v5. After upgrading a Gateway, reinstall the launchers and Perspective Workstation from it, as "What comes next" in the post explains. The post also now notes that the Intel Mac steps apply to Ignition 8.1 only, since 8.3 doesn't support Intel Macs.

3 Likes

Yes. The launchers keep their settings per user, so the JVM Arguments in step A apply only to that application in that user's launcher. v4 adds the launchers' default JVM Arguments (Settings > Client Defaults in the Vision Client Launcher, Settings > Designer Defaults in the Designer Launcher), but those are per user too and only reach applications added afterward. The .l4j.ini file covers only the launcher program itself, for everyone who runs that installation, not the Designers and Vision Clients it starts. For one change that covers every user and application on a machine, use Option 1, the machine-wide JAVA_TOOL_OPTIONS variable.


false means that Java isn't using the accelerated routine, so the flaw can't be triggered in that process. On Java 17 (Ignition 8.1 and 8.3), Java turns the routine on only when it uses AVX-512, so the processor's model alone doesn't decide it. This shows what Java chose; run it in the Script Console:

from java.lang.management import ManagementFactory
from com.sun.management import HotSpotDiagnosticMXBean
bean = ManagementFactory.getPlatformMXBean(HotSpotDiagnosticMXBean)
try:
    avx = bean.getVMOption("UseAVX").getValue()
except:
    avx = "n/a"
print avx, bean.getVMOption("UseBASE64Intrinsics").getValue()

It prints two values. 3 true means Java uses AVX-512 and the routine: apply the mitigation. A first value of 2 or lower means Java isn't using AVX-512 on that machine; most Intel desktop and laptop processors from the 12th generation on don't have it. n/a means the processor isn't an Intel or AMD one. If you see 3 false without the mitigation, please post the processor model.

1 Like