CVE-2022-22513 | Null Pointer Dereference in multiple CODESYS products can lead to a DoS.

An authenticated remote attacker can cause a null pointer dereference in the CmpSettings component of the affected CODESYS products which leads to a crash.

Published: 2022-04-07 Last update: 2024-11-21 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2022-22513 is rated Moderate Risk (42.5/100): CVSS Medium severity, with low exploitation likelihood (EPSS 0.24%). 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-22513

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-03-15 0.40% 0.24% -0.15%
2 2026-02-18 0.55% 0.40% -0.15%
3 2025-11-21 0.55%

Full EPSS history (13 records total)

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

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
6.5 3.1 MEDIUM
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/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:N)
Doesn’t really leak secrets in a meaningful way.
Integrity (I:N)
Data isn’t meaningfully altered or forged.
Availability (A:H)
Could take the service down hard or make it unusable for people who depend on it.
2.8 3.6 [email protected]
6.5 3.1 MEDIUM
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/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:N)
Doesn’t really leak secrets in a meaningful way.
Integrity (I:N)
Data isn’t meaningfully altered or forged.
Availability (A:H)
Could take the service down hard or make it unusable for people who depend on it.
2.8 3.6 [email protected]
3.5 2.0 LOW
AV:N/AC:M/Au:S/C:N/I:N/A:P Click to expand
Access vector (AV:N)
Can be exploited remotely over network reachability.
Access complexity (AC:M)
Exploitation needs some favorable conditions, but not exceptional ones.
Authentication (AU:S)
A single authentication is required.
Confidentiality impact (C:N)
No confidentiality impact.
Integrity impact (I:N)
No integrity impact.
Availability impact (A:P)
Partial availability impact.
6.8 2.9 [email protected]

Weakness enumeration for CVE-2022-22513

Affected software / configurations for CVE-2022-22513

Vendor Product Version Raw CPE
codesys control_for_beaglebone_sl < 4.5.0.0 cpe:2.3:a:codesys:control_for_beaglebone_sl:*:*:*:*:*:*:*:*
codesys control_for_beckhoff_cx9020 < 4.5.0.0 cpe:2.3:a:codesys:control_for_beckhoff_cx9020:*:*:*:*:*:*:*:*
codesys control_for_empc-a\/imx6_sl < 4.5.0.0 cpe:2.3:a:codesys:control_for_empc-a\/imx6_sl:*:*:*:*:*:*:*:*
codesys control_for_iot2000_sl < 4.5.0.0 cpe:2.3:a:codesys:control_for_iot2000_sl:*:*:*:*:*:*:*:*
codesys control_for_linux_sl < 4.5.0.0 cpe:2.3:a:codesys:control_for_linux_sl:*:*:*:*:*:*:*:*
codesys control_for_pfc100_sl < 4.5.0.0 cpe:2.3:a:codesys:control_for_pfc100_sl:*:*:*:*:*:*:*:*
codesys control_for_pfc200_sl < 4.5.0.0 cpe:2.3:a:codesys:control_for_pfc200_sl:*:*:*:*:*:*:*:*
codesys control_for_plcnext_sl < 4.5.0.0 cpe:2.3:a:codesys:control_for_plcnext_sl:*:*:*:*:*:*:*:*
codesys control_for_raspberry_pi_sl < 4.5.0.0 cpe:2.3:a:codesys:control_for_raspberry_pi_sl:*:*:*:*:*:*:*:*
codesys control_for_wago_touch_panels_600_sl < 4.5.0.0 cpe:2.3:a:codesys:control_for_wago_touch_panels_600_sl:*:*:*:*:*:*:*:*
codesys control_rte_sl < 3.5.18.0 cpe:2.3:a:codesys:control_rte_sl:*:*:*:*:*:*:*:*
codesys control_rte_sl_\(for_beckhoff_cx\) < 3.5.18.0 cpe:2.3:a:codesys:control_rte_sl_\(for_beckhoff_cx\):*:*:*:*:*:*:*:*
codesys control_runtime_system_toolkit < 3.5.18.0 cpe:2.3:a:codesys:control_runtime_system_toolkit:*:*:*:*:*:*:*:*
codesys control_win_sl < 3.5.18.0 cpe:2.3:a:codesys:control_win_sl:*:*:*:*:*:*:*:*
codesys development_system < 3.5.18.0 cpe:2.3:a:codesys:development_system:*:*:*:*:*:*:*:*
codesys edge_gateway < 3.5.18.0 cpe:2.3:a:codesys:edge_gateway:*:*:*:*:*:windows:*:*
codesys edge_gateway < 4.5.0.0 cpe:2.3:a:codesys:edge_gateway:*:*:*:*:*:linux:*:*
codesys embedded_target_visu_toolkit < 3.5.18.0 cpe:2.3:a:codesys:embedded_target_visu_toolkit:*:*:*:*:*:*:*:*
codesys gateway < 3.5.18.0 cpe:2.3:a:codesys:gateway:*:*:*:*:*:*:*:*
codesys hmi_sl < 3.5.18.0 cpe:2.3:a:codesys:hmi_sl:*:*:*:*:*:*:*:*
codesys remote_target_visu_toolkit < 3.5.18.0 cpe:2.3:a:codesys:remote_target_visu_toolkit:*:*:*:*:*:*:*:*

References for CVE-2022-22513

cvelogic Threat Intelligence