CVE-2026-127071

Use After Free in CODESYS Control may result in RCE

Published Nov 30, 2026 CVSS 4.0 · 9.2 Critical EPSS < 1% KEV · Not listed
Description
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.

Analysis

AI-generated

Technical impact

A use‑after‑free flaw exists in the WebSocket handling of the web server component in CODESYS control products. The flaw allows an unauthenticated attacker to send crafted WebSocket frames that read memory from a previously released connection object. If the attacker has enough knowledge of the runtime memory layout, the vulnerability can lead to remote code execution.

Affected Systems

The flaw affects multiple CODESYS Control products: Control RTE (SL), Control RTE for Beckhoff CX (SL), Control Win (SL), Control for BeagleBone (SL), Control for IOT2000 (SL), Control for Linux ARM (SL), Control for Linux (SL), Control for PFC100 (SL), Control for PFC200 (SL), Control for PLCnext (SL), Control for Raspberry Pi (SL), Control for WAGO Touch Panels 600 (SL), Control for emPC‑A/iMX6 (SL), HMI (SL), Runtime Toolkit, and Virtual Control (SL).

Risk and Exploitability

The CVSS score of 9.2 indicates a high severity flaw. The EPSS score is currently not available, and the vulnerability has not been listed in CISA KEV.-Based on the description, it is inferred that the attacker must obtain prior knowledge of the memory layout of the runtime process to successfully exploit the Use‑After‑Free condition. The likely attack vector is network‑based, with any host that can reach the device’s WebSocket interface able to launch the exploit. The attacker does not need authentication, which expands the potential threat surface significantly.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the latest CODESYS Control firmware or software update that fixes the use‑after‑free flaw.
  • If an update is not immediately available, restrict inbound access to the WebSocket port (e.g., TCP 8080 or 443) to trusted networks or block the port entirely.
  • Disable the WebSocket server or replace the WebSocket interface with a secure, authenticated control channel.
  • Monitor device logs and network traffic for abnormal WebSocket activity that might indicate exploitation attempts.

Generated by OpenCVE AI on November 30, 2026 at 14:30 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description 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.
Title Use After Free in CODESYS Control may result in RCE
First Time appeared Codesys
Codesys codesys Control For Beaglebone Sl
Codesys codesys Control For Empc A Imx6 Sl
Codesys codesys Control For Iot2000 Sl
Codesys codesys Control For Linux Arm Sl
Codesys codesys Control For Linux Sl
Codesys codesys Control For Pfc100 Sl
Codesys codesys Control For Pfc200 Sl
Codesys codesys Control For Plcnext Sl
Codesys codesys Control For Raspberry Pi Sl
Codesys codesys Control For Wago Touch Panels 600 Sl
Codesys codesys Control Rte For Beckhoff Cx Sl
Codesys codesys Control Rte Sl
Codesys codesys Control Win Sl
Codesys codesys Hmi Sl
Codesys codesys Runtime Toolkit
Codesys codesys Virtual Control Sl
Weaknesses CWE-416
CPEs cpe:2.3:a:codesys:codesys_control_for_beaglebone_sl:*:*:*:*:*:*:*:*
cpe:2.3:a:codesys:codesys_control_for_empc_a_imx6_sl:*:*:*:*:*:*:*:*
cpe:2.3:a:codesys:codesys_control_for_iot2000_sl:*:*:*:*:*:*:*:*
cpe:2.3:a:codesys:codesys_control_for_linux_arm_sl:*:*:*:*:*:*:*:*
cpe:2.3:a:codesys:codesys_control_for_linux_sl:*:*:*:*:*:*:*:*
cpe:2.3:a:codesys:codesys_control_for_pfc100_sl:*:*:*:*:*:*:*:*
cpe:2.3:a:codesys:codesys_control_for_pfc200_sl:*:*:*:*:*:*:*:*
cpe:2.3:a:codesys:codesys_control_for_plcnext_sl:*:*:*:*:*:*:*:*
cpe:2.3:a:codesys:codesys_control_for_raspberry_pi_sl:*:*:*:*:*:*:*:*
cpe:2.3:a:codesys:codesys_control_for_wago_touch_panels_600_sl:*:*:*:*:*:*:*:*
cpe:2.3:a:codesys:codesys_control_rte_for_beckhoff_cx_sl:*:*:*:*:*:*:*:*
cpe:2.3:a:codesys:codesys_control_rte_sl:*:*:*:*:*:*:*:*
cpe:2.3:a:codesys:codesys_control_win_sl:*:*:*:*:*:*:*:*
cpe:2.3:a:codesys:codesys_hmi_sl:*:*:*:*:*:*:*:*
cpe:2.3:a:codesys:codesys_runtime_toolkit:*:*:*:*:*:*:*:*
cpe:2.3:a:codesys:codesys_virtual_control_sl:*:*:*:*:*:*:*:*
Vendors & Products Codesys
Codesys codesys Control For Beaglebone Sl
Codesys codesys Control For Empc A Imx6 Sl
Codesys codesys Control For Iot2000 Sl
Codesys codesys Control For Linux Arm Sl
Codesys codesys Control For Linux Sl
Codesys codesys Control For Pfc100 Sl
Codesys codesys Control For Pfc200 Sl
Codesys codesys Control For Plcnext Sl
Codesys codesys Control For Raspberry Pi Sl
Codesys codesys Control For Wago Touch Panels 600 Sl
Codesys codesys Control Rte For Beckhoff Cx Sl
Codesys codesys Control Rte Sl
Codesys codesys Control Win Sl
Codesys codesys Hmi Sl
Codesys codesys Runtime Toolkit
Codesys codesys Virtual Control Sl
References
Metrics cvssV3_1

{'score': 8.1, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H'}

cvssV4_0

{'score': 9.2, 'vector': 'CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N'}