Code execution via unrestricted BinaryFormatter deserialization
Published Jul 9, 2024 · Updated Aug 27, 2025
Deserialization in Siemens SIMATIC STEP 7 and SIMATIC PCS neo allows local users to execute arbitrary code through user-controllable input. The applications deserialize user-controllable input with .NET BinaryFormatter without properly restricting it, allowing type confusion. Exploitation requires a local user to open an untrusted file, and successful execution runs arbitrary code within the affected application.
Summary
What happened
Deserialization in Siemens SIMATIC STEP 7 and SIMATIC PCS neo allows local users to execute arbitrary code through user-controllable input. The applications deserialize user-controllable input with .NET BinaryFormatter without properly restricting it, allowing type confusion. Exploitation requires a local user to open an untrusted file, and successful execution runs arbitrary code within the affected application.
The record
- CVE
- CVE-2022-45147
- Published
- Jul 9, 2024
- Updated
- Aug 27, 2025
- Vendor
- Siemens
- Product
- SIMATIC STEP 7
- Classifications
- CWE-502, T1204.002
- Attack vector
- local
- Privileges
- unauthenticated
Timeline
How it unfolded
- Jul 9, 2024CVE publishedPublication date reported by the CVE source.
- Aug 27, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=0 <*
- Affected versionversion=0 <V18 Update 2
- Affected versionversion=16 <17
- Affected versionversion=17 <18
- Affected versionversion=18 <18_update_2
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo