Security Advisory

CVE-2021-20597: MELSEC Safety CPU Credential Sniffing

Last updated:
  • CVE-2021-20597

CVE-2021-20597 is insufficiently protected credentials (CWE-522) in Mitsubishi Electric MELSEC iQ-R Safety and SIL2 Process CPUs: when a user is registered or a password changed over the network, an attacker sniffing that traffic obtains the credentials and can log in. NVD scores it 9.1 and Mitsubishi 7.4. Installed CPUs cannot be updated, so make user changes over USB.

Vulnerability summary

CVSS base score

9.1

Critical severity

EPSS score (FIRST)

2.2%

Probability of exploitation in the wild in the next 30 days

CISA KEV catalog

No

Not listed

Published

Vulnerability ID: CVE-2021-20597 · Source: NVD

Affected components

ComponentCPEVersion range
MELSEC iQ-R R08/16/32/120SFCPU (Safety CPU)cpe:2.3:o:mitsubishielectric:r08sfcpu_firmware:*:*:*:*:*:*:*:*firmware 26 and prior per Mitsubishi (NVD CPE: all versions); fixed in production firmware 27; installed units cannot be updated
MELSEC iQ-R R08/16/32/120PSFCPU (SIL2 Process CPU)cpe:2.3:o:mitsubishielectric:r08psfcpu_firmware:*:*:*:*:*:*:*:*firmware 11 and prior per Mitsubishi (NVD CPE: all versions); fixed in production firmware 12; installed units cannot be updated

What does this mean for affected devices?

NVD's description: the flaw "allows a remote unauthenticated attacker to login to the target unauthorizedly by sniffing network traffic and obtaining credentials when registering user information in the target or changing a password." NVD's Primary score is CVSS v3.1 9.1 (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N) with CWE-522 (Insufficiently Protected Credentials). Mitsubishi Electric and CISA give 7.4 (AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N), because the attacker has to be positioned to capture a registration or password change. NVD's CPE configuration lists the eight SFCPU and PSFCPU firmware entries with no version bound. The record was published on 2021-08-06 (NVD).

When are the credentials exposed?

Only at the moments they cross the network: Mitsubishi Electric's advisory 2021-009 (released 5 August 2021, last updated 18 April 2024) says that "when registering user information in the CPU module or changing the password, a remote attacker can sniff network traffic and obtain the credentials". A capture of one such session is enough to log in later. The affected and fixed versions are:

CPU Affected Fixed in production Field update
iQ-R Safety CPU R08/16/32/120SFCPU Firmware 26 and prior 27 Not available
iQ-R SIL2 Process CPU R08/16/32/120PSFCPU Firmware 11 and prior 12 Not available

As with the other Safety CPU advisories, "updating the product to the fixed version is not available" for installed units. Ivan Speziale of Nozomi Networks Labs reported it. CISA's ICSA-21-250-01 covers it with the user-name brute force CVE-2021-20594 and the lockout issue CVE-2021-20598 (CISA CSAF). A related cleartext flaw on the same CPUs, CVE-2021-20599, allows login with credentials other than the password.

How do you mitigate it?

Mitsubishi's specific workaround: register user information and change passwords via USB, and if users were ever registered or passwords changed over the network, change each password once via USB. Its general mitigations are a firewall or VPN where Internet access is required, using the CPU in a LAN with untrusted hosts blocked, and the IP filter function. Treat any password set over Ethernet on these CPUs as exposed. The same capture problem affects standard MELSEC CPUs through the replayable password hash of CVE-2022-25157; our Mitsubishi MELSEC SLMP protocol security guide lists the ports to filter.

CVE-2021-20597 is not in the CISA KEV catalog as of 2026-11-18 (catalog version 2026.11.17), which has no Mitsubishi Electric entry. FIRST EPSS gives it 0.0222, the 82nd percentile, in the 2026-11-17 dataset (CISA KEV, FIRST EPSS).

How to fix this class of issueNo dedicated SoftWSP guide covers this weakness class; the fix is usually the vendor patch or firmware update referenced above. Our related guide explains how to plan and verify it: NIST SP 800-40 Rev. 4: enterprise patch management planning, explained.

Evidence

  • NVD: SFCPU firmware 26 and prior, PSFCPU firmware 11 and prior; login by sniffing credentials when registering user information or changing a password; NVD Primary CVSS v3.1 9.1 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N; CWE-522; 8 CPEs, no version bound; published 2021-08-06. — NVD
  • Mitsubishi Electric advisory 2021-009 (released 2021-08-05, updated 2024-04-18): CVSS v3.1 7.4 AV:N/AC:H; fixed 27/12; updating to the fixed version not available; register user information or change password via USB, and if done via network change the password once via USB; firewall/VPN, LAN, IP filter; reported by Ivan Speziale (Nozomi Networks Labs). — Mitsubishi Electric PSIRT
  • ICSA-21-250-01 (initial 2021-09-07, current 2024-04-18): CVE-2021-20597 CWE-522 CVSS 7.4; USB registration mitigation; also CVE-2021-20594 and CVE-2021-20598. — CISA CSAF ICSA-21-250-01
  • Not in the CISA KEV catalog, version 2026.11.17 (1,782 entries, no Mitsubishi Electric vendor entry), checked 2026-11-18. — CISA KEV
  • EPSS 0.0222, percentile 0.82982, dataset 2026-11-17. — FIRST EPSS

Related advisories

Sources

  1. NVD
  2. Mitsubishi Electric advisory 2021-009: unauthorized login vulnerability in MELSEC iQ-R series CPU module
  3. CISA ICS Advisory ICSA-21-250-01: Mitsubishi Electric MELSEC iQ-R Series
  4. CISA CSAF: ICSA-21-250-01 (machine-readable advisory)
  5. JPCERT/CC JVNVU#98578731 (Japanese)
  6. CISA KEV
  7. FIRST EPSS

Frequently asked questions

How do I protect a MELSEC Safety CPU against CVE-2021-20597?

Register user information and change passwords only via USB. If that was ever done over the network, change each password once via USB. Add firewalls or a VPN, keep the CPU in a LAN with untrusted hosts blocked and use the IP filter (per Mitsubishi advisory 2021-009 and CISA ICSA-21-250-01).

Which firmware fixes CVE-2021-20597?

Firmware 27 for the R08/16/32/120SFCPU Safety CPUs and 12 for the R08/16/32/120PSFCPU SIL2 Process CPUs. Mitsubishi states that updating an installed product to the fixed version is not available (per Mitsubishi advisory 2021-009).

Why is NVD's score for CVE-2021-20597 higher than Mitsubishi's?

NVD rates attack complexity low (9.1). Mitsubishi and CISA rate it high (7.4), since the attacker has to capture traffic at the moment a user is registered or a password changed. Both rate confidentiality and integrity impact high (per NVD and Mitsubishi advisory 2021-009).

Is CVE-2021-20597 in the CISA KEV catalog?

No, not as of 2026-11-18 (catalog version 2026.11.17). FIRST EPSS gives it 0.0222, the 82nd percentile, in the 2026-11-17 dataset (per CISA KEV and FIRST EPSS).