CVE-2018-0171: Cisco IOS and IOS XE Smart Install Buffer Overflow
- Vendor
- Cisco Systems
CVE-2018-0171 is a stack-based buffer overflow in the Smart Install client feature of Cisco IOS and IOS XE. Insufficient validation of packet sizes 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 devices running vulnerable software with Smart Install client functionality enabled.
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.
Exploitation can disrupt network availability through device reloads or watchdog crashes, or compromise device confidentiality and integrity through arbitrary code execution. Subsequent attacker actions can include stealing configurations and credentials, modifying routing and authentication settings, intercepting traffic, establishing persistence, and pivoting into connected networks. Exploitation has been observed in espionage operations associated with Static Tundra and Salt Typhoon.
Mitigation
If you can’t patch tonight, do this now.
Disable Smart Install with the 'no vstack' command when the feature is unnecessary, particularly when patching is not possible. If Smart Install must remain enabled, use ACLs and firewalls to block untrusted access to TCP port 4786 and restrict permitted traffic to authorized provisioning systems on isolated management networks. Verify that the service is disabled or appropriately restricted. Centralize network and configuration-change logs, monitor Smart Install exploitation alerts, and investigate unexpected privileged accounts or configuration changes.
Remediation
Patch, then assume compromise.
Upgrade affected devices to a Cisco software release that fixes CVE-2018-0171, selecting the appropriate release for the device model and software train using Cisco's advisory and IOS Software Checker. Exact fixed Cisco release versions are not available in the supplied information. Replace unsupported devices that cannot receive corrected firmware. For applicable Rockwell Automation Stratix and ArmorStratix switches covered by advisory PN1019, apply firmware 15.2(6)E1 or later.
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 4, 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?
- Upgrade affected devices to a Cisco software release that fixes CVE-2018-0171, selecting the appropriate release for the device model and software train using Cisco's advisory and IOS Software Checker. Exact fixed Cisco release versions are not available in the supplied information.
- 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 4, 2026.
Recent activity
105 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.