Skip to content
DayZeroHub
Critical Not yet writtenCVSS 9.2CVE-2026-127071

CVE-2026-127071: Use After Free in CODESYS Control may result in RCE

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-127071: critical-severity vulnerability (CVSS 9.2) in CODESYS Control RTE (SL).

What happened

Original description from the source: The affected products contain a use-after-free vulnerability in the WebSocket handling of the web server component. An unauthenticated remote attacker can send specially crafted WebSocket frames to trigger access to a previously released connection object. Successful exploitation may result in remote code execution if the attacker has previously obtained sufficient information about the memory layout of the runtime process on the targeted device.

Why it matters

Critical severity, CVSS 9.2.

Affected products and versions

CODESYS Control RTE (SL) >= 3.5.22.0, < 3.5.22.50; CODESYS Control RTE (for Beckhoff CX) SL >= 3.5.22.0, < 3.5.22.50; CODESYS Control Win (SL) >= 3.5.22.0, < 3.5.22.50; CODESYS HMI (SL) >= 3.5.22.0, < 3.5.22.50; CODESYS Runtime Toolkit >= 3.5.22.0, < 3.5.22.50; CODESYS Control for BeagleBone SL >= 4.21.0.0, < 4.24.0.0; CODESYS Control for emPC-A/iMX6 SL >= 4.21.0.0, < 4.24.0.0; CODESYS Control for IOT2000 SL >= 4.21.0.0, < 4.24.0.0; CODESYS Control for Linux ARM SL >= 4.21.0.0, < 4.24.0.0; CODESYS Control for Linux SL >= 4.21.0.0, < 4.24.0.0; CODESYS Control for PFC100 SL >= 4.21.0.0, < 4.24.0.0; CODESYS Control for PFC200 SL >= 4.21.0.0, < 4.24.0.0

ProductVersionsFixed in
CODESYS Control RTE (SL)>= 3.5.22.0, < 3.5.22.50—
CODESYS Control RTE (for Beckhoff CX) SL>= 3.5.22.0, < 3.5.22.50—
CODESYS Control Win (SL)>= 3.5.22.0, < 3.5.22.50—
CODESYS HMI (SL)>= 3.5.22.0, < 3.5.22.50—
CODESYS Runtime Toolkit>= 3.5.22.0, < 3.5.22.50—
CODESYS Control for BeagleBone SL>= 4.21.0.0, < 4.24.0.0—
CODESYS Control for emPC-A/iMX6 SL>= 4.21.0.0, < 4.24.0.0—
CODESYS Control for IOT2000 SL>= 4.21.0.0, < 4.24.0.0—
CODESYS Control for Linux ARM SL>= 4.21.0.0, < 4.24.0.0—
CODESYS Control for Linux SL>= 4.21.0.0, < 4.24.0.0—
CODESYS Control for PFC100 SL>= 4.21.0.0, < 4.24.0.0—
CODESYS Control for PFC200 SL>= 4.21.0.0, < 4.24.0.0—
CODESYS Control for PLCnext SL>= 4.21.0.0, < 4.24.0.0—
CODESYS Control for Raspberry Pi SL>= 4.21.0.0, < 4.24.0.0—
CODESYS Control for WAGO Touch Panels 600 SL>= 4.21.0.0, < 4.24.0.0—
CODESYS Virtual Control SL>= 4.21.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-416

Relevant change history

  1. Published

    Preliminary advisory published.