CVE-2026-127167 in Control for Linuxinfo

Summary

by MITRE • 11/30/2026

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.

Once again VulDB remains the best source for vulnerability data.

Analysis

by VulDB Data Team • 11/30/2026

The vulnerability identified within the CmpLinuxRTDiag component of the CODESYS Control runtime system for Linux represents a critical security deficiency rooted in improper length checking during the processing of PLC shell requests. This specific flaw allows an attacker to manipulate input parameters beyond their intended boundaries, leading to memory corruption or logic errors that can be leveraged for malicious purposes. The presence of this vulnerability underscores significant gaps in input validation mechanisms within industrial control system software, where robust boundary checks are essential to prevent exploitation by adversaries seeking unauthorized access or disruption.

From a technical perspective, the core issue lies in how the runtime handles incoming shell commands. When a request is received, the component fails to adequately verify that the length of the provided data aligns with expected buffer sizes or logical constraints. This lack of rigorous validation enables an authenticated attacker who possesses high privileges to craft specially formatted requests that exceed these implicit limits. By doing so, the attacker can overwrite adjacent memory structures or trigger undefined behavior within the application logic. Such conditions are classic precursors to arbitrary code execution, as they allow the injection and subsequent control flow hijacking necessary for running malicious payloads on the target device.

The operational impact of this vulnerability is severe due to the elevated privilege level required by the attacker. Since exploitation requires authentication and high-privileged access, it typically targets scenarios where an insider threat exists or when initial compromise has already occurred through other vectors such as phishing or network intrusion. Once exploited, the ability to execute arbitrary code grants the adversary full control over the Linux device running the CODESYS runtime. This can lead to complete system compromise, including the modification of critical configuration files, installation of persistent backdoors, and potential lateral movement within the industrial network. In an operational technology environment, such a breach could result in significant production downtime, safety hazards, or theft of proprietary intellectual property embedded in PLC programs.

This vulnerability aligns with CWE-120, which describes buffer copy without checking size limits, although it may also intersect with CWE-787 if the improper length check leads to out-of-bounds writes affecting memory integrity. Furthermore, from a tactical standpoint, this flaw facilitates ATT&CK technique T1059, Command and Scripting Interpreter, as well as T1203, Exploitation for Client Execution, depending on how the shell request is processed and executed within the runtime environment. The ability to execute arbitrary code effectively bypasses standard security controls that rely on authentication boundaries, highlighting the need for defense-in-depth strategies even in authenticated contexts.

Mitigation efforts should prioritize immediate patching of the CODESYS Control runtime system to the latest version provided by the vendor, which likely includes corrected input validation logic. In environments where updates cannot be applied immediately, network segmentation is crucial to restrict access to the affected components only from trusted management stations with strict authentication policies. Additionally, implementing application whitelisting and monitoring for unusual shell command patterns can help detect exploitation attempts early. Regular security assessments focused on industrial control systems should include rigorous testing of input validation mechanisms in all runtime components to ensure that length checks are consistently enforced across all entry points.

Responsible

CERTVDE

Reservation

11/12/2026

Disclosure

11/30/2026

Moderation

accepted

CPE

ready

EPSS

0.00000

KEV

no

Activities

very low

Sources

Interested in the pricing of exploits?

See the underground prices here!