CVE-2018-0161 is a denial-of-service bug in the SNMP code of Cisco IOS on Catalyst 2960-L and Catalyst Digital Building switches: an SNMP GET for the ciscoFlashMIB object makes the switch restart. It needs valid SNMP credentials. NVD scores it 6.3, CISA KEV lists it. Upgrade, or exclude ciscoFlashMIB from SNMP views.
Vulnerability summary
CVSS base score
6.3
Medium severity
EPSS score (FIRST)
4.1%
Probability of exploitation in the wild in the next 30 days
CISA KEV catalog
Yes
Listed as known exploited
Published
Vulnerability ID: CVE-2018-0161 · Source: NVD
Affected components
| Component | CPE | Version range |
|---|---|---|
| Cisco Catalyst 2960-L Series and Catalyst Digital Building Series 8P/8U switches (Cisco IOS, SNMPv2 or SNMPv3 enabled) | cpe:2.3:o:cisco:ios:15.2\(5\)e:*:*:*:*:*:*:* | Cisco CSAF lists 15.2(5)E, 15.2(5a)E, 15.2(5)E1, 15.2(5b)E, 15.2(5c)E, 15.2(5a)E1, 15.2(5)E2, 15.2(5)E2c, 15.2(5)EX and 15.2(5)EA (bug CSCvd89541); first fixed release per the Cisco IOS Software Checker. NVD's CPE names only 15.2(5)E |
What does this mean for affected devices?
CVE-2018-0161 sits in the Simple Network Management Protocol (SNMP) subsystem of Cisco IOS on a small set of Catalyst access switches. Cisco's advisory cisco-sa-20180328-snmp (bug CSCvd89541) says the flaw is "due to a condition that could occur when the affected software processes an SNMP read request that contains a request for the ciscoFlashMIB object ID"; a successful request "could cause the affected device to restart due to a SYS-3-CPUHOG". The attacker needs a valid SNMPv2 community string or SNMPv3 user, hence "authenticated". NVD scores it CVSS v3.1 6.3 (CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:N/I:N/A:H) and NVD CVSS v2 6.3; CISA ADP agrees on 6.3. Cisco, the CNA, scores it 7.7 in its CSAF with low attack complexity. NVD records the CWE as NVD-CWE-noinfo; Cisco and KEV use CWE-399 (NVD, CVE record).
Which switches and releases are affected?
Cisco names three device families, when they run a vulnerable IOS release and use SNMPv2 or SNMPv3: Catalyst 2960-L Series Switches, Catalyst Digital Building Series Switches 8P and 8U. A snmp-server community or snmp-server user line in the running configuration means SNMP is on. Cisco's CSAF file lists ten affected releases, 15.2(5)E, 15.2(5a)E, 15.2(5)E1, 15.2(5b)E, 15.2(5c)E, 15.2(5a)E1, 15.2(5)E2, 15.2(5)E2c, 15.2(5)EX and 15.2(5)EA; NVD's CPE configuration names only 15.2(5)E. IOS XE, IOS XR and NX-OS are not affected.
How do I fix CVE-2018-0161?
Upgrade to the first fixed release that the Cisco IOS Software Checker returns for the switch. Unlike the LLDP, DHCP relay and IKEv1 advisories in the same March 2018 bundle, this one has workarounds. Cisco's first is an SNMP access list that only admits the management station, with the warning that SNMP runs over UDP and source addresses can be spoofed, so Unicast Reverse Path Forwarding should be used alongside. The second is an SNMP view that excludes ciscoFlashMIB for the community or SNMPv3 group. A crash shows up as %SYS-3-CPUHOG naming the SNMP ENGINE process. Keep SNMP reachable only from a management network and never from the internet, as our CISA BOD 23-02 guide explains.
Is CVE-2018-0161 exploited?
Cisco updated the advisory after it "became aware of additional attempted exploitation of this vulnerability in the wild" in March 2022. CISA added CVE-2018-0161 to the KEV catalog on 2022-03-03 with the required action "Apply updates per vendor instructions." (due 2022-03-17; known ransomware campaign use: Unknown); it is still listed as of 2026-11-25 in catalog version 2026.11.24. FIRST EPSS gives 0.04116, the 90.95th percentile, in the 2026-11-24 dataset (FIRST EPSS). Our KEV and EPSS prioritization guide covers why a 6.3 that is known exploited still outranks untested high scores. Other KEV-listed Cisco IOS SNMP flaws: CVE-2017-6736 and CVE-2025-20352.
Evidence
- NVD: Analyzed; SNMP GET MIB Object ID DoS on Catalyst 2960-L, Digital Building 8P/8U; ciscoFlashMIB request; SYS-3-CPUHOG restart; NVD Primary CVSS v3.1 6.3 AV:N/AC:H/PR:L/UI:N/S:C/C:N/I:N/A:H; NVD Primary CVSS v2 6.3; CISA ADP 6.3; CWE NVD-CWE-noinfo (NVD), CWE-399 (Cisco); CPE ios 15.2(5)e; published 2018-03-28. — NVD
- Cisco cisco-sa-20180328-snmp (v1.1, updated 2022-12-15): CSCvd89541; affects Catalyst 2960-L, Digital Building 8P and 8U with SNMPv2 or SNMPv3; workarounds: SNMP ACL (UDP spoofable, use uRPF) and SNMP view excluding ciscoFlashMIB; IoC SYS-3-CPUHOG in SNMP ENGINE; IOS XE/XR/NX-OS not affected; attempted exploitation seen March 2022. — Cisco Security Advisory
- Cisco CSAF: CVE-2018-0161 CVSS 3.0 7.7 AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H; 10 known_affected releases: 15.2(5)E, 15.2(5a)E, 15.2(5)E1, 15.2(5b)E, 15.2(5c)E, 15.2(5a)E1, 15.2(5)E2, 15.2(5)E2c, 15.2(5)EX and 15.2(5)EA. — Cisco CSAF
- CVE record: PUBLISHED, CNA Cisco. — CVE.org
- KEV catalog version 2026.11.24: CVE-2018-0161 dateAdded 2022-03-03, required action 'Apply updates per vendor instructions.', due 2022-03-17, knownRansomwareCampaignUse Unknown; checked 2026-11-25. — CISA KEV
- EPSS 0.04116, percentile 0.90946, dataset 2026-11-24, read 2026-11-25. — FIRST EPSS

Related advisories
Sources
Frequently asked questions
Which Cisco switches are affected by CVE-2018-0161?
Cisco names Catalyst 2960-L Series Switches and Catalyst Digital Building Series Switches 8P and 8U running a vulnerable IOS release with SNMPv2 or SNMPv3 configured. Its CSAF lists ten affected 15.2(5) releases, from 15.2(5)E to 15.2(5)EA (per Cisco advisory cisco-sa-20180328-snmp).
Is there a workaround for CVE-2018-0161?
Yes, two. Restrict SNMP to trusted management hosts with an access list (Cisco warns UDP sources can be spoofed and recommends Unicast RPF alongside), or define an SNMP view that excludes ciscoFlashMIB and apply it to the community or SNMPv3 group. Upgrading removes the bug (per Cisco).
Does CVE-2018-0161 need credentials?
Yes. The attacker must send an SNMP GET that the switch accepts, which means a valid SNMPv2 community string or SNMPv3 user. NVD scores it with low privileges required, CVSS v3.1 6.3 (per Cisco and NVD).
Is CVE-2018-0161 exploited in the wild?
Cisco reported additional attempted exploitation in March 2022, and CISA added CVE-2018-0161 to KEV on 2022-03-03; it is listed as of 2026-11-25 in catalog version 2026.11.24. FIRST EPSS gives 0.04116, the 90.95th percentile, in the 2026-11-24 dataset (per Cisco, CISA KEV and FIRST EPSS).
Questions about this page?