CVE-2026-127148: Out-of-bounds Write in CODESYS Control
Exploitation: Public exploit · CVSS 9.8 Critical · Unauthenticated · Published 2026-11-30
Description
The CmpChannelMgr and CmpChannelMgrEmbedded components of the CODESYS Control runtime system performs improper length checking when handling online service packets, resulting in an out-of-bounds write. By sending a specially crafted packet, an unauthenticated remote attacker can exploit this flaw to execute arbitrary code on the affected product.
Enclave's analysis
CODESYS Control runtimes mishandle length checks in the channel layer of their proprietary online protocol, so one malformed packet triggers an out-of-bounds write and arbitrary code execution — no login needed. Two independent ICS research teams reported it, which backs up the vendor's unauthenticated-RCE claim, but no public exploit or technical write-up exists yet. A large family of embedded/Linux controllers (Raspberry Pi, WAGO PFC, PLCnext, and more) has no fix until a December 2026 release. Patch what's available now and keep these runtimes off untrusted networks.
Fix
Upgrade Control RTE (SL) to 3.5.22.50; Control RTE (for Beckhoff CX) SL to 3.5.22.50; Control Win (SL) to 3.5.22.50. See the affected versions for other product fixes.
Affected versions
| Product | Vulnerable | Fixed in |
|---|---|---|
| Control RTE (SL) | 3.0.0.0 before 3.5.22.50 | 3.5.22.50 |
| Control RTE (for Beckhoff CX) SL | 3.0.0.0 before 3.5.22.50 | 3.5.22.50 |
| Control Win (SL) | 3.0.0.0 before 3.5.22.50 | 3.5.22.50 |
| Runtime Toolkit | 3.0.0.0 before 3.5.22.50 | 3.5.22.50 |
| Embedded Target Visu Toolkit | 3.0.0.0 before 3.5.22.50 | 3.5.22.50 |
| Remote Target Visu | 3.0.0.0 before 3.5.22.50 | 3.5.22.50 |
| Safety SIL2 | 3.0.0.0 before 3.5.22.50 | 3.5.22.50 |
| Gateway | 3.0.0.0 before 3.5.22.50 | 3.5.22.50 |
| Edge Gateway for Windows | 3.0.0.0 before 3.5.22.50 | 3.5.22.50 |
| HMI (SL) | 3.0.0.0 before 3.5.22.50 | 3.5.22.50 |
| OPC DA Server SL | 3.0.0.0 before 3.5.22.50 | 3.5.22.50 |
| PLCHandler | 3.0.0.0 before 3.5.22.50 | 3.5.22.50 |
| Development System 3 | 3.0.0.0 before 3.5.22.50 | 3.5.22.50 |
| Control for BeagleBone SL | 3.5.0.0 before 4.24.0.0 | 4.24.0.0 |
| Control for emPC-A/iMX6 SL | 3.5.0.0 before 4.24.0.0 | 4.24.0.0 |
| Control for IOT2000 SL | 3.5.0.0 before 4.24.0.0 | 4.24.0.0 |
| Control for Linux ARM SL | 3.5.0.0 before 4.24.0.0 | 4.24.0.0 |
| Control for Linux SL | 3.5.0.0 before 4.24.0.0 | 4.24.0.0 |
| Control for PFC100 SL | 3.5.0.0 before 4.24.0.0 | 4.24.0.0 |
| Control for PFC200 SL | 3.5.0.0 before 4.24.0.0 | 4.24.0.0 |
| Control for PLCnext SL | 3.5.0.0 before 4.24.0.0 | 4.24.0.0 |
| Control for Raspberry Pi SL | 3.5.0.0 before 4.24.0.0 | 4.24.0.0 |
| Control for WAGO Touch Panels 600 SL | 3.5.0.0 before 4.24.0.0 | 4.24.0.0 |
| Virtual Control SL | 3.5.0.0 before 4.24.0.0 | 4.24.0.0 |
| Edge Gateway for Linux | 3.5.0.0 before 4.24.0.0 | 4.24.0.0 |
| TargetVisu for Linux SL | 3.5.0.0 before 4.24.0.0 | 4.24.0.0 |
| CODESYS Control runtime SL family (Control RTE SL, Control RTE for Beckhoff CX SL, Control Win SL, Runtime Toolkit, Gateway, HMI SL, Development System 3, Embedded/Remote Target Visu, Safety SIL2, OPC DA Server SL, PLCHandler, Edge Gateway for Windows) | >=3.0.0.0, <3.5.22.50 | 3.5.22.50 |
| CODESYS Control for embedded/Linux platforms (BeagleBone, emPC-A/iMX6, IOT2000, Linux ARM, Linux, PFC100, PFC200, PLCnext, Raspberry Pi, WAGO Touch Panels 600, Virtual Control SL, Edge Gateway for Linux, TargetVisu for Linux SL) | >=3.5.0.0, <4.24.0.0 | 4.24.0.0 (planned December 2026, not available at disclosure) |