Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate to CODESYS runtime with high privileges
-
ExploitSend crafted PLC shell request to CmpLinuxRTDiag
-
ExecutionTrigger out-of-bounds write via bad length check
-
ImpactExecute arbitrary code on Linux PLC
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Bounds checking, write limits
MITRE ATT&CK
2 techniques across 2 tactics: Execution, Privilege Escalation The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires the attacker to already hold high-privileged authenticated access to the CODESYS Control runtime (PR:H) and to be able to reach its PLC shell interface on the CmpLinuxRTDiag diagnostic component; the crafted PLC shell request with an improper length then triggers the out-of-bounds write. Limiting factors: exploitation is gated behind high-privilege runtime authentication (so exposure depends on who can authenticate to the runtime and how network access to the shell interface is restricted), and it applies only to the Linux-targeted CODESYS Control products listed (e.g. Control for Linux SL, Control for Raspberry Pi SL, PFC100/PFC200 SL, PLCnext SL, IoT2000 SL, BeagleBone SL, Runtime Toolkit). No user interaction is required (UI:N). Specific fixed versions are not stated in the available input. |
| Impact | Severity signals converge on a genuinely serious but access-gated flaw rather than a mass-exploitation emergency. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:H/UI:N, VC:H/VI:H/VA:H, score 8.6) describes a network-reachable, low-complexity bug yielding full confidentiality, integrity and availability loss of the runtime - but crucially PR:H means the attacker must already hold high-privileged, authenticated access to the CODESYS runtime before the crafted PLC shell request can be sent. This is the dominant limiting factor and is why the raw score, despite being 'high', does not imply opportunistic internet-wide compromise. No EPSS score was supplied, so statistical exploitation probability cannot be stated. KEV status is not present in the input, so there is no confirmed active exploitation. No PoC or exploit reference appears in the input, so this is not weaponized at time of analysis. The vendor priority label is 'this_week' (CERT@VDE / CODESYS coordinated disclosure), which matches a patch-promptly posture consistent with an OT device bug requiring prior privilege - not an 'act_now'/'emergency' label. Net: a real priority for anyone running CODESYS Control on Linux PLCs, especially where runtime credentials are shared or weakly protected, but its real-world risk is bounded by the high-privilege precondition rather than being a drive-by RCE. |
| Exploit ScenarioDerived | An attacker who has already obtained high-privileged, authenticated access to the CODESYS Control runtime on a Linux-based PLC sends a specially crafted PLC shell request to the CmpLinuxRTDiag diagnostic component. Because the component performs improper length checking, the oversized request triggers an out-of-bounds write (CWE-787) in memory, which the attacker leverages to execute arbitrary code on the Linux device and take over the controller. No public exploit code is identified in the input, and the specific trigger beyond 'improper length checking' is not detailed in the available sources. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 30, 2026
Authenticated, high-privileged remote users of CODESYS Control on Linux can exploit improper length checking in the CmpLinuxRTDiag diagnostic component by sending a crafted PLC shell request, causing an out-of-bounds write that may lead to arbitrary code execution on the affected device. The flaw is rated CVSS 8.6 by the CVSS:4.0 vector with high confidentiality, integrity and availability impact, and it affects multiple Linux-targeted CODESYS Control SL products plus the Runtime Toolkit. The supplied intelligence contains no KEV entry or public exploit reference, so no public exploit was identified at time of analysis.
RemediationAI
No vendor-released patch or exact fixed version is identified in the supplied intelligence; the primary action is to consult CERT VDE advisory VDE-2026-170 (https://www.certvde.com/en/advisories/VDE-2026-170/) for CODESYS's fixed releases and apply them as soon as they are available. Because exploitation requires high-privileged runtime authentication and reachability of the PLC shell interface on CmpLinuxRTDiag, exposure can be reduced by restricting network access to that shell interface and limiting which accounts hold high privileges on the runtime; the trade-off is reduced remote diagnostics and administration capability. No other workaround is specified in the available data.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 12 packages in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
CWE-787 (out-of-bounds write) is the root-cause class: the CmpLinuxRTDiag component of the CODESYS Control runtime for Linux does not correctly validate the length of data in PLC shell requests, so a malformed request can write beyond the intended buffer and corrupt memory. The assessed vector requires network reachability to the runtime (AV:N), no user interaction (UI:N), and high privileges (PR:H), meaning the attacker must already be able to authenticate to the runtime and reach the PLC shell interface before the crafted request can trigger the flaw. Successful corruption may permit arbitrary code execution in the context of the affected Linux device. CPE data ties the issue to CODESYS Runtime Toolkit and the Linux SL runtime editions (BeagleBone, eMPC-A/iMX6, IoT2000, Linux ARM, Linux, PFC100, PFC200, PLCnext, Raspberry Pi); the trigger is specifically the improper length handling in the PLC shell request path as described by the advisory.
Know when Codesys gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Network-reachable PLC shell with low complexity, but exploitation requires high-privilege runtime authentication (PR:H); out-of-bounds write yields full code execution, so C/I/A:H and scope unchanged (SC:N).
Primary rating from Vendor (CERTVDE).
CVSS VectorVendor: CERTVDE
Lifecycle Timeline
2DescriptionCVE.org
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.
Executive ViewAI
A high-severity vulnerability in CODESYS Control runtime for Linux could allow an authenticated, high-privileged remote user to execute arbitrary code, compromising the confidentiality, integrity, and availability of affected industrial control systems. This affects multiple Linux-targeted CODESYS Control SL products and the Runtime Toolkit, posing operational risk to OT environments. Leadership should prioritize remediation due to the potential for system takeover and disruption.
No vendor-released patch identified at time of analysis. Implement network segmentation, restrict access to diagnostic interfaces, enforce strong authentication and least privilege for high-privileged users, and monitor for unusual PLC shell activity.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.
Memory corruption occurs when a program writes data beyond the boundaries of allocated memory regions or accesses memory in unintended ways, violating the integrity of the process's address space.
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
CODESYS V3 web server before 3.5.15.40, as used in CODESYS Control runtime systems, has a buffer overflow. Rated critica
CODESYS 3 web server before 3.5.15.20, as distributed with CODESYS Control runtime systems, has a Buffer Overflow. Rated
Crafted web server requests can be utilised to read partial stack or heap memory or may trigger a denial-of- service con
An exploitable code execution vulnerability exists in the PLC_Task functionality of 3S-Smart Software Solutions GmbH COD
An unsafe deserialization vulnerability exists in the Engine.plugin ProfileInformation ProfileData functionality of CODE
An unsafe deserialization vulnerability exists in the ObjectManager.plugin Project.get_MissingTypes() functionality of C
An unsafe deserialization vulnerability exists in the ObjectManager.plugin ObjectStream.ProfileByteArray functionality o
A unsafe deserialization vulnerability exists in the ObjectManager.plugin ProfileInformation.ProfileData functionality o
A unsafe deserialization vulnerability exists in the ComponentModel ComponentManager.StartupCultureSettings functionalit
The Package Manager of CODESYS Development System 3 before 3.5.17.0 does not check the validity of packages before insta
In CODESYS V2 Runtime Toolkit 32 Bit full and PLCWinNT prior to versions V2.4.7.56 unauthenticated crafted invalid reque
In the CODESYS V2 web server prior to V1.1.9.22 crafted web server requests may cause a Null pointer dereference in the
EUVD-2026-138148
GHSA-j975-v6w5-p75x
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB