Summary
Multiple vulnerabilities exist in the Linux/QNX platform adaptation layer of the CODESYS Control Runtime System. An authenticated, high-privileged remote attacker may exploit these vulnerabilities by sending specially crafted requests via the CODESYS protocol to execute arbitrary code on the affected PLC. Additionally, an authenticated, low-privileged remote attacker could disclose some memory information from a log file.
Note: All platforms other than Linux and QNX are not affected.
Impact
Successful exploitation allows an authenticated high-privileged remote attacker to execute arbitrary code on the affected products, resulting in a complete compromise of confidentiality, integrity, and availability. Moreover, an authenticated low privileged attacker may remotely disclose sensitive system information to a limited extent.
Affected Product(s)
| Model no. | Product name | Affected versions |
|---|---|---|
| CODESYS Control for BeagleBone SL | vers:generic/>=4.21.0.0|<4.24.0.0, vers:generic/>=4.8.0.0|<4.24.0.0 | |
| CODESYS Control for IOT2000 SL | vers:generic/>=4.21.0.0|<4.24.0.0, vers:generic/>=4.8.0.0|<4.24.0.0 | |
| CODESYS Control for Linux ARM SL | vers:generic/>=4.21.0.0|<4.24.0.0, vers:generic/>=4.8.0.0|<4.24.0.0 | |
| CODESYS Control for Linux SL | vers:generic/>=4.21.0.0|<4.24.0.0, vers:generic/>=4.8.0.0|<4.24.0.0 | |
| CODESYS Control for PFC100 SL | vers:generic/>=4.21.0.0|<4.24.0.0, vers:generic/>=4.8.0.0|<4.24.0.0 | |
| CODESYS Control for PFC200 SL | vers:generic/>=4.21.0.0|<4.24.0.0, vers:generic/>=4.8.0.0|<4.24.0.0 | |
| CODESYS Control for PLCnext SL | vers:generic/>=4.21.0.0|<4.24.0.0, vers:generic/>=4.8.0.0|<4.24.0.0 | |
| CODESYS Control for Raspberry Pi SL | vers:generic/>=4.21.0.0|<4.24.0.0, vers:generic/>=4.8.0.0|<4.24.0.0 | |
| CODESYS Control for WAGO Touch Panels 600 SL | vers:generic/>=4.21.0.0|<4.24.0.0, vers:generic/>=4.8.0.0|<4.24.0.0 | |
| CODESYS Control for emPC-A/iMX6 SL | vers:generic/>=4.21.0.0|<4.24.0.0, vers:generic/>=4.8.0.0|<4.24.0.0 | |
| CODESYS Runtime Toolkit | vers:generic/>=3.22.0.0|<3.5.22.50, vers:generic/>=3.19.0.0|<3.5.22.50 | |
| CODESYS Virtual Control SL | vers:generic/>=4.21.0.0|<4.24.0.0, vers:generic/>=4.8.0.0|<4.24.0.0 |
Vulnerabilities
Expand / Collapse allThe CmpLinuxRTDiag component of the CODESYS Control runtime system for Linux performs improper length checking when handling PLC shell requests. By sending a specially crafted request, an authenticated, high-privileged remote attacker can exploit this flaw, which may result in arbitrary code execution on the affected Linux device.
The SysModule component of the CODESYS Control runtime system for Linux writes limited internal system information to a log file, allowing an authenticated, low-privileged remote attacker to read this information.
Remediation
Update the following products to version 3.5.22.50.
* CODESYS Runtime Toolkit
Update the following products to version 4.24.0.0. The release of this version is planned for December 2026.
* CODESYS Control for BeagleBone SL
* CODESYS Control for emPC-A/iMX6 SL
* CODESYS Control for IOT2000 SL
* CODESYS Control for Linux ARM SL
* CODESYS Control for Linux SL
* CODESYS Control for PFC100 SL
* CODESYS Control for PFC200 SL
* CODESYS Control for PLCnext SL
* CODESYS Control for Raspberry Pi SL
* CODESYS Control for WAGO Touch Panels 600 SL
* CODESYS Virtual Control SL
* CODESYS Edge Gateway for Linux
* CODESYS TargetVisu for Linux SL
The CODESYS Development System and the products available as CODESYS add-ons can be downloaded and installed directly with the CODESYS Installer or be downloaded from the CODESYS Store. Alternatively, as well as for all other products, you will find further information on obtaining the software update in the CODESYS Update area https://www.codesys.com/download/.
Acknowledgments
CODESYS GmbH thanks the following parties for their efforts:
- CERT@VDE for coordination (see https://www.certvde.com )
- f0rw4rd aka Felix Eberstaller from Limes Security / QuellSec for reporting
- Luca Borzacchiello from Nozomi Networks for reporting
Revision History
| Version | Date | Summary |
|---|---|---|
| 1.0.0 | 30.11.2026 11:00 | Initial revision. |