CVE-2018-0171: Cisco IOS and IOS XE Software Smart Install Remote Code Execution
Cisco IOS and IOS XE · listed in the CISA catalog of actively exploited vulnerabilities since 2021-11-03.
- CVSS v3.1 (CISA ADP)
- 7.5
- high
- EPSS (exploit probability, 30 days)
- 99.4%
- among the highest 0.1% of all CVEs
- Added to CISA KEV
- 2021-11-03
- US federal due date 2022-05-03
- Automatable (CISA SSVC)
- yes
- technical impact: total
CVE-2018-0171 explained
CVE-2018-0171 is a vulnerability in the Smart Install feature of Cisco IOS Software and Cisco IOS XE Software. Improper validation of packet data lets an unauthenticated, remote attacker cause a buffer overflow, leading to a device reload or arbitrary code execution. CISA lists it as known to be exploited, so exposed network devices are at real risk.
Impact
An unauthenticated attacker who can reach TCP port 4786 on an affected device can send a crafted Smart Install message. This can reload the device, cause an indefinite loop that triggers a watchdog crash, or allow arbitrary code execution. No user interaction is needed. CISA rates it automatable with total technical impact, meaning attackers can exploit it at scale and may gain full control of the device.
Who is affected
The CVE record lists Cisco IOS and IOS XE as affected and describes the affected versions in free text only. No specific version numbers are given. The CVE record names no fixed version. Check the Cisco vendor advisory for Cisco Bug ID CSCvg76186 to see which releases are affected and which contain the fix.
Written with AI from the data on this page and checked against it automatically.
Official description
A vulnerability in the Smart Install feature of Cisco IOS Software and Cisco IOS XE Software could allow an unauthenticated, remote attacker to trigger a reload of an affected device, resulting in a denial of service (DoS) condition, or to execute arbitrary code on an affected device. The vulnerability is due to improper validation of packet data.
An attacker could exploit this vulnerability by sending a crafted Smart Install message to an affected device on TCP port 4786. A successful exploit could allow the attacker to cause a buffer overflow on the affected device, which could have the following impacts: Triggering a reload of the device, Allowing the attacker to execute arbitrary code on the device, Causing an indefinite loop on the affected device that triggers a watchdog crash.
Cisco Bug IDs: CSCvg76186.
CISA required action: Apply updates per vendor instructions.
CISA notes
Affected and fixed versions
From the CVE record published by the vendor or CVE numbering authority.
- Cisco IOS and IOS XEAffectedFixed in
- Cisco IOS and IOS XE
not statedVersion statement as published by the CNA (free text).
| Product | Affected | Fixed in |
|---|---|---|
| Cisco IOS and IOS XEVersion statement as published by the CNA (free text). |
| not stated |
How to fix it
- The CVE record names no fixed version – check the vendor advisory and CISA's required action for updates and mitigations.
- Vendor advisory: tools.cisco.com/security/center/content/CiscoSecurityAdvi…
- CISA's deadline for US federal agencies: 2022-05-03 (passed) – a useful benchmark for everyone else, too.
What to do
- Identify all Cisco IOS and IOS XE devices with the Smart Install feature active.
- Apply updates per Cisco's instructions, as CISA requires, using the fixed releases named in the vendor advisory.
- Disable Smart Install on devices that do not need it.
- Block or restrict access to TCP port 4786 from untrusted networks, and keep management interfaces off the internet.
- Check devices for unexpected reloads, crashes or configuration changes that may indicate compromise.
The CVE record names no fixed version, but this does not mean no fix exists. Follow the Cisco vendor advisory for CSCvg76186 to find fixed releases, and apply updates per vendor instructions as CISA requires. Until updated, disable Smart Install where it is not needed and block untrusted access to TCP port 4786.
Written with AI from the data on this page and checked against it automatically.
CISA's assessment (SSVC)
- Exploitation
- Exploited in the wild
- Automatable
- Yes – attackers can automate it at scale
- Technical impact
- Total – full control of the component or total information disclosure
Weakness: CWE-20
Questions about CVE-2018-0171
- Is CVE-2018-0171 being exploited?
- Yes. CISA added it to its Known Exploited Vulnerabilities catalog on 2021-11-03. Whether it is used in ransomware campaigns is listed as unknown. The US federal due date for remediation was 2022-05-03.
- Does an attacker need credentials?
- No. The attacker needs no authentication and no user interaction. Network access to the Smart Install service on TCP port 4786 is sufficient.
- Which versions should I upgrade to?
- The CVE record does not name fixed versions. Use the Cisco vendor advisory for Cisco Bug ID CSCvg76186 to determine the fixed release for your platform.
Written with AI from the data on this page and checked against it automatically.
References
Data: CISA Known Exploited Vulnerabilities (public domain) · CVE Program records incl. CISA ADP enrichment · OSV.dev (CC BY 4.0) incl. Ubuntu and Debian security data · FIRST EPSS · endoflife.date. Updated automatically – facts last changed 2026-11-22. Always confirm with the vendor's or distribution's advisory before patching.