Security Advisory

CVE-2019-5166: WAGO I/O-Check XML Cache Overflow

Last updated:
  • CVE-2019-5166

CVE-2019-5166 is a stack buffer overflow in the I/O-Check service (iocheckd) of WAGO controllers. An attacker who can write a crafted XML cache file to a specific location on the device sends a packet that makes iocheckd parse it, which overflows a stack buffer and runs code. NVD scores it 7.8; it needs a login.

Vulnerability summary

CVSS base score

7.8

High severity

EPSS score (FIRST)

0.8%

Probability of exploitation in the wild in the next 30 days

CISA KEV catalog

No

Not listed

Published

Vulnerability ID: CVE-2019-5166 · Source: NVD

Affected components

ComponentCPEVersion range
WAGO PFC200 (750-82xx/xxx-xxx), iocheckd I/O-Check servicecpe:2.3:o:wago:pfc200_firmware:03.02.02\(14\):*:*:*:*:*:*:*Firmware before FW16 (CERT@VDE VDE-2020-011, which names the FW16 release as the fix target). NVD lists only firmware 03.02.02(14)
WAGO PFC100 (750-81xx/xxx-xxx), iocheckd I/O-Check service—Firmware before FW16 (CERT@VDE VDE-2020-011). Not in NVD's CPE list
WAGO 762-4xxx, 762-5xxx and 762-6xxx, iocheckd I/O-Check service—Firmware before FW16 (CERT@VDE VDE-2020-011). Not in NVD's CPE list

What does this mean for affected devices?

NVD carries the Cisco Talos description: "An exploitable stack buffer overflow vulnerability exists in the iocheckd service 'I/O-Check' functionality of WAGO PFC 200 version 03.02.02(14). A specially crafted XML cache file written to a specific location on the device can cause a stack buffer overflow, resulting in code execution. An attacker can send a specially crafted packet to trigger the parsing of this cache file." NVD's Primary score is CVSS v3.1 7.8 (CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H) with CWE-787; Cisco Talos, the CNA, published the record on 2020-03-10 and NVD links it to Talos report TALOS-2019-0961 (NVD, CVE record).

Why is this scored lower than the 2019 I/O-Check overflows?

The 2019 set in VDE-2019-022, such as CVE-2019-5074, CVE-2019-5079 and CVE-2019-5081, needs nothing but network access to port 6626. This one needs the attacker to place a file on the controller first, which is why NVD and CERT@VDE use a local vector with low privileges and score it 7.8. CERT@VDE classes it CWE-120, NVD CWE-787. The payoff is the same: code execution inside iocheckd. Any account that can create files on the device meets that precondition, so the flaw turns a low-privileged login into code running in a service.

Which devices and firmware are affected?

WAGO's advisory VDE-2020-011 covers 20 iocheckd flaws reported by Cisco Talos, CVE-2019-5166 among them. It lists PFC100 (750-81xx/xxx-xxx), PFC200 (750-82xx/xxx-xxx) and the 762-4xxx, 762-5xxx and 762-6xxx devices with firmware before FW16 as affected, and names the FW16 release, dated Q2/2020 in the advisory, as the fix target. NVD's CPE lists only PFC200 firmware 03.02.02(14), the build Talos tested, so PFC100 and the 762 devices do not show up in an NVD-only scan. The advisory's summary sets the precondition: "An attacker needs an authorized login on the device in order to exploit the herein mentioned vulnerabilities", and the attacker must be "able to create files on the device".

What should operators do?

Disable the I/O-Check service after commissioning; WAGO calls that "the easiest and securest way to protect your device from the listed vulnerabilities". Update to FW16 or later, restrict network access, keep the controller off the internet, and keep user accounts few and passwords strong, because a login is the precondition. The parser bug CVE-2019-5186 in the same advisory and the later command injection CVE-2020-12522 use the same service. See the WAGO PFC controller guide and the memory corruption fix guide.

CVE-2019-5166 is not in the CISA KEV catalog as of 2026-11-22 (catalog version 2026.11.20, 1,790 entries). FIRST EPSS gives it 0.00818, the 58.1st percentile, in the 2026-11-21 dataset (CISA KEV, FIRST EPSS).

How to fix this class of issueThis advisory's weakness class is Memory corruption. Our practical guide covers how to detect, fix, verify and disclose it: How to fix memory corruption in embedded firmware.

Evidence

  • NVD (read 2026-11-22): status Modified; published 2020-03-11; NVD Primary CVSS v3.1 7.8 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H, v2 4.6; CWE-787 (NVD); CPE pfc200_firmware 03.02.02(14); reference TALOS-2019-0961. — NVD
  • CERT@VDE VDE-2020-011 (initial release 2020-03-09, revision 2 2025-05-22), HTML and CSAF read 2026-11-22: affects 750-81xx/xxx-xxx (PFC100), 750-82xx/xxx-xxx (PFC200), 762-4xxx, 762-5xxx, 762-6xxx with firmware <FW16; CVE-2019-5166 CVSS v3.1 7.8 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H, CWE-120; attacker needs an authorized login and must be able to create files on the device; mitigation: disable I/O-Check service, restrict network access, no direct internet connection, disable unused ports; remediation text: the vulnerabilities are expected to be fixed in FW16 Release in Q2/2020; 20 CVEs listed (CVE-2019-5166 to CVE-2019-5186 except CVE-2019-5183); reported by Kelly Leuschner of Cisco Talos. — CERT@VDE VDE-2020-011
  • CVE record (checked 2026-11-22): state PUBLISHED, CNA Cisco Talos (talos), published 2020-03-10; problem type "stack buffer overflow"; affected WAGO PFC200 Firmware version 03.02.02(14); no CNA CVSS score in the record. — CVE.org
  • Not in the CISA KEV catalog, catalog version 2026.11.20, 1,790 entries, checked 2026-11-22. — CISA KEV
  • EPSS 0.00818, percentile 0.58058, dataset 2026-11-21, read 2026-11-22. — FIRST EPSS

Related advisories

Sources

  1. NVD
  2. CERT@VDE VDE-2020-011: WAGO multiple vulnerabilities in I/O-Check service
  3. CERT@VDE VDE-2020-011 CSAF (machine-readable advisory)
  4. CVE.org record CVE-2019-5166
  5. CISA KEV
  6. FIRST EPSS

Frequently asked questions

Does CVE-2019-5166 need authentication?

Yes. CERT@VDE VDE-2020-011 says an attacker needs an authorized login on the device and must be able to create files on it, to place the crafted XML cache file that iocheckd later parses.

Which WAGO firmware fixes it?

VDE-2020-011 lists firmware before FW16 as affected and names the FW16 release (Q2/2020) as the fix target. Its first recommendation is to disable the I/O-Check service after commissioning.

Which devices are affected?

PFC100 (750-81xx/xxx-xxx), PFC200 (750-82xx/xxx-xxx) and the 762-4xxx, 762-5xxx and 762-6xxx devices with firmware before FW16, per CERT@VDE VDE-2020-011. NVD's CPE lists only PFC200 firmware 03.02.02(14).

Which weakness class is it?

NVD classes it CWE-787 (out-of-bounds write); CERT@VDE classes it CWE-120 (buffer copy without checking size of input). Both score it CVSS v3.1 7.8.

Is CVE-2019-5166 in the CISA KEV catalog?

No, not as of 2026-11-22 (catalog version 2026.11.20, 1,790 entries). FIRST EPSS rates it 0.00818 (58.1st percentile) in the 2026-11-21 dataset.