Security Resilience

CVE-2018-0171

Memory Safety in Cisco Ios 15.2\(5\)e

CISA KEVActive ExploitationEUVD ExploitedMemory Safety
Published
28 March 2018
Modified
14 January 2026
KEV Added
03 November 2021
Patch / advisory
CVSS Score v3.1 9.8
Click a component to see what it means
Raw vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS Score 0.99 99.9th percentile
Risk Priority 97 floored blend · peak EPSS

CVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). Risk Priority is our own derived reading, not an NVD score.

Summary

CVE-2018-0171 is a critical-severity Improper Input Validation (CWE-20) vulnerability in Cisco Ios. Its CVSS base score is 9.8 (Critical).

Operationally, exploitation aligns with the MITRE ATT&CK technique Security Account Manager (T1003.002); ranked in the top 0.1% of CVEs by exploit likelihood; CISA has added it to the Known Exploited Vulnerabilities catalog.

Deeper analysis AI-assisted summary

Synthesised by an AI model from the NVD description and linked references — a reading aid, not an authoritative source.

A vulnerability in the Smart Install feature of Cisco IOS Software and Cisco IOS XE Software stems from improper validation of packet data, which can lead to a buffer overflow. Affected devices accept Smart Install messages on TCP port 4786, and successful exploitation can produce a reload, an indefinite loop triggering a watchdog crash, or arbitrary code execution. The issue is tracked as Cisco Bug ID CSCvg76186 and is assigned CWE-20 and CWE-787.

An unauthenticated remote attacker can exploit the flaw by sending a crafted Smart Install message to an exposed device. With no authentication or user interaction required, a successful attack yields high-impact outcomes including full control of the device or a persistent denial-of-service condition, reflected in the CVSS 3.1 score of 9.8.

Public advisories from Cisco, ICS-CERT, SecurityFocus, and SecurityTracker describe the same attack vector and direct administrators to the corresponding Cisco Security Advisory for mitigation steps and software updates. No information on observed in-the-wild exploitation is supplied in the source references.

OWASP Top 10 for Web (2025)

EU & UK References

Vulnerability Data

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…

more

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.

CWE(s)
KEV Date Added
03 November 2021

Related Threats

Threat-Actor AttributionAI

Microsoft Corp. (Salesforce / Slack engineer recruitment claims)
2021 Top Routinely Exploited Vulnerabilities | CISA
AnonOps
2021 Top Routinely Exploited Vulnerabilities | CISA
The Magic
People’s Republic of China State-Sponsored Cyber Actors Exploit Network Providers and Devices | CISA
Amazon.com (Walmart logistics engineer recruitment civil claims)
Countering Chinese State-Sponsored Actors Compromise of Networks Worldwide to Feed Global Espionage System | CISA
CrowdStrike (McAfee / Symantec civil claims)
Countering Chinese State-Sponsored Actors Compromise of Networks Worldwide to Feed Global Espionage System | CISA
Google LLC (civil insider-recruitment defendant)
Countering Chinese State-Sponsored Actors Compromise of Networks Worldwide to Feed Global Espionage System | CISA
Nokia (Huawei engineer-recruitment dispute 2007)
Countering Chinese State-Sponsored Actors Compromise of Networks Worldwide to Feed Global Espionage System | CISA
Salt Typhoon (G1045)
Countering Chinese State-Sponsored Actors Compromise of Networks Worldwide to Feed Global Espionage System | CISA
Dragonfly (G0035)
Improve Router Hygiene to Protect Against Russian State-Sponsored Targeting | CISA

MITRE ATT&CK Enterprise Techniques

T1003.002 Security Account Manager Credential Access
Adversaries may attempt to extract credential material from the Security Account Manager (SAM) database either through in-memory techniques or through the Windows Registry where the SAM database is stored.
T1003.004 LSA Secrets Credential Access
Adversaries with SYSTEM access to a host may attempt to access Local Security Authority (LSA) secrets, which can contain a variety of different credential materials, such as credentials for service accounts.
T1003.008 /etc/passwd and /etc/shadow Credential Access
Adversaries may attempt to dump the contents of <code>/etc/passwd</code> and <code>/etc/shadow</code> to enable offline password cracking.
T1006 Direct Volume Access Stealth
Adversaries may directly access a volume to bypass file access controls and file system monitoring.
T1007 System Service Discovery Discovery
Adversaries may try to gather information about registered local system services.
T1012 Query Registry Discovery
Adversaries may interact with the Windows Registry to gather information about the system, configuration, and installed software.
Derived from this CVE’s CWE(s) via the direct CWE→ATT&CK cross-walk.

CVEs Like This One

CVE-2023-20109Same product: Cisco Iosboth on KEV
CVE-2018-0172Same product: Cisco Iosboth on KEV
CVE-2024-20308Same product: Cisco Ios
CVE-2024-20433Same product: Cisco Ios
CVE-2022-20701Same vendor: Ciscoboth on KEV
CVE-2022-20700Same vendor: Ciscoboth on KEV
CVE-2020-3118Same vendor: Ciscoboth on KEV
CVE-2024-20376Same vendor: Cisco
CVE-2023-20213Same vendor: Cisco
CVE-2024-20357Same vendor: Cisco

Affected Assets

cisco
ios
15.2\(5\)e

Mitigating Controls

Likely Mitigating Controls AI

Per-CVE control mapping for this CVE has not run yet; the list below is derived from the weakness types (CWEs) cited in the NVD entry.

addresses: CWE-20

Security testing and developer training directly verify and enforce proper input validation, reducing exploitability of injection and malformed-data weaknesses.

addresses: CWE-20

Security testing and evaluation at multiple SDLC stages directly detects missing or flawed input validation, with the required remediation process ensuring fixes are applied.

addresses: CWE-20

Directly implements checks on information inputs to reject invalid data before processing.

addresses: CWE-787

Out-of-bounds writes that corrupt control flow or inject shellcode are rendered non-executable by the same memory protections.

addresses: CWE-20

Spam protection mechanisms perform filtering and detection on inbound/outbound messages, directly compensating for missing or weak input validation of unsolicited content.

Mitigating Controls (NIST CSF 2.0) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→CSF cross-walk (authority under review) — links open the control.

ID.RA-01 partial match
blocks

Vulnerability scanning and recording can discover out-of-bounds write flaws so they can be remediated.

PR.PS-02 partial match
blocks

Patching or replacing vulnerable software directly eliminates known instances of this coding weakness.

PR.PS-06 partial match
blocks

Secure-development practices (static analysis, bounds checking, code review) are the primary means of preventing out-of-bounds writes.

Mitigating Controls (ISO/IEC 27001:2022 Annex A) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→ISO cross-walk (authority under review) — links open the control.

removes
removes
removes
removes
removes

Hardening callouts derived

DISA STIG baselines are authored against specific weaknesses. Where this CVE cites a broad weakness class, the mapping is not asserted at that abstraction (owner ruling, 2026-09-25: grade only at Base and below), so no rule is shown here rather than a rule shown against the wrong grain.

  • No fine-grained STIG row for CWE-20, a class-level weakness, and none of its children carries one either.

References