CVE-2018-0171: Cisco IOS and IOS XE Smart Install Remote Code Execution
- Vendor
- Cisco Systems
CVE-2018-0171 is a stack-based buffer overflow vulnerability in the Smart Install client feature of Cisco IOS and IOS XE. Insufficient validation of packet data allows an unauthenticated remote attacker to trigger memory corruption by sending a crafted Smart Install message to TCP port 4786. Successful exploitation can execute arbitrary code, reload the device, or cause an indefinite loop that triggers a watchdog crash. The vulnerability affects Smart Install clients, rather than devices operating solely as directors, and has been exploited by state-sponsored threat actors including Static Tundra and Salt Typhoon.
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 compromises device availability through reloads or watchdog crashes, or compromises confidentiality and integrity through arbitrary code execution. Compromise of a network device can subsequently enable configuration and credential theft, unauthorized configuration changes, traffic interception, persistent access, and lateral movement. Disruption of affected switches can interrupt dependent enterprise or industrial network communications.
Mitigation
If you can’t patch tonight, do this now.
Disable Smart Install with the 'no vstack' command when the feature is unnecessary, and verify that TCP port 4786 is no longer accessible. Where Smart Install must remain enabled, use device ACLs and upstream firewalls to deny untrusted TCP/4786 traffic and restrict access to authorized provisioning systems on isolated management networks. Monitor Smart Install traffic, device reloads, configuration changes, and unexpected privileged accounts. These monitoring measures supplement rather than replace patching or disabling the vulnerable feature.
Remediation
Patch, then assume compromise.
Install a Cisco IOS or IOS XE release that fixes CVE-2018-0171 for the specific hardware platform and software train; use Cisco's advisory and IOS Software Checker to identify the appropriate release. Cisco released fixes in 2018, but exact fixed versions vary by platform. Replace unsupported devices when no corrected firmware is available. For affected Rockwell Automation Stratix and ArmorStratix models covered by advisory PN1019, apply firmware 15.2(6)E1 or later, subject to model-specific vendor guidance.
Exploits
1 exploit validated by Mallory's analysis. Hidden: 1 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-2018-0171 exploited in the wild?
- Yes. As of Nov 23, 2026, Mallory has reports of exploitation in the wild, and CISA added it to KEV on Nov 3, 2021.
- Is there a public exploit for CVE-2018-0171?
- Yes. Mallory tracks 1 public exploit or proof of concept for CVE-2018-0171, the earliest disclosed Feb 1, 2023.
- Is there a patch for CVE-2018-0171?
- Install a Cisco IOS or IOS XE release that fixes CVE-2018-0171 for the specific hardware platform and software train; use Cisco's advisory and IOS Software Checker to identify the appropriate release. Cisco released fixes in 2018, but exact fixed versions vary by platform.
- What products are affected by CVE-2018-0171?
- Cisco Systems Ios.
- How severe is CVE-2018-0171?
- CVE-2018-0171 has a CVSS v3.1 score of 9.8 (Critical) and an EPSS score of 99.5% (100th percentile) as of Nov 23, 2026.
Recent activity
107 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.