Skip to content
DayZeroHub
Critical Not yet writtenCVSS 9.3CVE-2026-127148

CVE-2026-127148: Out-of-bounds Write in CODESYS Control

CODESYS Control RTE (SL)

Preliminary notice: published right away from the original source data, without editorial write-up. It will shortly be replaced by a written and reviewed version.

Summary

CVE-2026-127148: critical-severity vulnerability (CVSS 9.3) in CODESYS Control RTE (SL).

What happened

Original description from the source: 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.

Why it matters

Critical severity, CVSS 9.3.

Affected products and versions

CODESYS Control RTE (SL) >= 3.0.0.0, < 3.5.22.50; CODESYS Control RTE (for Beckhoff CX) SL >= 3.0.0.0, < 3.5.22.50; CODESYS Control Win (SL) >= 3.0.0.0, < 3.5.22.50; CODESYS Runtime Toolkit >= 3.0.0.0, < 3.5.22.50; CODESYS Embedded Target Visu Toolkit >= 3.0.0.0, < 3.5.22.50; CODESYS Remote Target Visu >= 3.0.0.0, < 3.5.22.50; CODESYS Safety SIL2 >= 3.0.0.0, < 3.5.22.50; CODESYS Gateway >= 3.0.0.0, < 3.5.22.50; CODESYS Edge Gateway for Windows >= 3.0.0.0, < 3.5.22.50; CODESYS HMI (SL) >= 3.0.0.0, < 3.5.22.50; CODESYS OPC DA Server SL >= 3.0.0.0, < 3.5.22.50; CODESYS PLCHandler >= 3.0.0.0, < 3.5.22.50

ProductVersionsFixed in
CODESYS Control RTE (SL)>= 3.0.0.0, < 3.5.22.50—
CODESYS Control RTE (for Beckhoff CX) SL>= 3.0.0.0, < 3.5.22.50—
CODESYS Control Win (SL)>= 3.0.0.0, < 3.5.22.50—
CODESYS Runtime Toolkit>= 3.0.0.0, < 3.5.22.50—
CODESYS Embedded Target Visu Toolkit>= 3.0.0.0, < 3.5.22.50—
CODESYS Remote Target Visu>= 3.0.0.0, < 3.5.22.50—
CODESYS Safety SIL2>= 3.0.0.0, < 3.5.22.50—
CODESYS Gateway>= 3.0.0.0, < 3.5.22.50—
CODESYS Edge Gateway for Windows>= 3.0.0.0, < 3.5.22.50—
CODESYS HMI (SL)>= 3.0.0.0, < 3.5.22.50—
CODESYS OPC DA Server SL>= 3.0.0.0, < 3.5.22.50—
CODESYS PLCHandler>= 3.0.0.0, < 3.5.22.50—
CODESYS Development System 3>= 3.0.0.0, < 3.5.22.50—
CODESYS Control for BeagleBone SL>= 3.5.0.0, < 4.24.0.0—
CODESYS Control for emPC-A/iMX6 SL>= 3.5.0.0, < 4.24.0.0—
CODESYS Control for IOT2000 SL>= 3.5.0.0, < 4.24.0.0—
CODESYS Control for Linux ARM SL>= 3.5.0.0, < 4.24.0.0—
CODESYS Control for Linux SL>= 3.5.0.0, < 4.24.0.0—
CODESYS Control for PFC100 SL>= 3.5.0.0, < 4.24.0.0—
CODESYS Control for PFC200 SL>= 3.5.0.0, < 4.24.0.0—
CODESYS Control for PLCnext SL>= 3.5.0.0, < 4.24.0.0—
CODESYS Control for Raspberry Pi SL>= 3.5.0.0, < 4.24.0.0—
CODESYS Control for WAGO Touch Panels 600 SL>= 3.5.0.0, < 4.24.0.0—
CODESYS Virtual Control SL>= 3.5.0.0, < 4.24.0.0—
CODESYS Edge Gateway for Linux>= 3.5.0.0, < 4.24.0.0—
CODESYS TargetVisu for Linux SL>= 3.5.0.0, < 4.24.0.0—

Action recommended by the source

See the official references for the fix or mitigation.

Information taken from the source or the vendor. Verify it at the original link before acting.

Sources and references

Weaknesses (CWE): CWE-787

Relevant change history

  1. Published

    Preliminary advisory published.