External risk intelligence

CODESYS Control Runtime Out-of-Bounds Write Allows Remote Code Execution.

CVE advisorySeverity: CRITICAL (CVSS 9.3)

CVE-2026-127148

The CODESYS Control runtime system is typically deployed within industrial control and automation environments. While it supports network communication, these systems are generally isolated from the public internet by internal network controls, firewalls, or VPNs, and are not designed to be directly exposed as public-facing services in typical deployment patterns.

Out-of-bounds Write

Halo Surface Signal: 2 out of 5 — less likely to be public-facing.

External exposure likelihood

Horizon Alert

Summary of the vulnerability and why it matters

This vulnerability affects industrial control and automation systems using CODESYS Control runtime, potentially allowing unauthorized code execution through specially crafted network packets. The primary concern is to confirm if these specific systems are deployed in a way that makes them accessible externally, as the typical architecture suggests they are not.

  • Flaw allows remote code execution on control systems.
  • Confirm relevance if systems are not externally exposed.
  • Focus on verifying exposure and impact.

Attack Path

How an attacker could exploit the issue

An attacker could exploit this vulnerability by sending a specially crafted network packet to the affected CODESYS Control runtime system. This packet targets the online service functionality, and if processed improperly due to a lack of length checking, it can lead to an out-of-bounds write, potentially allowing the attacker to execute arbitrary code.

  • Unauthenticated network access required.
  • Improper packet length checking triggered.
  • Arbitrary code execution possible.

Live Threat

Current exploitation, exposure, and threat context

An unauthenticated remote attacker could execute arbitrary code on the affected product by sending a specially crafted packet. This vulnerability, stemming from improper length checking when handling online service packets in the CmpChannelMgr and CmpChannelMgrEmbedded components, could allow for the compromise of the CODESYS Control runtime system.

  • System code execution.
  • Sending crafted network packets.
  • Complete system compromise.

Operational Fix

Recommended remediation, mitigation, and detection steps

The CODESYS Control runtime system, specifically its CmpChannelMgr and CmpChannelMgrEmbedded components, is vulnerable to remote code execution due to improper length checking. This flaw allows unauthenticated attackers to exploit an out-of-bounds write by sending a crafted packet. Real-world action requires identifying where this system is deployed, confirming its reachability and criticality, and then coordinating with the accountable owner for remediation.

  • Identify system deployment and criticality.
  • Confirm network exposure and business impact.
  • Plan remediation with the accountable owner.

Supplementary metadata

Validate whether this threat affects your internet-facing exposure.

Halo Threat Intelligence helps prioritize remediation with Halo Surface Signal and H/A/L/O context. Start exposure validation with a free external attack surface trial.

Frequently asked questions

What is the CODESYS Control runtime system?

CODESYS Control is a software-based industrial controller used in automation engineering. It acts as a runtime environment that transforms devices—such as programmable logic controllers or embedded systems—into reliable components capable of executing automation logic to manage machinery and industrial processes.

How does CVE-2026-127148 create a security risk?

This vulnerability is classified as an out-of-bounds write (CWE-787). It occurs because the software fails to properly verify the length of incoming data packets. When a malicious packet is received, it can overwrite memory outside the intended buffer, which allows an unauthorized party to inject and run their own arbitrary code on the system.

Can any network packet trigger this vulnerability?

No. The flaw specifically resides in the CmpChannelMgr and CmpChannelMgrEmbedded components and is triggered only by specially crafted network packets directed at the system's online service functionality. Simply sending standard or valid operational traffic will not cause this memory error.

Do I need to worry if my CODESYS devices are offline?

According to Halo Surface Signal, this software is typically deployed within isolated industrial environments and is not meant to be public-facing. If your systems are correctly protected by firewalls, VPNs, or internal network segmentation, the likelihood of an external, remote attacker reaching these components is significantly lower.

What is the first step to address this CVE?

You should begin by performing an internal audit to identify all deployments of the CODESYS Control runtime within your infrastructure. Once identified, confirm whether any of these systems are reachable via the network and assess their business criticality. Coordinate these findings with the relevant operational technology stakeholders to plan for updates.

References