# CVE-2021-20588: Integer overflow in CPU Module Logging Configuration Tool

> Attackers can exploit improper length parameter handling in Mitsubishi FA Engineering Software to cause memory corruption, potentially leading to code execution or denial of service.

- **Severity:** High 7.5 (`CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`)
- **Exploited in the wild:** Not known
- **Login needed:** Not needed
- **Attackable:** Over the internet
- **Victim action needed:** Not needed
- **Fix available:** No
- **Published:** 19 Feb 2021
- **Updated:** 12 Jun 2025
- **Also known as:** GHSA-29pr-6732-fx67

## What is CVE-2021-20588?

CVE-2021-20588 is a high-severity vulnerability in Mitsubishi Electric Corporation CPU Module Logging Configuration Tool, published on 19 Feb 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.

### Official description

Improper Handling of Length Parameter Inconsistency vulnerability in Mitsubishi Electric FA Engineering Software (CPU Module Logging Configuration Tool versions 1.112R and prior, CW Configurator versions 1.011M and prior, Data Transfer versions 3.44W and prior, EZSocket versions 5.4 and prior, FR Configurator all versions, FR Configurator SW3 all versions, FR Configurator2 versions 1.24A and prior, GT Designer3 Version1(GOT1000) versions 1.250L and prior, GT Designer3 Version1(GOT2000) versions 1.250L and prior, GT SoftGOT1000 Version3 versions 3.245F and prior, GT SoftGOT2000 Version1 versions 1.250L and prior, GX Configurator-DP versions 7.14Q and prior, GX Configurator-QP all versions, GX Developer versions 8.506C and prior, GX Explorer all versions, GX IEC Developer all versions, GX LogViewer versions 1.115U and prior, GX RemoteService-I all versions, GX Works2 versions 1.597X and prior, GX Works3 versions 1.070Y and prior, iQ Monozukuri ANDON (Data Transfer) versions 1.003D and prior, iQ Monozukuri Process Remote Monitoring (Data Transfer) versions 1.002C and prior, M_CommDTM-HART all versions, M_CommDTM-IO-Link versions 1.03D and prior, MELFA-Works versions 4.4 and prior, MELSEC WinCPU Setting Utility all versions, MELSOFT EM Software Development Kit (EM Configurator) versions 1.015R and prior, MELSOFT Navigator versions 2.74C and prior, MH11 SettingTool Version2 versions 2.004E and prior, MI Configurator versions 1.004E and prior, MT Works2 versions 1.167Z and prior, MX Component versions 5.001B and prior, Network Interface Board CC IE Control utility versions 1.29F and prior, Network Interface Board CC IE Field Utility versions 1.16S and prior, Network Interface Board CC-Link Ver.2 Utility versions 1.23Z and prior, Network Interface Board MNETH utility versions 34L and prior, PX Developer versions 1.53F and prior, RT ToolBox2 versions 3.73B and prior, RT ToolBox3 versions 1.82L and prior, Setting/monitoring tools for the C Controller module (SW4PVC-CCPU) versions 4.12N and prior, and SLMP Data Collector versions 1.04E and prior) allows a remote unauthenticated attacker to cause a DoS condition on the software products, and possibly to execute a malicious code on the personal computer running the software products although it has not been reproduced, by spoofing MELSEC, GOT or FREQROL and returning crafted reply packets.

Weakness: CWE-119 (Improper Restriction of Operations within the Bounds of a Memory Buffer), CWE-130 (Improper Handling of Length Parameter Inconsistency)

## Which versions are affected by CVE-2021-20588?

It affects 41 products.


Products: Mitsubishielectric C Controller Module Setting and Monitoring Tool, Mitsubishielectric Cpu Module Logging Configuration Tool, Mitsubishielectric Cw Configurator, Mitsubishielectric Data Transfer, Mitsubishielectric Ezsocket, Mitsubishielectric Fr Configurator, Mitsubishielectric Fr Configurator2, Mitsubishielectric Fr Configurator Sw3, Mitsubishielectric Gt Designer3, Mitsubishielectric Gt Softgot1000, Mitsubishielectric Gt Softgot2000, Mitsubishielectric Gx Configurator-Dp, Mitsubishielectric Gx Configurator-Qp, Mitsubishielectric Gx Developer, Mitsubishielectric Gx Explorer, Mitsubishielectric Gx Iec Developer, Mitsubishielectric Gx Logviewer, Mitsubishielectric Gx Remoteservice-I, Mitsubishielectric Gx Works2, Mitsubishielectric Gx Works3 and 21 more.

## How do I fix CVE-2021-20588?

No fix has been published for CVE-2021-20588 yet. Limit exposure of the affected software until one is available.

## Is CVE-2021-20588 being exploited?

There is no known exploitation of CVE-2021-20588 in the wild and no public exploit code.

## Other vulnerabilities in Mitsubishi Electric Corporation CPU Module Logging Configuration Tool

- [CVE-2021-20587](https://insights.sbomify.com/CVE-2021-20587/): Memory corruption in CPU Module Logging Configuration Tool (high 7.5)

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2021-20588 and fix it if it is affected.

What it is: CVE-2021-20588 is a high-severity vulnerability in Mitsubishi Electric Corporation CPU Module Logging Configuration Tool, published on 19 Feb 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.
Exploitation: There is no known exploitation of CVE-2021-20588 in the wild and no public exploit code.

Affected product: Mitsubishi Electric Corporation CPU Module Logging Configuration Tool. No package-level version data is available, so check the vendor advisory linked from the reference page.

Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/CVE-2021-20588/ (Markdown: https://insights.sbomify.com/CVE-2021-20588/index.md)
```

## Sources

- CVE record: https://www.cve.org/CVERecord?id=CVE-2021-20588
- NVD: https://nvd.nist.gov/vuln/detail/CVE-2021-20588
- OSV: https://osv.dev/vulnerability/CVE-2021-20588

---
From sbomify Insights: https://insights.sbomify.com/CVE-2021-20588/
Summaries are generated and may contain mistakes; the official description above is the record.
