Skip to content

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

CriticalCVSS 9.2
Published
Updated
Exploit status
No public exploit known

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.

Upgrade path

16 packages: 16 fixed.

PackageAffectedFixed inStatus
CODESYS Control for BeagleBone SL >= 4.21.0.0, < 4.24.0.0 4.24.0.0 Fixed
CODESYS Control for emPC-A/iMX6 SL >= 4.21.0.0, < 4.24.0.0 4.24.0.0 Fixed
CODESYS Control for IOT2000 SL >= 4.21.0.0, < 4.24.0.0 4.24.0.0 Fixed
CODESYS Control for Linux ARM SL >= 4.21.0.0, < 4.24.0.0 4.24.0.0 Fixed
CODESYS Control for Linux SL >= 4.21.0.0, < 4.24.0.0 4.24.0.0 Fixed
CODESYS Control for PFC100 SL >= 4.21.0.0, < 4.24.0.0 4.24.0.0 Fixed
CODESYS Control for PFC200 SL >= 4.21.0.0, < 4.24.0.0 4.24.0.0 Fixed
CODESYS Control for PLCnext SL >= 4.21.0.0, < 4.24.0.0 4.24.0.0 Fixed
CODESYS Control for Raspberry Pi SL >= 4.21.0.0, < 4.24.0.0 4.24.0.0 Fixed
CODESYS Control for WAGO Touch Panels 600 SL >= 4.21.0.0, < 4.24.0.0 4.24.0.0 Fixed
CODESYS Control RTE (for Beckhoff CX) SL >= 3.5.22.0, < 3.5.22.50 3.5.22.50 Fixed
CODESYS Control RTE (SL) >= 3.5.22.0, < 3.5.22.50 3.5.22.50 Fixed
CODESYS Control Win (SL) >= 3.5.22.0, < 3.5.22.50 3.5.22.50 Fixed
CODESYS HMI (SL) >= 3.5.22.0, < 3.5.22.50 3.5.22.50 Fixed
CODESYS Runtime Toolkit >= 3.5.22.0, < 3.5.22.50 3.5.22.50 Fixed
CODESYS Virtual Control SL >= 4.21.0.0, < 4.24.0.0 4.24.0.0 Fixed

Affected products

ProductAffected versionsFixed in
CODESYS Control RTE (SL) >= 3.5.22.0, < 3.5.22.50 3.5.22.50
CODESYS Control RTE (for Beckhoff CX) SL >= 3.5.22.0, < 3.5.22.50 3.5.22.50
CODESYS Control Win (SL) >= 3.5.22.0, < 3.5.22.50 3.5.22.50
CODESYS HMI (SL) >= 3.5.22.0, < 3.5.22.50 3.5.22.50
CODESYS Runtime Toolkit >= 3.5.22.0, < 3.5.22.50 3.5.22.50
CODESYS Control for BeagleBone SL >= 4.21.0.0, < 4.24.0.0 4.24.0.0
CODESYS Control for emPC-A/iMX6 SL >= 4.21.0.0, < 4.24.0.0 4.24.0.0
CODESYS Control for IOT2000 SL >= 4.21.0.0, < 4.24.0.0 4.24.0.0
CODESYS Control for Linux ARM SL >= 4.21.0.0, < 4.24.0.0 4.24.0.0
CODESYS Control for Linux SL >= 4.21.0.0, < 4.24.0.0 4.24.0.0
CODESYS Control for PFC100 SL >= 4.21.0.0, < 4.24.0.0 4.24.0.0
CODESYS Control for PFC200 SL >= 4.21.0.0, < 4.24.0.0 4.24.0.0
CODESYS Control for PLCnext SL >= 4.21.0.0, < 4.24.0.0 4.24.0.0
CODESYS Control for Raspberry Pi SL >= 4.21.0.0, < 4.24.0.0 4.24.0.0
CODESYS Control for WAGO Touch Panels 600 SL >= 4.21.0.0, < 4.24.0.0 4.24.0.0
CODESYS Virtual Control SL >= 4.21.0.0, < 4.24.0.0 4.24.0.0

References