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
- Upgrade all affected CODESYS products to version 3.5.22.50 or later.
- For devices from vendors embedding the CODESYS runtime, check with that vendor for patched firmware and consult CERT@VDE advisory VDE-2026-169.
- Inventory all systems running CODESYS runtime or Gateway and determine their versions.
- Until patched, restrict network access to CODESYS services: segment the OT network and block access from the internet and untrusted segments via firewall.
- Monitor network traffic to CODESYS devices for unusual packets or access.
Affected products and versions
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)
- CWE-787 Out-of-bounds Write
References
Sources: CVE.org (CNA and CISA ADP), CISA KEV, FIRST EPSS. Always check the vendor's official advisory.