CVE-2017-0145: Microsoft Windows SMBv1 Remote Code Execution (EternalRomance)
- Vendors
- SiemensMicrosoft Corporation
CVE-2017-0145 is a remote code execution vulnerability in the Microsoft Windows SMBv1 server. An unauthenticated remote attacker can send specially crafted SMB requests to execute arbitrary code on an affected system. EternalRomance exploits the vulnerability through type confusion that enables an attacker-controlled heap write; reliable exploitation requires knowledge or control of the heap layout. Affected releases include Windows Vista SP2, Windows 7 SP1, Windows 8.1, Windows RT 8.1, Windows 10 initial release and versions 1511 and 1607, Windows Server 2008 SP2 and 2008 R2 SP1, Windows Server 2012 and 2012 R2, and Windows Server 2016. Microsoft addressed the vulnerability in MS17-010, released on March 14, 2017.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation permits arbitrary code execution on the targeted Windows system, compromising confidentiality, integrity, and availability. EternalRomance supports arbitrary reads and writes in kernel memory. A modified implementation used by Bad Rabbit overwrote the kernel session security context to enable remote service execution. Exploitation also supports malware deployment and lateral movement, including propagation associated with NotPetya and Bad Rabbit. Affected medical systems may experience disruption to imaging or image-review operations.
Mitigation
If you can’t patch tonight, do this now.
Disable SMBv1 where operationally feasible. Restrict SMB access with network and host firewalls, including TCP ports 445 and 139 and relevant NetBIOS ports at network boundaries. Segment affected systems and prevent unnecessary workstation-to-workstation SMB communication. For affected medical devices awaiting remediation, isolate them from potentially infected systems; if isolation is impossible, disconnect them and operate in standalone mode only when patient safety and treatment will not be jeopardized. Assess clinical and operational effects before deploying controls, and maintain tested backups and restoration procedures.
Remediation
Patch, then assume compromise.
Install the applicable MS17-010 security update or a superseding update. Original updates include KB4012598 for Windows Vista SP2 and Windows Server 2008 SP2; KB4012212 or KB4012215 for Windows 7 SP1 and Windows Server 2008 R2 SP1; KB4012213 or KB4012216 for Windows 8.1 and Windows Server 2012 R2; KB4012214 or KB4012217 for Windows Server 2012; KB4012216 for Windows RT 8.1; KB4012606 for the initial Windows 10 release; KB4013198 for Windows 10 version 1511; and KB4013429 for Windows 10 version 1607 and Windows Server 2016. For affected Siemens Healthineers products, obtain and apply the product-specific fix through customer support. For Philips IntelliSpace Portal deployments, coordinate tested operating-system patches and available mitigating controls through Philips support.
Exploits
3 exploits validated by Mallory's analysis. Hidden: 3 rejected by Mallory's analysis as not a working exploit; 2 not yet analyzed, such as Exploit-DB entries.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2017-0145 exploited in the wild?
- Yes. As of Oct 16, 2026, Mallory has reports of exploitation in the wild, and CISA added it to KEV on Feb 10, 2022.
- Is there a public exploit for CVE-2017-0145?
- Yes. Mallory tracks 3 public exploits or proofs of concept for CVE-2017-0145, the earliest disclosed Mar 14, 2017.
- Is there a patch for CVE-2017-0145?
- Install the applicable MS17-010 security update or a superseding update. Original updates include KB4012598 for Windows Vista SP2 and Windows Server 2008 SP2; KB4012212 or KB4012215 for Windows 7 SP1 and Windows Server 2008 R2 SP1; KB4012213 or KB4012216 for Windows 8.1 and Windows Server 2012 R2; KB4012214 or KB4012217 for Windows Server 2012; KB4012216 for Windows RT 8.1; KB4012606 for the initial Windows 10 release; KB4013198 for Windows 10 version 1511; and KB4013429 for Windows 10 version 1607 and Windows Server 2016.
- What products are affected by CVE-2017-0145?
- Siemens Acuson P300 Firmware, Siemens Acuson P500 Firmware, Siemens Acuson Sc2000 Firmware, Siemens Acuson X700 Firmware, Microsoft Corporation Server Message Block, and 4 more.
- How severe is CVE-2017-0145?
- CVE-2017-0145 has a CVSS v3.1 score of 8.8 (High) and an EPSS score of 89.8% (100th percentile) as of Oct 16, 2026.
Recent activity
26 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.