cve.bz

CVE-2026-127148 (PLC2Shell) Out-of-bounds Write in CODESYS Control

9.3 criticalEPSS 2.0%

Known as PLC2Shell

Critical (9.3) in codesys. EPSS 2.0% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 4.0

9.3 critical
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

CVSS 3.1

9.8 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
2.0% estimated probability of exploitation activity in the next 30 days; 81st percentile. Scored 2026-12-04. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: total, assessed 2026-11-30. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-787 Out-of-bounds Write
Published
Modified
Assigned by
CERTVDE (CNA)
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Ask an AI about this CVE

Show the promptExplain CVE-2026-127148 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-127148?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-127148?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-127148 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
CODESYS Control RTE (SL)from 3.0.0.0 before 3.5.22.50
CODESYS Control RTE (for Beckhoff CX) SLfrom 3.0.0.0 before 3.5.22.50
CODESYS Control Win (SL)from 3.0.0.0 before 3.5.22.50
CODESYS Runtime Toolkitfrom 3.0.0.0 before 3.5.22.50
CODESYS Embedded Target Visu Toolkitfrom 3.0.0.0 before 3.5.22.50
CODESYS Remote Target Visufrom 3.0.0.0 before 3.5.22.50
CODESYS Safety SIL2from 3.0.0.0 before 3.5.22.50
CODESYS Gatewayfrom 3.0.0.0 before 3.5.22.50
CODESYS Edge Gateway for Windowsfrom 3.0.0.0 before 3.5.22.50
CODESYS HMI (SL)from 3.0.0.0 before 3.5.22.50
CODESYS OPC DA Server SLfrom 3.0.0.0 before 3.5.22.50
CODESYS PLCHandlerfrom 3.0.0.0 before 3.5.22.50
CODESYS Development System 3from 3.0.0.0 before 3.5.22.50
CODESYS Control for BeagleBone SLfrom 3.5.0.0 before 4.24.0.0
CODESYS Control for emPC-A/iMX6 SLfrom 3.5.0.0 before 4.24.0.0
CODESYS Control for IOT2000 SLfrom 3.5.0.0 before 4.24.0.0
CODESYS Control for Linux ARM SLfrom 3.5.0.0 before 4.24.0.0
CODESYS Control for Linux SLfrom 3.5.0.0 before 4.24.0.0
CODESYS Control for PFC100 SLfrom 3.5.0.0 before 4.24.0.0
CODESYS Control for PFC200 SLfrom 3.5.0.0 before 4.24.0.0
CODESYS Control for PLCnext SLfrom 3.5.0.0 before 4.24.0.0
CODESYS Control for Raspberry Pi SLfrom 3.5.0.0 before 4.24.0.0
CODESYS Control for WAGO Touch Panels 600 SLfrom 3.5.0.0 before 4.24.0.0
CODESYS Virtual Control SLfrom 3.5.0.0 before 4.24.0.0
CODESYS Edge Gateway for Linuxfrom 3.5.0.0 before 4.24.0.0
CODESYS TargetVisu for Linux SLfrom 3.5.0.0 before 4.24.0.0

GitHub PoC

Repositories on GitHub named after this CVE or listed for it by the PoC-in-GitHub index. For those marked Harbor Check: matches CVE, Flawharbor read the code and found it implements this CVE's exploitation technique: read, not run, and its dependencies only checked for warning signs, so a pointer and no guarantee. The rest are unverified: some hold a working proof of concept, some nothing useful, and some malware made to look like one. Read the code before you run any of it. How Harbor Check reads them, and what it found.

History

  1. The NVD deferred its analysis

Changes since this site first stored the record. The same for every record: /api/public/changes.

References

Check your stackJSON