CVEBrief

Home / Siemens / SIMATIC Drive Controller CPU 1504D TF / CVE-2021-40365

CVE-2021-40365: is it exploited, and which versions of Siemens SIMATIC Drive Controller CPU 1504D TF are affected and fixed?

CVE-2021-40365 is an improper input validation vulnerability in Siemens SIMATIC Drive Controller CPU 1504D TF. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 18:09 UTC). Affected: SIMATIC Drive Controller CPU 1504D TF All versions < V2.9.7, SIMATIC Drive Controller CPU 1507D TF All versions < V2.9.7, SIMATIC ET 200SP Open Controller CPU 1515SP PC2 (incl. SIPLUS variants) All versions < V21.9.7 and 46 more (CVE record by siemens). Fixed in 5.0, 4.6.0 and 3.0.1 (NVD). Severity: High (7.5, CVSS 3.1, from siemens).

Data checked December 3, 2026: last read CISA KEV December 3, 2026, 18:09 UTC, CVE record November 19, 2026, 07:15 UTC and NVD November 19, 2026, 07:43 UTC.

Exploited in the wild
Not in CISA KEV
KEV read December 3, 2026, 18:09 UTC
Affected
SIMATIC Drive Controller CPU 1504D TF All versions < V2.9.7, SIMATIC Drive Controller CPU 1507D TF All versions < V2.9.7, SIMATIC ET 200SP Open Controller CPU 1515SP PC2 (incl. SIPLUS variants) All versions < V21.9.7 and 46 more
CVE record by siemens
Fixed in
5.0, 4.6.0 and 3.0.1
NVD
Severity
High 7.5
CVSS 3.1 from siemens
Exploit odds (EPSS)
0.95% in 30 days
higher than 62% of CVEs; FIRST, December 3, 2026
Free for up to 3 items: a weekly email, and an alert the day CISA lists one as exploited. We email you once to confirm. More about the watch

What is CVE-2021-40365?

Affected devices don't process correctly certain special crafted packets sent to port 102/tcp, which could allow an attacker to cause a denial of service in the device.

From the CVE record by siemens, last updated April 21, 2025, 13:45 UTC.

Which versions are affected, and which fix it?

VendorProductAffectedFixed or not affected from
SiemensSIMATIC Drive Controller CPU 1504D TFAll versions < V2.9.7
SiemensSIMATIC Drive Controller CPU 1507D TFAll versions < V2.9.7
SiemensSIMATIC ET 200SP Open Controller CPU 1515SP PC2 (incl. SIPLUS variants)All versions < V21.9.7
SiemensSIMATIC S7-1200 CPU family (incl. SIPLUS variants)All versions < V4.6.0
SiemensSIMATIC S7-1500 CPU 1510SP F-1 PNAll versions < V2.9.7
SiemensSIMATIC S7-1500 CPU 1510SP-1 PNAll versions < V2.9.7
SiemensSIMATIC S7-1500 CPU 1511-1 PNAll versions < V2.9.7
SiemensSIMATIC S7-1500 CPU 1511-1 PNAll versions < V2.9.7
SiemensSIMATIC S7-1500 CPU 1511C-1 PNAll versions < V2.9.7
SiemensSIMATIC S7-1500 CPU 1511C-1 PNAll versions < V2.9.7
SiemensSIMATIC S7-1500 CPU 1511F-1 PNAll versions < V2.9.7
SiemensSIMATIC S7-1500 CPU 1511F-1 PNAll versions < V2.9.7
SiemensSIMATIC S7-1500 CPU 1511T-1 PNAll versions < V2.9.7
SiemensSIMATIC S7-1500 CPU 1511TF-1 PNAll versions < V2.9.7
SiemensSIMATIC S7-1500 CPU 1512C-1 PNAll versions < V2.9.7
SiemensSIMATIC S7-1500 CPU 1512C-1 PNAll versions < V2.9.7
SiemensSIMATIC S7-1500 CPU 1512SP F-1 PNAll versions < V2.9.7
SiemensSIMATIC S7-1500 CPU 1512SP-1 PNAll versions < V2.9.7
SiemensSIMATIC S7-1500 CPU 1513-1 PNAll versions < V2.9.7
SiemensSIMATIC S7-1500 CPU 1513-1 PNAll versions < V2.9.7
SiemensSIMATIC S7-1500 CPU 1513F-1 PNAll versions < V2.9.7
SiemensSIMATIC S7-1500 CPU 1513F-1 PNAll versions < V2.9.7
SiemensSIMATIC S7-1500 CPU 1513R-1 PNAll versions < V2.9.7
SiemensSIMATIC S7-1500 CPU 1515-2 PNAll versions < V2.9.7
SiemensSIMATIC S7-1500 CPU 1515-2 PNAll versions < V2.9.7
SiemensSIMATIC S7-1500 CPU 1515F-2 PNAll versions < V2.9.7
SiemensSIMATIC S7-1500 CPU 1515F-2 PNAll versions < V2.9.7
SiemensSIMATIC S7-1500 CPU 1515R-2 PNAll versions < V2.9.7
SiemensSIMATIC S7-1500 CPU 1515T-2 PNAll versions < V2.9.7
SiemensSIMATIC S7-1500 CPU 1515TF-2 PNAll versions < V2.9.7
SiemensSIMATIC S7-1500 CPU 1516-3 PN/DPAll versions < V2.9.7
SiemensSIMATIC S7-1500 CPU 1516-3 PN/DPAll versions < V2.9.7
SiemensSIMATIC S7-1500 CPU 1516F-3 PN/DPAll versions < V2.9.7
SiemensSIMATIC S7-1500 CPU 1516F-3 PN/DPAll versions < V2.9.7
SiemensSIMATIC S7-1500 CPU 1516T-3 PN/DPAll versions < V3.0.1
SiemensSIMATIC S7-1500 CPU 1516TF-3 PN/DPAll versions < V3.0.1
SiemensSIMATIC S7-1500 CPU 1517-3 PN/DPAll versions < V3.0.1
SiemensSIMATIC S7-1500 CPU 1517F-3 PN/DPAll versions < V3.0.1
SiemensSIMATIC S7-1500 CPU 1517H-3 PNAll versions < V3.0.1
SiemensSIMATIC S7-1500 CPU 1517T-3 PN/DPAll versions < V3.0.1

As the CVE record by siemens states it, last updated April 21, 2025. Version ranges are the CNA's; a version the record calls not affected is usually the fix.

Which products and versions does the NVD list as affected?

VendorProductVersionsType
siemenssimatic s7-plcsim advanced firmwarebefore 5.0operating system
siemenssimatic s7-1200 cpu 1211c firmwarebefore 4.6.0operating system
siemenssimatic s7-1200 cpu 1212c firmwarebefore 4.6.0operating system
siemenssimatic s7-1200 cpu 1212fc firmwarebefore 4.6.0operating system
siemenssimatic s7-1200 cpu 1214 fc firmwarebefore 4.6.0operating system
siemenssimatic s7-1200 cpu 1214c firmwarebefore 4.6.0operating system
siemenssimatic s7-1200 cpu 1214fc firmwarebefore 4.6.0operating system
siemenssimatic s7-1200 cpu 1215 fc firmwarebefore 4.6.0operating system
siemenssimatic s7-1200 cpu 1215c firmwarebefore 4.6.0operating system
siemenssimatic s7-1200 cpu 1215fc firmwarebefore 4.6.0operating system
siemenssimatic s7-1200 cpu 1217c firmwarebefore 4.6.0operating system
siemenssimatic s7-1200 cpu 12 1211c firmwarebefore 4.6.0operating system
siemenssimatic s7-1200 cpu 12 1212c firmwarebefore 4.6.0operating system
siemenssimatic s7-1200 cpu 12 1212fc firmwarebefore 4.6.0operating system
siemenssimatic s7-1200 cpu 12 1214c firmwarebefore 4.6.0operating system
siemenssimatic s7-1200 cpu 12 1214fc firmwarebefore 4.6.0operating system
siemenssimatic s7-1200 cpu 12 1215c firmwarebefore 4.6.0operating system
siemenssimatic s7-1200 cpu 12 1215fc firmwarebefore 4.6.0operating system
siemenssimatic s7-1200 cpu 12 1217c firmwarebefore 4.6.0operating system
siemenssiplus s7-1200 cp 1243-1 rail firmwarebefore 4.6.0operating system
siemenssiplus s7-1200 cp 1243-1 firmwarebefore 4.6.0operating system
siemenssimatic s7-1500 cpu 1507s firmwarebefore 3.0.1operating system
siemenssimatic s7-1500 cpu 1507s f firmwarebefore 3.0.1operating system
siemenssimatic s7-1500 cpu 1508s firmwarebefore 3.0.1operating system
siemenssimatic s7-1500 cpu 1508s f firmwarebefore 3.0.1operating system

NVD analysis (status Modified), last modified June 17, 2026, 04:06 UTC.

How severe is CVE-2021-40365?

ScoreVersionVectorSource
High 7.5CVSS 3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H/E:P/RL:O/RC:Csiemens
High 7.5CVSS 3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HNVD

Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.

What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.

Is CVE-2021-40365 exploited in the wild?

CISA KEV
Not listed (catalog 2026.11.30)
CISA SSVC
Exploitation: none; automatable: yes; technical impact: partial (CISA ADP, April 18, 2025)
EPSS
0.95% probability of exploitation activity in the next 30 days, percentile 62.3 (FIRST EPSS, scores of December 3, 2026)

What kind of flaw is it?

Where are the vendor advisories and references?

When was it published, and where is the official record?

Reserved
September 1, 2021
Published
December 13, 2022, 00:00 UTC
CVE record updated
April 21, 2025, 13:45 UTC by siemens
NVD
Modified, last modified June 17, 2026, 04:06 UTC
Last checked
CVE list November 19, 2026, 07:15 UTC; NVD November 19, 2026, 07:43 UTC; KEV December 3, 2026, 18:09 UTC; EPSS December 3, 2026
Official record
cve.org · NVD

What other CVEs affect SIMATIC Drive Controller CPU 1504D TF?

Every CVE in SIMATIC Drive Controller CPU 1504D TF

Questions about CVE-2021-40365

Is CVE-2021-40365 exploited in the wild?

Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 18:09 UTC. FIRST's EPSS gives it a 0.95% chance of exploitation activity in the next 30 days (scores of December 3, 2026).

Which versions of Siemens SIMATIC Drive Controller CPU 1504D TF are affected by CVE-2021-40365?

SIMATIC Drive Controller CPU 1504D TF All versions < V2.9.7, SIMATIC Drive Controller CPU 1507D TF All versions < V2.9.7, SIMATIC ET 200SP Open Controller CPU 1515SP PC2 (incl. SIPLUS variants) All versions < V21.9.7, SIMATIC S7-1200 CPU family (incl. SIPLUS variants) All versions < V4.6.0, SIMATIC S7-1500 CPU 1510SP F-1 PN All versions < V2.9.7, SIMATIC S7-1500 CPU 1510SP-1 PN All versions < V2.9.7 and 43 more, per the CVE record by siemens. The tables above give every range the sources list.

Which version fixes CVE-2021-40365?

5.0, 4.6.0 and 3.0.1, per the NVD. Check the vendor's advisory before you rely on it.

How severe is CVE-2021-40365?

High (7.5, CVSS 3.1, from siemens). The severity table above shows each score with its source.

Where is the official record of CVE-2021-40365?

The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.