Security Advisory

CVE-2022-38465: Siemens S7 Global Private Key

Last updated:
  • CVE-2022-38465

CVE-2022-38465 is a weak key-protection flaw (CWE-522) in Siemens SIMATIC S7-1200 and S7-1500 PLCs: an offline attack on one CPU can reveal a private key shared by the whole CPU family. NVD scores it 7.8 and Siemens 9.3. The fix is S7-1200 V4.5.0 or S7-1500 V2.9.2 plus a TIA Portal V17 project with legacy communication off.

Vulnerability summary

CVSS base score

7.8

High severity

EPSS score (FIRST)

0.2%

Probability of exploitation in the wild in the next 30 days

CISA KEV catalog

No

Not listed

Published

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

Affected components

ComponentCPEVersion range
Siemens SIMATIC S7-1200 CPU family (incl. SIPLUS variants)cpe:2.3:o:siemens:simatic_s7-1200_cpu_12_1214c_firmware:*:*:*:*:*:*:*:*All versions before V4.5.0 (SSA-568427)
Siemens SIMATIC S7-1500 CPU family (incl. related ET 200 CPUs and SIPLUS variants)cpe:2.3:o:siemens:simatic_s7-1500_cpu_1511-1_firmware:*:*:*:*:*:*:*:*All versions before V2.9.2 (SSA-568427)
Siemens SIMATIC Drive Controller familycpe:2.3:o:siemens:simatic_drive_controller_cpu_1507d_tf_firmware:*:*:*:*:*:*:*:*All versions before V2.9.2 (SSA-568427)
Siemens SIMATIC ET 200SP Open Controller CPU 1515SP PC2 (incl. SIPLUS) and S7-1500 Software Controllercpe:2.3:a:siemens:simatic_s7-1500_software_controller:*:*:*:*:*:*:*:*All versions before V21.9 (SSA-568427)
Siemens SIMATIC ET 200SP Open Controller CPU 1515SP PC (incl. SIPLUS variants)cpe:2.3:o:siemens:simatic_et_200_sp_open_controller_cpu_1515sp_pc_firmware:*:*:*:*:*:*:*:*All versions; no fix listed by Siemens as of 2026-11-19, workarounds only (SSA-568427)
Siemens SIMATIC S7-PLCSIM Advancedcpe:2.3:o:siemens:simatic_s7-plcsim_advanced_firmware:*:*:*:*:*:*:*:*All versions before V4.0 (SSA-568427)
Siemens SINUMERIK ONE and SINUMERIK MC—All versions before V6.21 (SSA-568428 V1.1)

What does this mean for affected devices?

CVE-2022-38465 is a key-protection flaw in Siemens SIMATIC S7-1200 and S7-1500 PLCs and related controllers. Siemens ProductCERT advisory SSA-568427, published 2022-10-11, says the affected products "protect the built-in global private key in a way that cannot be considered sufficient any longer". The key protects confidential configuration data and the legacy PG/PC and HMI communication, and an attacker could "discover the private key of a CPU product family by an offline attack against a single CPU of the family". Siemens classifies it as CWE-522 (insufficiently protected credentials) and credits Tal Keren of Claroty. NVD's Primary score is 7.8, CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H. Siemens, the CNA, scores it 9.3, CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H; the difference is privileges required and scope (NVD, CVE record).

What can an attacker do with the key?

Siemens bulletin SSB-898115 explains that Siemens chose "an approach based on fixed key material" when it added asymmetric cryptography with TIA Portal V12 in 2013. With the key, it describes two attacks. First, anyone with the TIA Portal project or the project stored on the PLC, including its memory card, could extract confidential configuration data: keys and passwords for HTTPS, OPC UA and secure Open User Communication, and the access-level passwords. Second, a man-in-the-middle on legacy PG/PC and HMI communication "could read, modify, and selectively forward data" between the PLC, its HMIs and engineering stations. Our Siemens S7-1200 and S7-1500 vulnerabilities guide and S7comm protocol security guide place this flaw next to the other S7 CVE families.

Which Siemens products are affected?

Per SSA-568427 and CISA's republication as ICSA-22-286-04 (CISA CSAF): SIMATIC S7-1200 CPU family (incl. SIPLUS) before V4.5.0; SIMATIC S7-1500 CPU family (incl. related ET 200 CPUs and SIPLUS) before V2.9.2; SIMATIC Drive Controller family before V2.9.2; ET 200SP Open Controller CPU 1515SP PC2 before V21.9; S7-1500 Software Controller before V21.9; S7-PLCSIM Advanced before V4.0; and all versions of the ET 200SP Open Controller CPU 1515SP PC. Siemens advisory SSA-568428 adds SINUMERIK ONE and SINUMERIK MC before V6.21, which contain an integrated S7-1500 CPU. NVD's CPE list matches the SSA-568427 products but does not include the SINUMERIK entries.

How do you fix CVE-2022-38465?

Update the firmware and the project together. SSA-568427 says to update to the fixed version, "migrate project in TIA Portal to this version and redeploy", and configure the CPU to "Only allow secure PG/PC and HMI communication". SSB-898115 adds that "an update of the firmware on the device is not sufficient": the hardware configuration in a TIA Portal V17 or later project must be updated to the matching CPU version and downloaded. Since V17, confidential data is protected by an individual password per device and PG/PC and HMI traffic by TLS 1.3. For the CPU 1515SP PC, Siemens lists no fix as of 2026-11-19 and points to the workarounds: use legacy communication only in trusted networks and protect access to the TIA Portal project, the CPU and its memory cards.

Is CVE-2022-38465 exploited?

It is not in the CISA KEV catalog as of 2026-11-19 (catalog version 2026.11.18). SSB-898115 states Siemens "is not aware of related cybersecurity incidents". CISA's ADP entry on the CVE record rates exploitation as "none". FIRST EPSS gives it 0.00241, the 15.4th percentile, in the 2026-11-18 dataset (CISA KEV, FIRST EPSS). Other Siemens PLC advisories on this site include CVE-2020-28400 and CVE-2019-10936.

How to fix this class of issueNo dedicated SoftWSP guide covers this weakness class; the fix is usually the vendor patch or firmware update referenced above. Our related guide explains how to plan and verify it: NIST SP 800-40 Rev. 4: enterprise patch management planning, explained.

Evidence

  • NVD: status Modified; [email protected] Primary CVSS 3.1 7.8 AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H; [email protected] Secondary 9.3 AV:L/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H; CWE-522 (Siemens); CPEs for S7-1200 (< 4.5.0), S7-1500 and Drive Controller (< 2.9.2), Software Controller and CPU 1515SP PC2 (< 21.9), PLCSIM Advanced (< 4.0), CPU 1515SP PC (all); no SINUMERIK CPEs; published 2022-10-11; read from cached API response 2026-11-19. — NVD
  • CVE record (CNA Siemens, PUBLISHED 2022-10-11): affected products incl. SINUMERIK MC and ONE < V6.21; CNA CVSS 3.1 9.3 with E:P/RL:O/RC:C; CWE-522; CISA ADP SSVC Exploitation none, Automatable no, Technical Impact total. — CVE.org
  • SSA-568427 V1.0 (2022-10-11): global private key protection insufficient; affected products and fixed versions; remediation: update, migrate TIA Portal project and redeploy, configure 'Only allow secure PG/PC and HMI communication'; CPU 1515SP PC all versions with no fix; workarounds; acknowledgment Tal Keren (Claroty). — Siemens ProductCERT
  • SSA-568428 V1.1 (2023-02-14): SINUMERIK ONE and SINUMERIK MC affected via the integrated S7-1500 CPU, all versions < V6.21, update to V6.21. — Siemens ProductCERT
  • SSB-898115 V1.0 (2022-10-11): fixed key material chosen with TIA Portal V12 (2013); attack 1 extracts keys and passwords (HTTPS, OPC UA, secure OUC, access level passwords); attack 2 MitM on legacy PG/PC and HMI; since V17 per-device password and TLS 1.3; firmware update alone not sufficient; Siemens not aware of related incidents. — Siemens ProductCERT
  • CISA ICSA-22-286-04 (CSAF, released 2022-10-11): Siemens SIMATIC S7-1200 and S7-1500 CPU Families, CVE-2022-38465, CWE-522, CVSS 9.3, converted from Siemens ProductCERT CSAF. — CISA (cisagov/CSAF)
  • CISA KEV catalog version 2026.11.18: CVE-2022-38465 not listed; checked 2026-11-19. — CISA KEV
  • EPSS 0.00241, percentile 0.15399, dataset 2026-11-18, read 2026-11-19. — FIRST EPSS

Related advisories

Sources

  1. NVD
  2. CVE.org record CVE-2022-38465 (CNA: Siemens)
  3. Siemens ProductCERT SSA-568427: Weak Key Protection Vulnerability in SIMATIC S7-1200 and S7-1500 CPU Families
  4. Siemens ProductCERT SSA-568428: Weak Key Protection Vulnerability in SINUMERIK ONE and SINUMERIK MC
  5. Siemens ProductCERT SSB-898115: Remarks Regarding SSA-568427
  6. CISA ICSA-22-286-04 (CSAF): Siemens SIMATIC S7-1200 and S7-1500 CPU Families
  7. CISA KEV
  8. FIRST EPSS

Frequently asked questions

Which firmware versions fix CVE-2022-38465?

S7-1200 V4.5.0, S7-1500 and SIMATIC Drive Controller V2.9.2, ET 200SP Open Controller CPU 1515SP PC2 and S7-1500 Software Controller V21.9, S7-PLCSIM Advanced V4.0, and SINUMERIK ONE and MC V6.21. Siemens lists no fix for the CPU 1515SP PC (per Siemens SSA-568427 and SSA-568428).

Is a firmware update enough to close CVE-2022-38465?

No. The project must also be migrated to TIA Portal V17 or later with the matching CPU version and downloaded to the PLC, and the CPU should allow only secure PG/PC and HMI communication. Re-enabling legacy communication reopens the man-in-the-middle path (per Siemens SSB-898115).

Why does NVD score it 7.8 when Siemens says 9.3?

Both use a local attack vector. NVD assumes low privileges and unchanged scope (PR:L/S:U), while Siemens assumes no privileges and changed scope (PR:N/S:C) (per NVD and the Siemens CNA record on CVE.org).

Is CVE-2022-38465 exploited in the wild?

It is not in the CISA KEV catalog as of 2026-11-19 (catalog version 2026.11.18), Siemens reported no known related incidents, and FIRST EPSS gives it 0.00241, the 15.4th percentile, in the 2026-11-18 dataset (per CISA KEV, Siemens SSB-898115 and FIRST EPSS).