cve.bz

CVE-2021-31893 siemens: Classic Buffer Overflow

7.8 highEPSS 0.6%Fix available

High (7.8) in siemens. EPSS 0.6% estimated probability of exploitation activity in the next 30 days.

On this page
A vulnerability has been identified in SIMATIC PCS 7 V8.2 and earlier (All versions), SIMATIC PCS 7 V9.0 (All versions < V9.0 SP3), SIMATIC PDM (All versions < V9.2), SIMATIC STEP 7 V5.X (All versions < V5.6 SP2 HF3), SINAMICS STARTER (containing STEP 7 OEM version) (All versions < V5.4 HF2). The affected software contains a buffer overflow vulnerability while handling certain files that could allow a local attacker to trigger a denial-of-service condition or potentially lead to remote code execution.

Severity

CVSS 3.1

7.8 high
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS
0.6% (unchanged from 0.6% a week ago; 0.6% 30 days ago) estimated probability of exploitation activity in the next 30 days; 48th percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-120 Buffer Copy without Checking Size of Input (Classic Buffer Overflow)
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2021-31893 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-31893?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-31893?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2021-31893 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
siemens:simatic_pcs_firmwarethrough 8.2
siemens:simatic_pcs_firmware9.0
siemens:simatic_pcs_firmware9.0:sp1
siemens:simatic_pcs_firmware9.0:sp2
siemens:simatic_pdm_firmwarebefore 9.2
siemens:simatic_step_7_firmwarethrough 5.6
siemens:sinamics_starter_firmwarebefore 5.4
siemens:sinamics_starter_firmware5.4
siemens:sinamics_starter_firmware5.4:hotfix_1
siemens:sinamics_starter_firmware5.4:hotfix_2

ICS advisories (CISA)

AdvisoryTitlePublishedSectorsAffectedFixed
ICSA-21-194-05Siemens SIMATIC Software Products2021-07-13MultipleSIMATIC PCS 7 V8.2 and earlier, SIMATIC PCS 7 V9.0, SIMATIC PDM and 2 morenone listed

From CISA's ICS advisories (CSAF), provided under CISA's notification. Only the facts are shown; each advisory is on CISA's page. Credits.

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-120 (13).

References

Check your stackJSON