# CODESYS: Exposure of Resource to Wrong Sphere in CODESYS V3

CVE record · `CVE-2022-4224`

- **Identifiers:** `CVE-2022-4224`
- **State:** Confirmed
- **Severity:** CVSS 8.8 High
- **Critical:** No
- **CNA:** CERTVDE
- **Weakness (CWE):** [CWE-1188](https://cwe.mitre.org/data/definitions/1188.html)
- **Tags:** [CWE-1188](https://agentprime.io/advisories/tag/cwe-1188.md)
- **Technologies:** [CODESYS Control RTE (SL)](https://agentprime.io/advisories/technology/codesys-control-rte-sl.md) · [CODESYS Control RTE (for Beckhoff CX) SL](https://agentprime.io/advisories/technology/codesys-control-rte-for-beckhoff-cx-sl.md) · [CODESYS Control Win (SL)](https://agentprime.io/advisories/technology/codesys-control-win-sl.md) · [CODESYS Runtime Toolkit](https://agentprime.io/advisories/technology/codesys-runtime-toolkit.md) · [CODESYS Safety SIL2 Runtime Toolkit](https://agentprime.io/advisories/technology/codesys-safety-sil2-runtime-toolkit.md) · [CODESYS Safety SIL2 PSP](https://agentprime.io/advisories/technology/codesys-safety-sil2-psp.md) · [CODESYS HMI (SL)](https://agentprime.io/advisories/technology/codesys-hmi-sl.md) · [CODESYS Development System V3](https://agentprime.io/advisories/technology/codesys-development-system-v3.md) · [CODESYS Control for BeagleBone SL](https://agentprime.io/advisories/technology/codesys-control-for-beaglebone-sl.md) · [CODESYS Control for emPC-A/iMX6 SL](https://agentprime.io/advisories/technology/codesys-control-for-empc-a-imx6-sl.md) · [CODESYS Control for IOT2000 SL](https://agentprime.io/advisories/technology/codesys-control-for-iot2000-sl.md) · [CODESYS Control for Linux SL](https://agentprime.io/advisories/technology/codesys-control-for-linux-sl.md) · [CODESYS Control for PFC100 SL](https://agentprime.io/advisories/technology/codesys-control-for-pfc100-sl.md) · [CODESYS Control for PFC200 SL](https://agentprime.io/advisories/technology/codesys-control-for-pfc200-sl.md) · [CODESYS Control for PLCnext SL](https://agentprime.io/advisories/technology/codesys-control-for-plcnext-sl.md) · [CODESYS Control for Raspberry Pi SL](https://agentprime.io/advisories/technology/codesys-control-for-raspberry-pi-sl.md) · [CODESYS Control for WAGO Touch Panels 600 SL](https://agentprime.io/advisories/technology/codesys-control-for-wago-touch-panels-600-sl.md)
- **Published:** 23 Mar 2023
- **Updated:** 29 May 2026
- **Reviewed by a person:** No

Published by the CVE Program (CNA: CERTVDE) at 23 Mar 2023, 11:15 UTC. agentprime has not analysed this yet, so whether it affects any app is not known. This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it.

## Affected products, as the CNA wrote them

- Vendor: CODESYS. Product: Control RTE (SL).
  - affected: `3.0.0.0 to before 3.5.19.0` (custom)
  - Other versions: unaffected
- Vendor: CODESYS. Product: Control RTE (for Beckhoff CX) SL.
  - affected: `3.0.0.0 to before 3.5.19.0` (custom)
  - Other versions: unaffected
- Vendor: CODESYS. Product: Control Win (SL).
  - affected: `3.0.0.0 to before 3.5.19.0` (custom)
  - Other versions: unaffected
- Vendor: CODESYS. Product: Runtime Toolkit.
  - affected: `3.0.0.0 to before 3.5.19.0` (custom)
  - Other versions: unaffected
- Vendor: CODESYS. Product: Safety SIL2 Runtime Toolkit.
  - affected: `3.0.0.0 to before 3.5.19.0` (custom)
  - Other versions: unaffected
- Vendor: CODESYS. Product: Safety SIL2 PSP.
  - affected: `3.0.0.0 to before 3.5.19.0` (custom)
  - Other versions: unaffected
- Vendor: CODESYS. Product: HMI (SL).
  - affected: `3.0.0.0 to before 3.5.19.0` (custom)
  - Other versions: unaffected
- Vendor: CODESYS. Product: Development System V3.
  - affected: `3.0.0.0 to before 3.5.19.0` (custom)
  - Other versions: unaffected
- Vendor: CODESYS. Product: Control for BeagleBone SL.
  - affected: `3.0.0.0 to before 4.8.0.0` (custom)
  - Other versions: unaffected
- Vendor: CODESYS. Product: Control for emPC-A/iMX6 SL.
  - affected: `3.0.0.0 to before 4.8.0.0` (custom)
  - Other versions: unaffected
- Vendor: CODESYS. Product: Control for IOT2000 SL.
  - affected: `3.0.0.0 to before 4.8.0.0` (custom)
  - Other versions: unaffected
- Vendor: CODESYS. Product: Control for Linux SL.
  - affected: `3.0.0.0 to before 4.8.0.0` (custom)
  - Other versions: unaffected
- Vendor: CODESYS. Product: Control for PFC100 SL.
  - affected: `3.0.0.0 to before 4.8.0.0` (custom)
  - Other versions: unaffected
- Vendor: CODESYS. Product: Control for PFC200 SL.
  - affected: `3.0.0.0 to before 4.8.0.0` (custom)
  - Other versions: unaffected
- Vendor: CODESYS. Product: Control for PLCnext SL.
  - affected: `3.0.0.0 to before 4.8.0.0` (custom)
  - Other versions: unaffected
- Vendor: CODESYS. Product: Control for Raspberry Pi SL.
  - affected: `3.0.0.0 to before 4.8.0.0` (custom)
  - Other versions: unaffected
- Vendor: CODESYS. Product: Control for WAGO Touch Panels 600 SL.
  - affected: `3.0.0.0 to before 4.8.0.0` (custom)
  - Other versions: unaffected

## Not analysed yet

We haven’t published our own analysis of this CVE. If a person reviews it, this page will say what’s affected and what has to be true for it to matter.

## Severity and exploitation

- 8.8 High, CVSS 3.1: `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`, from CNA (CERTVDE)

- **CISA KEV:** Not listed.
- **EPSS:** 0.0088, the 59th percentile, on 5 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

This record came from the full history of the CVE Program, published 23 Mar 2023. New records show when each source confirmed them.

## Sources

- [CVE List: CVE-2022-4224](https://www.cve.org/CVERecord?id=CVE-2022-4224)
- [NVD: CVE-2022-4224](https://nvd.nist.gov/vuln/detail/CVE-2022-4224)

### References from the CNA

- <https://customers.codesys.com/index.php?eID=dumpFile&t=f&f=17553&token=cf49757d232ea8021f0c0dd6c65e71ea5942b12d&download=>

Facts on this page come from the CVE List as the CNA published them, with CVSS from the sources named above, CISA KEV and FIRST EPSS. Vendors, products and versions are shown as the CNA wrote them. We don’t reproduce the CVE’s description.

## Check whether this affects you

This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it. Compare the affected versions above with what you run.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), `get_advisory` returns this record and `search_advisories` finds related ones. Setup: <https://agentprime.io/mcp.md>
- As JSON: <https://api.agentprime.io/v1/advisories/CVE-2022-4224>
- Everything that needs attention now: <https://agentprime.io/advisories/critical.md>

---

The web page: <https://agentprime.io/advisories/CVE-2022-4224/>. Everything for agents: <https://agentprime.io/llms.txt>.
