Security Advisory

CVE-2019-13548: CODESYS V3 Web Server Stack Overflow

Last updated:
  • CVE-2019-13548

CVE-2019-13548 is a stack overflow in the CODESYS V3 web server, the CmpWebServer component behind WebVisu, reachable with crafted http or https requests. It can crash the runtime's web server or allow remote code execution. NVD scores it 9.8, CODESYS 10.0. Update the runtime to 3.5.14.10 or later; device makers must ship that in firmware.

Vulnerability summary

CVSS base score

9.8

Critical severity

EPSS score (FIRST)

6.2%

Probability of exploitation in the wild in the next 30 days

CISA KEV catalog

No

Not listed

Published

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

CVSS v3.1 severity rating scale: None 0.0, Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9, Critical 9.0 to 10.0
How a CVSS v3.1 base score maps to a severity rating. Source: FIRST CVSS v3.1 specification, section 5.

Affected components

ComponentCPEVersion range
CODESYS Control for BeagleBone, emPC-A/iMX6, IOT2000, Linux, PFC100, PFC200, Raspberry Picpe:2.3:a:codesys:control_for_linux:*:*:*:*:*:*:*:*All versions with CmpWebServer before 3.5.14.10; fixed in 3.5.14.10 or 3.5.15.0 (CODESYS Advisory 2019-01, NVD)
CODESYS Control RTE V3 (also for Beckhoff CX)cpe:2.3:a:codesys:control_rte:*:*:*:*:*:*:*:*NVD: 3.5.8.60 to before 3.5.12.80 and 3.5.13.0 to before 3.5.14.10; fixed in 3.5.12.80 (3.5.12 line) or 3.5.14.10 and later
CODESYS Control Win V3 (part of the CODESYS Development System setup)cpe:2.3:a:codesys:control_win:*:*:*:*:*:*:*:*NVD: 3.5.9.80 to 3.5.12.80 and 3.5.13.0 to before 3.5.14.10; CODESYS lists 3.5.12.80, 3.5.14.10 and 3.5.15.0 as fixed releases and recommends 3.5.14.10 or later
CODESYS Control V3 Runtime System Toolkit, HMI V3, V3 Embedded Target Visu Toolkit, V3 Remote Target Visu Toolkitcpe:2.3:a:codesys:control_runtime_system_toolkit:*:*:*:*:*:*:*:*Before 3.5.14.10 (CODESYS); NVD CPEs for the toolkits end before 3.5.12.80; fixed in 3.5.12.80, 3.5.14.10 or 3.5.15.0

What does this mean for affected devices?

CVE-2019-13548 is a stack-based buffer overflow in the web server of the CODESYS V3 runtime system. The CVE record, published by CISA on 2019-09-13, says the CODESYS V3 web server, all versions prior to 3.5.14.10, "allows an attacker to send specially crafted http or https requests which could cause a stack overflow and create a denial-of-service condition or allow remote code execution" (NVD, CVE record). NVD's Primary score is 9.8, CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H, with CWE-787 (out-of-bounds write); CISA's CWE is CWE-121. CODESYS and CISA both score it 10.0, CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H: they treat the scope as changed because the web server is part of the runtime, so a crash can affect the whole controller.

Which CODESYS products are affected?

CODESYS Advisory 2019-01 explains that the web server (CmpWebServer) is an optional part of the runtime and that every CODESYS V3 runtime containing it before 3.5.14.10 is affected, "regardless of the CPU type or operating system": CODESYS Control for BeagleBone, emPC-A/iMX6, IOT2000, Linux, PFC100, PFC200 and Raspberry Pi, Control RTE V3 (also for Beckhoff CX), Control Win V3, HMI V3, the Control V3 Runtime System Toolkit and the Embedded and Remote Target Visu Toolkits. Because the runtime toolkit is licensed to PLC and HMI makers, the same code sits inside many third-party controllers. CISA's ICSA-19-255-01, released on 2019-09-12, also covers the sibling path traversal CVE-2019-13532 (7.5) in the same web server. Ivan Cheyrezy of Schneider Electric reported both.

How do you fix CVE-2019-13548?

CODESYS released 3.5.12.80, 3.5.14.10 and 3.5.15.0. Only 3.5.14.10 and 3.5.15.0 fix every affected product; 3.5.12.80 fixes Control RTE, Control Win, HMI and the toolkits but not the device runtimes such as Control for Linux or Raspberry Pi, so CODESYS recommends 3.5.14.10 or higher. Owners of third-party controllers need the device maker's firmware that bundles the fixed runtime. CODESYS names no workaround; its general advice is to keep controllers off untrusted networks, use firewalls and VPNs for remote access and enable user management. Disabling WebVisu where it is not used removes the web server. The CODESYS runtime guide covers how these fixes reach OEM firmware, and the memory corruption fix guide covers the bug class. A later heap overflow in the same component is CVE-2020-10245; an older CoDeSys web server overflow on ABB controllers is CVE-2011-5007.

Is CVE-2019-13548 exploited?

CVE-2019-13548 is not in the CISA KEV catalog as of 2026-11-27 (catalog version 2026.11.25, 1,805 entries). CODESYS and CISA reported no known public exploits at release. FIRST EPSS gives it 0.06194, the 94.28th percentile, in the 2026-11-26 dataset (CISA KEV, FIRST EPSS).

Three signals on every advisory: CVSS says how severe the flaw is, EPSS gives the probability of exploitation in the wild in the next 30 days, and a CISA KEV listing means the flaw has been exploited in the wild
CVSS rates severity, EPSS estimates the likelihood of exploitation, and CISA KEV records exploitation seen in the wild. Source: FIRST EPSS; CISA KEV catalog.
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.
From advisory to verified fix in four steps: read the advisory, find the affected component in the firmware SBOM, apply the fixed version or vendor mitigation, then re-scan the image to confirm the vulnerable version is gone
Read the advisory, find the component in your firmware SBOM, apply the fix, then re-scan to confirm it.

Evidence

  • NVD (read 2026-11-27): status Modified, published 2019-09-13; [email protected] Primary CVSS 3.1 9.8 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H, CVSS 2.0 7.5; CWE-787 (NVD), CWE-121 (ICS-CERT); 16 CPE ranges incl. control_for_linux/raspberry_pi/pfc200 before 3.5.14.10, control_rte 3.5.8.60-<3.5.12.80 and 3.5.13.0-<3.5.14.10. — NVD
  • CODESYS Advisory 2019-01 (version 5.0, 18 December 2019): all V3 runtimes containing CmpWebServer before V3.5.14.10 affected regardless of CPU/OS; CVE-2019-13532 and CVE-2019-13548; CVSS v3.0 10 AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H; fixed in V3.5.12.80 (subset), V3.5.14.10 and V3.5.15.0; recommends 3.5.14.10 or higher; no specific workaround; reported by Ivan Cheyrezy of Schneider Electric. — CODESYS
  • CISA ICSA-19-255-01 (2019-09-12): 14 CODESYS products with CmpWebServer < 3.5.14.10; CVE-2019-13548 CWE-121 10.0, CVE-2019-13532 CWE-22 7.5; no known public exploits. — CISA CSAF
  • CVE record (CNA ICS-CERT): published 2019-09-13; CWE-121; affected 'all versions prior to 3.5.14.10'. — CVE.org
  • CISA KEV catalog 2026.11.25 (1,805 entries): not listed, checked 2026-11-27. — CISA KEV
  • EPSS 0.06194, percentile 0.94283, dataset 2026-11-26. — FIRST EPSS

Related advisories

Sources

  1. NVD
  2. CODESYS Advisory 2019-01: Security update for CODESYS V3 web server
  3. CISA ICSA-19-255-01: 3S-Smart Software Solutions CODESYS V3 Web Server (CSAF)
  4. CISA ICSA-19-255-01 advisory page
  5. CVE.org record CVE-2019-13548
  6. CISA KEV
  7. FIRST EPSS

Frequently asked questions

Which devices are affected by CVE-2019-13548?

Any controller or HMI running a CODESYS V3 runtime that includes the web server CmpWebServer before 3.5.14.10, whatever the CPU or operating system. CODESYS lists its own runtimes for Linux, Raspberry Pi, BeagleBone, IOT2000, emPC-A/iMX6, PFC100/PFC200, RTE, Win and HMI plus the runtime and visualisation toolkits used by other device makers.

Which CODESYS version fixes CVE-2019-13548?

3.5.14.10 and 3.5.15.0 fix all affected products. 3.5.12.80 fixes only Control RTE, Control Win, HMI and the toolkits, so CODESYS recommends 3.5.14.10 or later.

Why does CODESYS score CVE-2019-13548 10.0 while NVD gives 9.8?

CODESYS and CISA use a changed scope, because the web server runs inside the runtime and a crash can affect the whole controller. NVD scores the same impacts with unchanged scope, which gives 9.8.

Is CVE-2019-13548 exploited in the wild?

It is not in the CISA KEV catalog as of 2026-11-27 (catalog version 2026.11.25, 1,805 entries). FIRST EPSS rates it 0.06194, the 94.28th percentile, in the 2026-11-26 dataset.