CVE Tools

CVE-2026-127148

Out-of-bounds Write in CODESYS Control

CVE-2026-127148 is an out-of-bounds write in CODESYS Control RTE (SL) (CVSS 9.8, Critical).

No known exploitation. No EPSS score yet. Fixed in 3.5.22.50.

Check it yourself

No ready-made check. Neither Nuclei nor OpenVAS has one for this CVE yet.

Request a scan

Published Updated Sources: CVE.org, NVD

What to do

Find your product and version, then upgrade to the build on the right.

  • CODESYS Control RTEAffected: ≥ 3.0.0.0, < 3.5.22.50Upgrade to: 3.5.22.50Stated by: CVE record
  • CODESYS Control RTE SLAffected: ≥ 3.0.0.0, < 3.5.22.50Upgrade to: 3.5.22.50Stated by: CVE record
  • CODESYS Control WinAffected: ≥ 3.0.0.0, < 3.5.22.50Upgrade to: 3.5.22.50Stated by: CVE record
  • CODESYS Runtime ToolkitAffected: ≥ 3.0.0.0, < 3.5.22.50Upgrade to: 3.5.22.50Stated by: CVE record
  • CODESYS Embedded Target Visu ToolkitAffected: ≥ 3.0.0.0, < 3.5.22.50Upgrade to: 3.5.22.50Stated by: CVE record

Versions as the sources state them. 21 more products have version data. Full version matrix after sign-in

Steps

Written by AI from the record
  1. Ask your automation vendor or integrator whether your PLCs, HMIs, or gateways run CODESYS Control, and which version.
  2. If so, check the version against the list of affected components (Control RTE, Control WIN, Runtime Toolkit, HMI, Gateway, Safety SIL2, and others).
  3. Upgrade all affected CODESYS products to version 3.5.22.50 or later.
  4. Until upgraded, make sure these systems are not reachable from the internet or general office network — isolate them on a dedicated control network.
  5. Confirm with your vendor that any Beckhoff CX or embedded hardware running CODESYS has also received the update.

What it is

From the CVE record

The CmpChannelMgr and CmpChannelMgrEmbedded components of the CODESYS Control runtime system performs improper length checking when handling online service packets, resulting in an out-of-bounds write. By sending a specially crafted packet, an unauthenticated remote attacker can exploit this flaw to execute arbitrary code on the affected product.

In plain language

Written by AI from the record

A serious flaw in CODESYS Control (used to run industrial machines and automation systems) could let an attacker take over the controller remotely without logging in, but there's no sign yet that attackers are using it, so you should plan to patch soon rather than panic.

An unauthenticated out-of-bounds write in CODESYS Control's CmpChannelMgr/CmpChannelMgrEmbedded components, triggered by a malformed online-service packet with insufficient length checking, allows remote arbitrary code execution (CWE-787, CVSS 9.8).

If you're affected

  • Full controller takeover
  • Production line shutdown
  • Manipulated machine behavior
  • Loss of safety functions
  • Operational disruption

Exploitation

Where each signal puts this CVE on the scale from published to confirmed exploited.

CISA KEV

Not in the catalog. CISA has not confirmed exploitation.

Public exploits

No public exploit or proof of concept found in the sources we track.

EPSS

No EPSS score yet. New CVEs are usually scored within a few days.

Lifecycle

6 events over 2 days, from the signal feeds we watch.

  1. Record updated
  2. Record updated
  3. Publishedweakness classified, att&ck mapped, record updated

Affected products

Technical detail

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Scored 9.8 by NVD.

How it is reached

  • Attack Vector NetworkExploitable remotely over the network without any special conditions
  • Attack Complexity LowNo special conditions — the attack can be reliably reproduced
  • Privileges Required NoneNo authentication required — anyone can exploit this
  • User Interaction NoneNo user interaction needed — fully automated exploitation

Scope

  • Scope UnchangedImpact is limited to the vulnerable component itself

Impact if exploited

  • Confidentiality HighTotal information disclosure — all data in the component is compromised
  • Integrity HighTotal loss of integrity — attacker can modify any data in the component
  • Availability HighTotal denial of service — the component is completely unavailable

Weaknesses

ATT&CK techniques

Mapped from the weaknesses above (CWE to ATT&CK), not observed in attacks.

Sources

Questions about CVE-2026-127148

Which versions are affected by CVE-2026-127148?
Control RTE (SL): ≥ 3.0.0.0, < 3.5.22.50. Control RTE (for Beckhoff CX) SL: ≥ 3.0.0.0, < 3.5.22.50. Control Win (SL): ≥ 3.0.0.0, < 3.5.22.50. 23 more products are listed in the record.
How do I fix or mitigate CVE-2026-127148?
Upgrade to 3.5.22.50 or later.

Last updated

Related articles

All articles

Watch the software you run.

My Stack ranks new CVEs for your products by real-world exploitation, so the next serious one reaches you without reading every advisory.

We'll flag the next CVE, public exploit or patch for Control RTE (SL), not every advisory.