# CVE-2018-10594: Memory corruption in Delta Industrial Automation COMMGR and accompanying PLC Simulators (DVPSimulator EH2, EH3, ES2, SE, SS2 and AHSIM 5x0, AHSIM 5x1)

> Remote attackers can exploit a stack buffer overflow in Delta COMMGR and PLC Simulators to execute arbitrary code or cause denial of service.

- **Severity:** Critical 9.8 (`CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/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:** 26 Jun 2018
- **Updated:** 16 Sep 2024
- **Also known as:** GHSA-55m9-57p9-8j6r

## What is CVE-2018-10594?

CVE-2018-10594 is a critical memory corruption vulnerability in ICS-CERT Delta Industrial Automation COMMGR and accompanying PLC Simulators (DVPSimulator EH2, EH3, ES2, SE, SS2 and AHSIM_5x0, AHSIM_5x1), published on 26 Jun 2018. An attacker can exploit it over the internet without logging in, with no action from the victim.

### Official description

Delta Industrial Automation COMMGR from Delta Electronics versions 1.08 and prior with accompanying PLC Simulators (DVPSimulator EH2, EH3, ES2, SE, SS2 and AHSIM_5x0, AHSIM_5x1) utilize a fixed-length stack buffer where an unverified length value can be read from the network packets via a specific network port, causing the buffer to be overwritten. This may allow remote code execution, cause the application to crash, or result in a denial-of-service condition in the application server.

Weakness: CWE-119 (Improper Restriction of Operations within the Bounds of a Memory Buffer), CWE-121 (Stack-based Buffer Overflow)

## Which versions are affected by CVE-2018-10594?

It affects 1 product.


Products: Deltaww Commgr.

## How do I fix CVE-2018-10594?

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

## Is CVE-2018-10594 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2018-10594 exists.

Public exploit code:

- Delta Industrial Automation COMMGR 1.08 - Stack Buffer Overflow (PoC) (exploitdb)
- Delta Electronics Delta Industrial Automation COMMGR 1.08 Stack Buffer Overflow (metasploit)
- Delta Electronics Delta Industrial Automation COMMGR 1.08 - Stack Buffer Overflow (Metasploit) (exploitdb)
- Delta Electronics Delta Industrial Automation COMMGR 1.08 - Stack Buffer Overflow (Metasploit) (exploitdb)

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2018-10594 and fix it if it is affected.

What it is: CVE-2018-10594 is a critical memory corruption vulnerability in ICS-CERT Delta Industrial Automation COMMGR and accompanying PLC Simulators (DVPSimulator EH2, EH3, ES2, SE, SS2 and AHSIM_5x0, AHSIM_5x1), published on 26 Jun 2018. An attacker can exploit it over the internet without logging in, with no action from the victim.
Exploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2018-10594 exists.

Affected product: ICS-CERT Delta Industrial Automation COMMGR and accompanying PLC Simulators (DVPSimulator EH2, EH3, ES2, SE, SS2 and AHSIM_5x0, AHSIM_5x1). 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-2018-10594/ (Markdown: https://insights.sbomify.com/CVE-2018-10594/index.md)
```

## Sources

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

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