Read the docs

Out-of-bounds write in CODESYS Control runtime for Linux

Priority MEDIUM 41CWE-787Published · Updated

Key facts

Attack vector
Network
Privileges required
High
User interaction
None
Attack complexity
Low
Attack requirements
None
Impact type
Code execution
Confidentiality · integrity · availability
High · High · High
Fix status
Fixed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-787 and the CVSS impact.

Summary

The CmpLinuxRTDiag component of the CODESYS Control runtime system for Linux performs improper length checking when handling PLC shell requests, which is an out-of-bounds write (CWE-787). An authenticated remote attacker with high privileges can send a specially crafted request, which may result in arbitrary code execution on the affected Linux device. The affected products are CODESYS Runtime Toolkit from 3.22.0.0 before 3.5.22.50 and CODESYS Control SL products from 4.21.0.0 before 4.24.0.0.

Written with Claude Haiku 5.5 from the sources below · 2026-11-30

Description from the CNA

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00822 54th percentileScored 2026-11-30
Fix Fixed Runtime Toolkit (CODESYS): 3.5.22.50Control for BeagleBone SL (CODESYS): 4.24.0.0+10 more products

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
CODESYSRuntime Toolkit3.22.0.0 to before 3.5.22.503.5.22.50Patch availableCNA
CODESYSControl for BeagleBone SL4.21.0.0 to before 4.24.0.04.24.0.0Patch availableCNA
CODESYSControl for emPC-A/iMX6 SL4.21.0.0 to before 4.24.0.04.24.0.0Patch availableCNA
CODESYSControl for IOT2000 SL4.21.0.0 to before 4.24.0.04.24.0.0Patch availableCNA
CODESYSControl for Linux ARM SL4.21.0.0 to before 4.24.0.04.24.0.0Patch availableCNA
CODESYSControl for Linux SL4.21.0.0 to before 4.24.0.04.24.0.0Patch availableCNA
CODESYSControl for PFC100 SL4.21.0.0 to before 4.24.0.04.24.0.0Patch availableCNA
CODESYSControl for PFC200 SL4.21.0.0 to before 4.24.0.04.24.0.0Patch availableCNA
CODESYSControl for PLCnext SL4.21.0.0 to before 4.24.0.04.24.0.0Patch availableCNA
CODESYSControl for Raspberry Pi SL4.21.0.0 to before 4.24.0.04.24.0.0Patch availableCNA
CODESYSControl for WAGO Touch Panels 600 SL4.21.0.0 to before 4.24.0.04.24.0.0Patch availableCNA
CODESYSVirtual Control SL4.21.0.0 to before 4.24.0.04.24.0.0Patch availableCNA
  • Runtime Toolkit VendorCODESYS Affected 3.22.0.0 to before 3.5.22.50 Fixed in 3.5.22.50 Patch available CNA
  • Control for BeagleBone SL VendorCODESYS Affected 4.21.0.0 to before 4.24.0.0 Fixed in 4.24.0.0 Patch available CNA
  • Control for emPC-A/iMX6 SL VendorCODESYS Affected 4.21.0.0 to before 4.24.0.0 Fixed in 4.24.0.0 Patch available CNA
  • Control for IOT2000 SL VendorCODESYS Affected 4.21.0.0 to before 4.24.0.0 Fixed in 4.24.0.0 Patch available CNA
  • Control for Linux ARM SL VendorCODESYS Affected 4.21.0.0 to before 4.24.0.0 Fixed in 4.24.0.0 Patch available CNA
  • Control for Linux SL VendorCODESYS Affected 4.21.0.0 to before 4.24.0.0 Fixed in 4.24.0.0 Patch available CNA
  • Control for PFC100 SL VendorCODESYS Affected 4.21.0.0 to before 4.24.0.0 Fixed in 4.24.0.0 Patch available CNA
  • Control for PFC200 SL VendorCODESYS Affected 4.21.0.0 to before 4.24.0.0 Fixed in 4.24.0.0 Patch available CNA
  • Control for PLCnext SL VendorCODESYS Affected 4.21.0.0 to before 4.24.0.0 Fixed in 4.24.0.0 Patch available CNA
  • Control for Raspberry Pi SL VendorCODESYS Affected 4.21.0.0 to before 4.24.0.0 Fixed in 4.24.0.0 Patch available CNA
  • Control for WAGO Touch Panels 600 SL VendorCODESYS Affected 4.21.0.0 to before 4.24.0.0 Fixed in 4.24.0.0 Patch available CNA
  • Virtual Control SL VendorCODESYS Affected 4.21.0.0 to before 4.24.0.0 Fixed in 4.24.0.0 Patch available CNA

Remediation

Update CODESYS Runtime Toolkit to 3.5.22.50 and the CODESYS Control SL products listed as affected to 4.24.0.0. The sources do not list a vendor advisory identifier for this fix.

Written with Claude Haiku 5.5 from the sources below · 2026-11-30

  • Fix · CNA Runtime Toolkit (CODESYS) Fixed in 3.5.22.50
  • Fix · CNA Control for BeagleBone SL (CODESYS) Fixed in 4.24.0.0
  • Fix · CNA Control for emPC-A/iMX6 SL (CODESYS) Fixed in 4.24.0.0
  • Fix · CNA Control for IOT2000 SL (CODESYS) Fixed in 4.24.0.0
  • Fix · CNA Control for Linux ARM SL (CODESYS) Fixed in 4.24.0.0
  • Fix · CNA Control for Linux SL (CODESYS) Fixed in 4.24.0.0
  • Fix · CNA Control for PFC100 SL (CODESYS) Fixed in 4.24.0.0
  • Fix · CNA Control for PFC200 SL (CODESYS) Fixed in 4.24.0.0
  • Fix · CNA Control for PLCnext SL (CODESYS) Fixed in 4.24.0.0
  • Fix · CNA Control for Raspberry Pi SL (CODESYS) Fixed in 4.24.0.0
  • Fix · CNA Control for WAGO Touch Panels 600 SL (CODESYS) Fixed in 4.24.0.0
  • Fix · CNA Virtual Control SL (CODESYS) Fixed in 4.24.0.0

Fixed in the same release

Records fixed by the same vendor advisory or release, as the CNA lists them.

  • Release ·

    CODESYS Control for BeagleBone SL, Control for IOT2000 SL and 10 more products 3.5.22.50, 4.24.0.0

    10 records Highest priority Priority MEDIUM 3 MEDIUM, 7 LOW

    Other records, highest priority first

    • TI-2026-99730 Out-of-bounds write in CODESYS Control lets attackers run codePriority MEDIUM 42
    • TI-2026-99725 Use after free in CODESYS Control allows remote code executionPriority MEDIUM 40
    • TI-2026-99727 Integer underflow in CODESYS Control WebVisu allows memory disclosurePriority LOW 38

Timeline

  1. 2026-11-30 Threatist record created from CVE-2026-127167
  2. 2026-11-30 Alias added: GHSA-j975-v6w5-p75x
  3. 2026-11-30 CISA SSVC decision points changed

References

  • TI-2021-12888 CODESYS Control Runtime system before 3.5.17.10 has a Heap-based Buffer Overflow. CVSS 3.1CRITICAL 9.8
  • TI-2019-10180 Stack-based buffer overflow in CODESYS V3 web server CVSS 3.1CRITICAL 9.8
  • TI-2021-13604 CODESYS V2 web server: crafted requests could trigger a null pointer dereference (DoS) CVSS 3.1HIGH 7.5
  • TI-2020-08257 CODESYS V3 web server before 3.5.15.40, as used in CODESYS Control runtime systems, has a buffer overflow. CVSS 3.1CRITICAL 9.8
  • TI-2019-13592 CODESYS 3 web server before 3.5.15.20, as distributed with CODESYS Control runtime systems, has a Buffer Overflow. CVSS 3.1CRITICAL 9.8
  • TI-2017-03937 Unrestricted file upload in 3S-Smart Software Solutions GmbH CODESYS Web Server CVSS 3.0CRITICAL 9.8
See all 174 →

Sources