Skip to content

CVE-2026-127167 Out-of-bounds Write in CODESYS Control

HighCVSS 8.6
Published
Updated
Exploit status
No public exploit known

Description

The CmpLinuxRTDiag component of the CODESYS Control runtime system for Linux performs improper length checking when handling PLC shell requests. By sending a specially crafted request, an authenticated, high-privileged remote attacker can exploit this flaw, which may result in arbitrary code execution on the affected Linux device.

Upgrade path

12 packages: 12 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 Runtime Toolkit >= 3.22.0.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 Runtime Toolkit >= 3.22.0.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