CVE-2022-47387 | CODESYS: Multiple products prone to stack based out-of-bounds write

An authenticated remote attacker may use a stack based out-of-bounds write vulnerability in the CmpTraceMgr Component of multiple CODESYS products in multiple versions to write data into the stack which can lead to a denial-of-service condition, memory overwriting, or remote code execution.

Published: 2023-05-15 Last update: 2025-07-17 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2022-47387 is rated Moderate Risk (64.9/100): CVSS High severity, with medium exploitation likelihood (EPSS 2.03%). Mandatory action: Review affected assets and schedule remediation.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Exploit prediction scoring system (EPSS) score for CVE-2022-47387

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2026-06-02 1.75% 2.03% +0.28%
2 2026-05-25 3.06% 1.75% -1.30%
3 2026-04-21 3.06%

Full EPSS history (18 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2022-47387

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
8.8 3.1 HIGH
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:L)
A normal user session is enough; they don’t have to be admin.
User interaction (UI:N)
Nobody has to click “OK” or open a trap file; it can work without a victim helping.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:H)
Serious risk that confidential data gets exposed in a big way.
Integrity (I:H)
They could widely tamper with or forge data—trust in the data is badly hurt.
Availability (A:H)
Could take the service down hard or make it unusable for people who depend on it.
2.8 5.9 [email protected]

Weakness enumeration for CVE-2022-47387

Affected software / configurations for CVE-2022-47387

Vendor Product Version Raw CPE
codesys control_for_beaglebone_sl < 4.8.0.0 cpe:2.3:a:codesys:control_for_beaglebone_sl:*:*:*:*:*:*:*:*
codesys control_for_empc-a\/imx6_sl < 4.8.0.0 cpe:2.3:a:codesys:control_for_empc-a\/imx6_sl:*:*:*:*:*:*:*:*
codesys control_for_iot2000_sl < 4.8.0.0 cpe:2.3:a:codesys:control_for_iot2000_sl:*:*:*:*:*:*:*:*
codesys control_for_linux_sl < 4.8.0.0 cpe:2.3:a:codesys:control_for_linux_sl:*:*:*:*:*:*:*:*
codesys control_for_pfc100_sl < 4.8.0.0 cpe:2.3:a:codesys:control_for_pfc100_sl:*:*:*:*:*:*:*:*
codesys control_for_pfc200_sl < 4.8.0.0 cpe:2.3:a:codesys:control_for_pfc200_sl:*:*:*:*:*:*:*:*
codesys control_for_plcnext_sl < 4.8.0.0 cpe:2.3:a:codesys:control_for_plcnext_sl:*:*:*:*:*:*:*:*
codesys control_for_raspberry_pi_sl < 4.8.0.0 cpe:2.3:a:codesys:control_for_raspberry_pi_sl:*:*:*:*:*:*:*:*
codesys control_for_wago_touch_panels_600_sl < 4.8.0.0 cpe:2.3:a:codesys:control_for_wago_touch_panels_600_sl:*:*:*:*:*:*:*:*
codesys control_rte_\(for_beckhoff_cx\)_sl < 3.5.19.0 cpe:2.3:a:codesys:control_rte_\(for_beckhoff_cx\)_sl:*:*:*:*:*:*:*:*
codesys control_rte_\(sl\) < 3.5.19.0 cpe:2.3:a:codesys:control_rte_\(sl\):*:*:*:*:*:*:*:*
codesys control_runtime_system_toolkit < 3.5.19.0 cpe:2.3:a:codesys:control_runtime_system_toolkit:*:*:*:*:*:*:*:*
codesys control_win_\(sl\) < 3.5.19.0 cpe:2.3:a:codesys:control_win_\(sl\):*:*:*:*:*:*:*:*
codesys development_system_v3 < 3.5.19.0 cpe:2.3:a:codesys:development_system_v3:*:*:*:*:*:*:*:*
codesys hmi_\(sl\) < 3.5.19.0 cpe:2.3:a:codesys:hmi_\(sl\):*:*:*:*:*:*:*:*
codesys safety_sil2_psp < 3.5.19.0 cpe:2.3:a:codesys:safety_sil2_psp:*:*:*:*:*:*:*:*
codesys safety_sil2_runtime_toolkit < 3.5.19.0 cpe:2.3:a:codesys:safety_sil2_runtime_toolkit:*:*:*:*:*:*:*:*

References for CVE-2022-47387

cvelogic Threat Intelligence