Security Advisory

CVE-2022-22517: CODESYS Guessable Channel ID

Last updated:
  • CVE-2022-22517

CVE-2022-22517 is a weak channel ID in the CODESYS V3 communication protocol: a remote attacker with no login who guesses the ID can inject packets and close the session between a PLC runtime and its clients. NVD scores it 7.5. CODESYS fixed it in V3.5.18.0 and V4.5.0.0; Bosch Rexroth IndraMotion and IndraLogic controllers have no fix.

Need to know whether your firmware ships an affected version? Get a firmware scan report or contact us.

How severe is CVE-2022-22517?

CVSS base score

7.5

High severity

EPSS score (FIRST)

1.5%

Probability of exploitation in the wild in the next 30 days

CISA KEV catalog

No

Not listed

Published

Vulnerability ID: CVE-2022-22517 · Source: NVD

CVSS v3.1 severity rating scale: None 0.0, Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9, Critical 9.0 to 10.0
How a CVSS v3.1 base score maps to a severity rating. Source: FIRST CVSS v3.1 specification, section 5.

Which products and versions does CVE-2022-22517 affect?

ComponentCPEVersion range
CODESYS V3 products with CmpChannelMgr (Control RTE, Control Win, Gateway, HMI, OPC DA Server, PLCHandler, Development System, toolkits)cpe:2.3:a:codesys:control_win_sl:*:*:*:*:*:*:*:*before V3.5.18.0; fixed in V3.5.18.0 (CODESYS advisory 2022-04)
CODESYS Control for BeagleBone, emPC-A/iMX6, Linux, PFC100, PFC200, Raspberry Pi, WAGO Touch Panels 600, IOT2000, PLCnext; Edge Gateway for Linuxcpe:2.3:a:codesys:control_for_linux_sl:*:*:*:*:*:*:*:*before V4.5.0.0; fixed in V4.5.0.0, for IOT2000 and PLCnext in V4.6.0.0
Bosch Rexroth IndraLogic, IndraMotion MLC, MLD, MTX—all versions; no fixed firmware, security gateway recommended (BOSCH-SA-577411)
Bosch Rexroth ctrlX CORE PLC—up to 01V16 (PLC-V-0116) affected (BOSCH-SA-577411)

What does CVE-2022-22517 mean for affected devices?

The CVE record, assigned by CERT@VDE, reads: "An unauthenticated, remote attacker can disrupt existing communication channels between CODESYS products by guessing a valid channel ID and injecting packets. This results in the communication channel to be closed." It was published on 2022-04-07 (NVD, CVE.org record).

What is the weakness?

CODESYS runtime systems, gateways and clients talk over the CODESYS protocol, and the server side numbers each communication channel with an ID. CODESYS Security Advisory 2022-04 explains that the channel ID these servers generate "is insufficient": an attacker who guesses it can inject packets into a running session or close the channel. The session layer above it has its own integrity checks and identifiers, so injected packets are detected, but detection also ends in the channel being closed. The result is a broken connection between, for example, an engineering tool or HMI and the PLC runtime, not a takeover. CERT@VDE classifies it as CWE-334, small space of random values; NVD uses CWE-330, use of insufficiently random values.

How severe is it?

NVD's Primary score is CVSS v3.1 7.5, CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H, with a CVSS v2 score of 5.0 (AV:N/AC:L/Au:N/C:N/I:N/A:P). CERT@VDE, CODESYS and Bosch all give the same 7.5 vector. Availability is the only impact, and no login is needed. CODESYS rates the difficulty as low and knew of no public exploit when it last updated the advisory.

Which CODESYS versions fix it?

CODESYS advisory 2022-04, version 4.0 of 2022-11-03, covers every product that contains the CmpChannelMgr or CmpChannelMgrEmbedded component:

Product group Affected Fixed
Control RTE, Control Win, Gateway, Edge Gateway for Windows, HMI, OPC DA Server, PLCHandler, Development System V3, runtime and visu toolkits before V3.5.18.0 V3.5.18.0
Control for BeagleBone, emPC-A/iMX6, Linux, PFC100, PFC200, Raspberry Pi, WAGO Touch Panels 600; Edge Gateway for Linux before V4.5.0.0 V4.5.0.0
Control for IOT2000 and Control for PLCnext before V4.5.0.0 V4.6.0.0 (V4.5.0.0 was skipped)

CODESYS stresses that "both the CODESYS protocol server and the client must be updated" for the fix to work. NVD's 21 CPE entries follow the first two rows but put IOT2000 and PLCnext at "before 4.5.0.0", although no 4.5.0.0 release exists for them, and they do not list the OPC DA Server or PLCHandler. The flaw was found by B. Fels and B. Stuber of Robert Bosch GmbH.

How are Bosch Rexroth controllers affected?

Bosch PSIRT advisory BOSCH-SA-577411, published 2022-05-02 and last updated 2022-10-11, lists CVE-2022-22517 for Rexroth IndraLogic, IndraMotion MLC, IndraMotion MLD and IndraMotion MTX in all versions, and for ctrlX CORE PLC up to 01V16 (PLC-V-0116). Unlike CVE-2022-22513 and CVE-2022-22515, which hit the older controllers only when user management is disabled, this flaw affects them regardless. The advisory names no fixed IndraMotion or IndraLogic firmware; its remedies are a security gateway such as a ctrlX CORE in front of the controllers, plus the segmentation measures in Bosch's Security Guideline Electric Drives and Controls. For ctrlX CORE PLC, the advisory's solution text names release 01V18 only for CVE-2022-22515, so check the ctrlX CORE PLC release notes for the CODESYS version before treating a release above 01V16 as fixed.

What should asset owners do?

Update CODESYS runtimes, gateways and the Development System together, since a patched server with an old client keeps the weak IDs in play. Put IndraMotion and IndraLogic controllers behind a gateway or firewall that admits the CODESYS protocol only from named engineering stations and HMIs. Watch for repeated, unexplained disconnects between HMIs and PLCs, which is how this flaw would show up in operation.

The Bosch Rexroth ctrlX, IndraDrive and Nexo guide lists all the CODESYS flaws in Rexroth controllers, and the CODESYS runtime vulnerability guide explains the runtime components. CVE-2019-9010 is an older CODESYS gateway channel flaw.

Is it exploited?

CVE-2022-22517 is not in the CISA KEV catalog as of 2026-12-04 (catalog version 2026.12.04, 1,814 entries). FIRST EPSS gives it 0.01522, the 75.5th percentile, in the 2026-12-04 dataset (CISA KEV, FIRST EPSS).

Three signals on every advisory: CVSS says how severe the flaw is, EPSS gives the probability of exploitation in the wild in the next 30 days, and a CISA KEV listing means the flaw has been exploited in the wild
CVSS rates severity, EPSS estimates the likelihood of exploitation, and CISA KEV records exploitation seen in the wild. Source: FIRST EPSS; CISA KEV catalog.

How do the CVSS, EPSS and KEV signals for CVE-2022-22517 compare?

CVE-2022-22517 signals as recorded on this page, last checked .
SignalValue for CVE-2022-22517SourceWhat it tells you
CVSS base score7.5 (High)NVDHow severe the flaw is in its worst case, from 0.0 to 10.0; it says nothing about whether anyone is exploiting it.
EPSS probability1.5%FIRST EPSSThe probability that the CVE is exploited in the wild in the next 30 days.
CISA KEV listingNot listed as of 2026-12-04CISA KEV catalogA listing means CISA has reliable evidence of exploitation in the wild; BOD 22-01 sets a remediation due date for US federal civilian agencies.
Published2022-04-07NVDThe date the CVE record was first published in NVD.

How does the CVE-2022-22517 score change on your network?

A CVSS base score assumes the worst-case exposure. If the vulnerable interface on your device is reachable only from a local segment, or an attacker needs an account first, change those metrics below to see the re-scored base value. The FIRST CVSS v3.1 specification puts deployment-specific scoring in the Environmental metric group, so treat this as a quick what-if, not a replacement score.

Starting vector (matches the CVSS score above): CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Quoted vector: 7.5 (High)

Your re-score: 7.5 (High)

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

How to fix this class of issueThis advisory's weakness class is Weak cryptography. Our practical guide covers how to detect, fix, verify and disclose it: How to fix weak cryptography in embedded firmware.
From advisory to verified fix in four steps: read the advisory, find the affected component in the firmware SBOM, apply the fixed version or vendor mitigation, then re-scan the image to confirm the vulnerable version is gone
Read the advisory, find the component in your firmware SBOM, apply the fix, then re-scan to confirm it.

How do you check CVE-2022-22517 status from the command line?

These commands re-read the three public signals for CVE-2022-22517 (NVD, FIRST EPSS and the CISA KEV feed) so a build pipeline or a ticket can record the current values. They need curl and jq.

# NVD: CVSS metrics and record status (no API key: at most 5 requests per 30 s)
curl -s "https://services.nvd.nist.gov/rest/json/cves/2.0?cveId=CVE-2022-22517" \
  | jq '.vulnerabilities[0].cve | {vulnStatus, metrics}'

# FIRST EPSS: today's exploitation probability and percentile
curl -s "https://api.first.org/data/v1/epss?cve=CVE-2022-22517" | jq '.data[0]'

# CISA KEV: prints the catalog entry, or nothing if the CVE is not listed
curl -s https://www.cisa.gov/sites/default/files/feeds/known_exploited_vulnerabilities.json \
  | jq --arg id CVE-2022-22517 '.vulnerabilities[] | select(.cveID == $id)'

Which sources back each CVE-2022-22517 claim?

  • NVD (read 2026-12-04): status Modified; Primary CVSS v3.1 7.5 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H and CVSS v2 5.0; CERT@VDE Secondary 7.5 same vector; CWE-334 (CERT@VDE), CWE-330 (NVD); 21 CODESYS CPEs before 3.5.18.0 or 4.5.0.0. — NVD
  • CODESYS Advisory 2022-04 v4.0 (2022-11-03): CmpChannelMgr/CmpChannelMgrEmbedded before V3.5.18.0 / V4.5.0.0; IOT2000 and PLCnext fixed in V4.6.0.0; server and client must be updated; no known public exploit; found by B. Fels and B. Stuber of Robert Bosch GmbH. — CODESYS
  • BOSCH-SA-577411 (published 2022-05-02, updated 2022-10-11): CVE-2022-22517 affects IndraLogic, IndraMotion MLC, MLD, MTX all versions and ctrlX CORE PLC <= 01V16; 01V18 named for CVE-2022-22515; security gateway and Security Guideline measures. — Bosch PSIRT
  • CVE.org record: state PUBLISHED, assigner CERT@VDE, published 2022-04-07. — CVE.org
  • Not in CISA KEV, catalog version 2026.12.04, 1,814 entries, checked 2026-12-04. — CISA KEV
  • EPSS 0.01522, percentile 0.75481, dataset 2026-12-04. — FIRST EPSS

Is your firmware affected by CVE-2022-22517?

Advisories in the same weakness class as CVE-2022-22517

Sources for CVE-2022-22517

  1. NVD
  2. CODESYS Security Advisory 2022-04 (PDF)
  3. Bosch PSIRT BOSCH-SA-577411: CODESYS vulnerabilities in Rexroth controllers
  4. CVE.org record CVE-2022-22517 (JSON)
  5. CISA KEV
  6. FIRST EPSS

CVE-2022-22517: frequently asked questions

Can CVE-2022-22517 be used to take over a PLC?

CODESYS advisory 2022-04 describes an availability impact only. A guessed channel ID lets an attacker inject packets or close the channel, and the session layer's own integrity checks detect the injected packets, which also closes the channel. NVD, CERT@VDE and CODESYS rate confidentiality and integrity impact as none.

Is updating the PLC runtime enough?

No. CODESYS says both the CODESYS protocol server and the client must be updated for the fix to take effect, so update the Development System, gateways, HMIs and runtimes together to V3.5.18.0, or V4.5.0.0 for the SL runtimes; IOT2000 and PLCnext need V4.6.0.0.

Which Bosch Rexroth controllers are affected and fixed?

BOSCH-SA-577411 lists IndraLogic, IndraMotion MLC, MLD and MTX in all versions, with no fixed firmware, and ctrlX CORE PLC up to 01V16. Bosch recommends a security gateway such as a ctrlX CORE in front of the older controllers, plus network segmentation from its Security Guideline Electric Drives and Controls.

How likely is exploitation?

CVE-2022-22517 is not in CISA's Known Exploited Vulnerabilities catalog as of 2026-12-04. FIRST EPSS rates it 0.01522, the 75.5th percentile, in the 2026-12-04 dataset, and CODESYS knew of no public exploit in its last advisory update of 2022-11-03.