Security Advisory

CVE-2018-0171: Cisco IOS Smart Install RCE

Last updated:
  • CVE-2018-0171

CVE-2018-0171 is a buffer overflow in the Smart Install client of Cisco IOS and IOS XE switches: an unauthenticated attacker who reaches TCP port 4786 can reload the switch or run code on it. NVD scores it 9.8, CISA KEV lists it, and Cisco reports exploitation as late as 2025. Upgrade, or disable Smart Install.

Vulnerability summary

CVSS base score

9.8

Critical severity

EPSS score (FIRST)

99.5%

Probability of exploitation in the wild in the next 30 days

CISA KEV catalog

Yes

Listed as known exploited

Published

Vulnerability ID: CVE-2018-0171 · Source: NVD

Affected components

ComponentCPEVersion range
Cisco IOS and IOS XE Software, Smart Install client switchescpe:2.3:o:cisco:ios:15.2\(5\)e:*:*:*:*:*:*:*343 affected IOS and IOS XE releases in Cisco's CSAF; fixed release per the Cisco IOS Software Checker. NVD's CPE configuration names only IOS 15.2(5)E
Rockwell Automation Allen-Bradley Stratix 5400, 5410, 5700, 8000 and ArmorStratix 5700—15.2(6)E0a and earlier; fixed in FRN 15.2(6)E1 or later (ICSA-18-107-04)

What does this mean for affected devices?

CVE-2018-0171 is a buffer overflow in the Smart Install client of Cisco IOS and IOS XE. NVD's description says an unauthenticated attacker sends "a crafted Smart Install message to an affected device on TCP port 4786" and can reload the switch, run arbitrary code on it, or trap it in a loop that ends in a watchdog crash. NVD scores it 9.8 (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H) and NVD CVSS v2 10.0, with CWE-787; Cisco, the CNA, maps it to CWE-20, and the CISA ADP entry on the CVE record scores it 7.5, availability impact only (NVD, CVE record).

Which Cisco devices are affected?

Cisco's advisory cisco-sa-20180328-smi2 (bug CSCvg76186) covers devices "running a vulnerable release of Cisco IOS or IOS XE Software" with the Smart Install client feature enabled. Only client switches are affected; a device configured as Smart Install director is not, and IOS XR and NX-OS are not affected. Smart Install is a zero-touch deployment feature for access-layer switches that "incorporates no authentication by design", and the client is "enabled by default on switches that are running Cisco IOS Software releases that have not been updated to address Cisco bug ID CSCvd36820". show vstack config returning Role: Client with Oper Mode: Enabled or (SmartInstall enabled) means the switch is exposed. Cisco's CSAF file lists 343 affected IOS and IOS XE releases and scores the bug 9.8 under CVSS 3.0.

The same switch code ships inside industrial gear. CISA advisory ICSA-18-107-04 lists Rockwell Automation Allen-Bradley Stratix 5400, 5410, 5700, 8000 and ArmorStratix 5700 switches at 15.2(6)E0a and earlier; Rockwell recommends FRN 15.2(6)E1 or later.

How do I fix CVE-2018-0171?

Upgrade to the first fixed release that the Cisco IOS Software Checker returns for your train. Cisco says there is no workaround for sites that need Smart Install; everyone else should turn it off with no vstack, and releases with the CSCvd36820 fix auto-disable it when it is not in use. Where it must stay on, the ICSA quotes Cisco's advice to block inbound TCP port 4786 with ACLs. Keep switch management off the internet, as in our CISA BOD 23-02 guide; the bug class is covered in how to fix memory corruption in embedded firmware.

Is CVE-2018-0171 exploited?

Yes. Cisco updated the advisory in November 2021 after "additional attempted exploitation" and again on 2025-08-20: "Cisco is aware of continued exploitation activity". CISA added it to the KEV catalog on 2021-11-03 with the action "Apply updates per vendor instructions." (due 2022-05-03; known ransomware campaign use: Unknown); it is still listed as of 2026-11-25 in catalog version 2026.11.24. FIRST EPSS gives 0.99479, the 99.94th percentile, in the 2026-11-24 dataset (FIRST EPSS). Other exploited Cisco IOS switch flaws: the SNMP overflow CVE-2017-6736, which also hit Stratix switches, and the PROFINET reload CVE-2017-12235.

How to fix this class of issueThis advisory's weakness class is Memory corruption. Our practical guide covers how to detect, fix, verify and disclose it: How to fix memory corruption in embedded firmware.

Evidence

  • NVD: Analyzed; Smart Install buffer overflow, crafted message to TCP 4786, reload/code execution/watchdog crash; NVD Primary CVSS v3.1 9.8 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H, NVD Primary CVSS v2 10.0; CISA ADP Secondary 7.5 (A:H only); CWE-787 (NVD), CWE-20 (Cisco); CPE ios 15.2(5)e; published 2018-03-28; read 2026-11-25. — NVD
  • Cisco advisory v1.9 (2025-08-20): continued exploitation; Nov 2021 additional attempted exploitation; client switches only, director not affected; enabled by default without CSCvd36820 fix; show vstack config check; no workaround except no vstack; IOS XR and NX-OS not affected; Smart Install has no authentication by design; reported by George Nosenko (Embedi) via GeekPwn. — Cisco Security Advisory cisco-sa-20180328-smi2
  • Cisco CSAF 1.9.0: 343 known-affected products; CVSS 3.0 9.8. — Cisco CSAF
  • ICSA-18-107-04 (2018-04-17): Allen-Bradley Stratix 5400, 5410, 5700, 8000, ArmorStratix 5700 <= 15.2(6)E0a affected by CVE-2018-0171; upgrade to FRN 15.2(6)E1 or later; disable with no vstack or block TCP 4786 with ACLs. — CISA ICS advisory CSAF
  • KEV catalog 2026.11.24: dateAdded 2021-11-03, due 2022-05-03, 'Apply updates per vendor instructions.', knownRansomwareCampaignUse Unknown, CWE-20; checked 2026-11-25. — CISA KEV
  • EPSS 0.99479, percentile 0.99943, dataset 2026-11-24, read 2026-11-25. — FIRST EPSS

Related advisories

Sources

  1. NVD
  2. Cisco Security Advisory: Cisco IOS and IOS XE Software Smart Install Remote Code Execution Vulnerability
  3. Cisco CSAF: cisco-sa-20180328-smi2
  4. CISA ICSA-18-107-04: Rockwell Automation Stratix and ArmorStratix Switches (CSAF)
  5. CVE.org record CVE-2018-0171 (CNA: Cisco)
  6. CISA KEV
  7. FIRST EPSS

Frequently asked questions

How do I check whether a Cisco switch is exposed to CVE-2018-0171?

Run show vstack config. Output of Role: Client with Oper Mode: Enabled, or Role: Client (SmartInstall enabled), means the Smart Install client is on. Then enter the IOS or IOS XE release in the Cisco IOS Software Checker to see whether it is affected (per Cisco's advisory).

Is there a workaround for CVE-2018-0171?

Not for sites that need Smart Install. Cisco says other sites should disable it with no vstack; releases with the CSCvd36820 fix disable it when unused. CISA's ICSA-18-107-04 also quotes Cisco's advice to block inbound TCP port 4786 with ACLs where Smart Install must stay on.

Are industrial switches affected by CVE-2018-0171?

Yes. CISA's ICSA-18-107-04 lists Rockwell Automation Allen-Bradley Stratix 5400, 5410, 5700, 8000 and ArmorStratix 5700 switches at 15.2(6)E0a and earlier, which run Cisco IOS. Rockwell recommends FRN 15.2(6)E1 or later.

Is CVE-2018-0171 still being exploited?

Cisco's advisory was updated on 2025-08-20 to say Cisco is aware of continued exploitation. CISA KEV has listed it since 2021-11-03, and FIRST EPSS gives 0.99479 (99.94th percentile) in the 2026-11-24 dataset, as of 2026-11-25.