CVE-2026-127148: Out-of-Bounds Write in CODESYS Control Service Pack Handling (CVSS 9.8)
What the Vulnerability Is
CVE-2026-127148 is an improper length check (CWE-787, out-of-bounds write) in the CmpChannelMgr and CmpChannelMgrEmbedded components of the CODESYS Control runtime system. These components process "online service pack" messages sent over the CODESYS online communication protocol, typically over TCP/UDP ports 1217 and 11740. A malformed length field in a service pack message can trigger an out-of-bounds write in the runtime, leading to memory corruption, a runtime crash, or potential remote code execution on the affected PLC or controller.
The flaw carries a CVSS score of 9.8 — it is network-reachable and requires no authentication, making it a critical risk for any CODESYS-based control system exposed on a reachable network segment.
Affected Software
The vulnerability affects the CODESYS Control runtime system's CmpChannelMgr and CmpChannelMgrEmbedded components. Specific vendor products and affected version ranges have not been enumerated in this detection; organizations running CODESYS-based runtimes should consult CODESYS advisories directly to confirm exposure and apply vendor guidance.
Exploitation Status
Exploitation of CVE-2026-127148 is currently assessed as theoretical — there is no known weaponized exploit, public proof-of-concept, or confirmed in-the-wild activity at this time. Given the high CVSS score and the unauthenticated, network-reachable attack vector, defenders should treat this as a high-priority monitoring and segmentation item even in the absence of active exploitation, since OT/ICS vulnerabilities of this class often see delayed but eventual weaponization once technical details circulate.
How Our Detection Catches It
Because the CODESYS online protocol is a binary OT protocol that most SIEMs do not natively parse, this detection focuses on observable network and host behavior rather than deep packet inspection of the protocol itself. The logic looks for:
- Network traffic toward CODESYS runtime ports (1217/11740, TCP/UDP) originating from untrusted or unexpected source hosts
- Anomalous payload sizes on service-pack management channels that deviate from normal engineering workstation traffic patterns
- Runtime process crashes or unexpected restarts on CODESYS Control hosts that correlate with inbound traffic on these ports
- Service-pack management channel activity initiated from hosts outside the known set of engineering workstations
This logic is shipped across seven SIEM dialects — Microsoft Sentinel (KQL), Splunk (SPL), Elastic (EQL), IBM QRadar (AQL), Sumo Logic, Google Chronicle (YARA-L), and CrowdStrike (CQL) — so OT security teams can deploy consistent detection logic regardless of which platform ingests their network and host telemetry. As with most OT network behavior detections, tuning to your specific network segmentation and the known list of legitimate engineering workstations is essential to minimize false positives.
For the full detection logic, investigation guidance, and ready-to-use queries across all supported SIEM platforms, see the CVE-2026-127148 detection page.