SECURITYCRITICALCVE-2026-127148

CVE-2026-127148: CODESYS Control Runtime Online Service Packet Out-of-Bounds Write (CVSS 9.8)

An unauthenticated crafted packet to CODESYS Control's CmpChannelMgr can write out of bounds and run code. Fixed in 3.5.22.50; the 4.24.0.0 line is still pending.

Dylan H.

Security Team

December 1, 2026
2 min read
CVE-2026-127148: CODESYS Control Runtime Online Service Packet Out-of-Bounds Write (CVSS 9.8)

Critical severity

Rated critical. Prioritise patching — see the remediation guidance below.

Affected Products

  • CODESYS Control runtime (V3.5 before 3.5.22.50; Linux/PLC SL products before 4.24.0.0)

Summary

CVE-2026-127148 is a critical out-of-bounds write (CWE-787) in the CODESYS Control runtime, scored CVSS 9.8. The CmpChannelMgr and CmpChannelMgrEmbedded components check lengths improperly when they handle online service packets. An unauthenticated remote attacker can send a crafted packet to trigger the write, and the flaw can lead to remote code execution on the controller. No exploitation has been reported.

The issue was published in NVD on November 30, 2026, and is covered by CERT@VDE advisory VDE-2026-169, which lists 26 affected products in two lines.

Affected and fixed versions

Product lineAffectedFixed
CODESYS V3.5 products (13 products, including Control RTE SL, Control Win SL, Runtime Toolkit, HMI SL and Development System 3)3.0.0.0 up to but not including 3.5.22.503.5.22.50
Linux / PLC SL products (13 products, including Control for Linux, Raspberry Pi, BeagleBone, IOT2000, PFC100, PFC200, PLCnext and Virtual Control SL)3.5.0.0 up to but not including 4.24.0.04.24.0.0 (planned for December 2026, not yet released)

Secondary summaries disagree on which line some products, such as Gateway, belong to. Check the CERT@VDE advisory for the exact product mapping before you plan a patch.

Impact

CODESYS runtimes run on many PLCs and industrial controllers from many vendors. Code execution on one can mean tampering with process logic, disrupting physical operations, or pivoting deeper into the OT network. The attack needs network reachability to the runtime's online service port, but no credentials.

What to do

  1. Inventory CODESYS runtimes in your OT network, including devices where CODESYS is embedded by a vendor.
  2. Update V3.5 products to 3.5.22.50 through your device vendor's firmware channel.
  3. Track the 4.24.0.0 release for Linux and PLC SL products. The advisory names no other workaround, so until then, limit exposure.
  4. Isolate controllers. Keep them off the internet, behind firewalls, and reachable only from engineering workstations that need them.
  5. Monitor for unexpected connections to the runtime's online service port.

References