Incident response on call, 24/7: +385 98 1900 984NewIR Retainer: a team on contract before an attack
HR · EN
Critical 9.8CVE-2026-127148

CODESYS Control and related products – out-of-bounds write (remote code execution)

Published 30/11/2026 · Updated 30/11/2026 · CODESYS Control RTE (SL)

Summary

The CmpChannelMgr and CmpChannelMgrEmbedded components of the CODESYS Control runtime system perform improper length checking when handling online service packets, resulting in an out-of-bounds write (CWE-787). Versions 3.0.0.0 up to before 3.5.22.50 of multiple products are affected: Control RTE (SL), Control RTE (for Beckhoff CX) SL, Control Win (SL), Runtime Toolkit, Embedded Target Visu Toolkit, Remote Target Visu, Safety SIL2, Gateway, Edge Gateway for Windows and HMI (SL).

Per the CVSS vector (9.8, critical), the attack is carried out over the network with low complexity, requires no authentication and no user interaction. By sending a specially crafted packet, an attacker can execute arbitrary code on the device, fully compromising confidentiality, integrity and availability. The vulnerability is not currently listed in the CISA KEV catalog.

Who is affected

Organizations in industrial automation (PLCs, HMIs, gateways) using the CODESYS runtime or third-party products based on CODESYS in versions 3.0.0.0 up to before 3.5.22.50.

What to do

  1. Upgrade all affected CODESYS products to version 3.5.22.50 or later.
  2. For devices from vendors embedding the CODESYS runtime, check with that vendor for patched firmware and consult CERT@VDE advisory VDE-2026-169.
  3. Inventory all systems running CODESYS runtime or Gateway and determine their versions.
  4. Until patched, restrict network access to CODESYS services: segment the OT network and block access from the internet and untrusted segments via firewall.
  5. Monitor network traffic to CODESYS devices for unusual packets or access.

Affected products and versions

CODESYS Control RTE (SL)3.0.0.0 – < 3.5.22.50Fixed in: 3.5.22.50
CODESYS Control RTE (for Beckhoff CX) SL3.0.0.0 – < 3.5.22.50Fixed in: 3.5.22.50
CODESYS Control Win (SL)3.0.0.0 – < 3.5.22.50Fixed in: 3.5.22.50
CODESYS Runtime Toolkit3.0.0.0 – < 3.5.22.50Fixed in: 3.5.22.50
CODESYS Embedded Target Visu Toolkit3.0.0.0 – < 3.5.22.50Fixed in: 3.5.22.50
CODESYS Remote Target Visu3.0.0.0 – < 3.5.22.50Fixed in: 3.5.22.50
CODESYS Safety SIL23.0.0.0 – < 3.5.22.50Fixed in: 3.5.22.50
CODESYS Gateway3.0.0.0 – < 3.5.22.50Fixed in: 3.5.22.50
CODESYS Edge Gateway for Windows3.0.0.0 – < 3.5.22.50Fixed in: 3.5.22.50
CODESYS HMI (SL)3.0.0.0 – < 3.5.22.50Fixed in: 3.5.22.50

CVSS vector, explained

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Attack vector
Network (from the internet)
Attack complexity
Low
Privileges required
None (no login)
User interaction
Not required
Scope
Vulnerable component only
Confidentiality
High impact
Integrity
High impact
Availability
High impact

Weakness type (CWE)

References

Sources: CVE.org (CNA and CISA ADP), CISA KEV, FIRST EPSS. Always check the vendor's official advisory.