# CVE-2018-16557: Denial of service in SIMATIC S7-400 CPU 412-1 DP V7

> Remote attackers can cause denial of service on Siemens SIMATIC S7-400 CPUs by sending crafted packets, requiring firmware re-flashing for recovery.

- **Severity:** High 8.2 (`CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H/E:P/RL:O/RC:C`)
- **Exploited in the wild:** Not known
- **Login needed:** Not needed
- **Attackable:** Over the internet
- **Victim action needed:** Not needed
- **Fix available:** No
- **Published:** 13 Dec 2018
- **Updated:** 5 Aug 2024
- **Also known as:** GHSA-5wjq-9mm7-ccm8

## What is CVE-2018-16557?

CVE-2018-16557 is a high-severity denial of service vulnerability in Siemens SIMATIC S7-400 CPU 412-1 DP V7, published on 13 Dec 2018. An attacker can exploit it over the internet without logging in, with no action from the victim.

### Official description

A vulnerability has been identified in  SIMATIC S7-400 CPU 412-1 DP V7 (All versions),  SIMATIC S7-400 CPU 412-2 DP V7 (All versions),  SIMATIC S7-400 CPU 414-2 DP V7 (All versions),  SIMATIC S7-400 CPU 414-3 DP V7 (All versions),  SIMATIC S7-400 CPU 414-3 PN/DP V7 (All versions < V7.0.3),  SIMATIC S7-400 CPU 414F-3 PN/DP V7 (All versions < V7.0.3),  SIMATIC S7-400 CPU 416-2 DP V7 (All versions),  SIMATIC S7-400 CPU 416-3 DP V7 (All versions),  SIMATIC S7-400 CPU 416-3 PN/DP V7 (All versions < V7.0.3),  SIMATIC S7-400 CPU 416F-2 DP V7 (All versions),  SIMATIC S7-400 CPU 416F-3 PN/DP V7 (All versions < V7.0.3),  SIMATIC S7-400 CPU 417-4 DP V7 (All versions), SIMATIC S7-400 CPU 412-2 PN V7 (All versions < V7.0.3), SIMATIC S7-400 H V4.5 and below CPU family (incl. SIPLUS variants) (All versions), SIMATIC S7-400 H V6 CPU family (incl. SIPLUS variants) (All versions < V6.0.9), SIMATIC S7-400 PN/DP V6 and below CPU family (incl. SIPLUS variants) (All versions), SIMATIC S7-410 CPU family (incl. SIPLUS variants) (All versions < V8.2.1), SIPLUS S7-400 CPU 414-3 PN/DP V7 (All versions < V7.0.3), SIPLUS S7-400 CPU 416-3 PN/DP V7 (All versions < V7.0.3), SIPLUS S7-400 CPU 416-3 V7 (All versions), SIPLUS S7-400 CPU 417-4 V7 (All versions). Sending of specially crafted packets to port 102/tcp via Ethernet interface
via PROFIBUS or Multi Point Interfaces (MPI) could cause a denial of service
condition on affected devices. Flashing with a firmware image may be required
to recover the CPU.

Successful exploitation requires an attacker to have network access to port
102/tcp via Ethernet interface or to be able to send messages via PROFIBUS or
Multi Point Interfaces (MPI) to the device. No user interaction is required.
If no access protection is configured, no privileges are required to exploit
the security vulnerability. The vulnerability could allow causing a
denial of service condition of the core functionality of the CPU,
compromising the availability of the system.

Weakness: CWE-347 (Improper Verification of Cryptographic Signature)

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

It affects 4 products.


Products: Siemens Simatic S7-400 Firmware, Siemens Simatic S7-400 Pn\/Dp V7 Firmware, Siemens Simatic S7-400h Firmware, Siemens Simatic S7-410 Firmware.

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

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

## Is CVE-2018-16557 being exploited?

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

## Other vulnerabilities in Siemens SIMATIC S7-400 CPU 412-1 DP V7

- [CVE-2018-16556](https://insights.sbomify.com/CVE-2018-16556/): Denial of service in SIMATIC S7-400 CPU 412-1 DP V7 (high 7.5)
- [CVE-2018-4850](https://insights.sbomify.com/CVE-2018-4850/): Denial of service in SIMATIC S7-400 (incl. F) CPU hardware version 4.0 and below, SIMATIC S7-400 (incl. F) CPU hardware version 5.0, SIMATIC S7-400H CPU hardware version 4.5 and below (high 7.5)

## Fix prompt for AI coding agents

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

What it is: CVE-2018-16557 is a high-severity denial of service vulnerability in Siemens SIMATIC S7-400 CPU 412-1 DP V7, published on 13 Dec 2018. 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-2018-16557 in the wild and no public exploit code.

Affected product: Siemens SIMATIC S7-400 CPU 412-1 DP V7. 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-16557/ (Markdown: https://insights.sbomify.com/CVE-2018-16557/index.md)
```

## Sources

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

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