CVE-2017-6742 is a buffer overflow in the SNMP subsystem of Cisco IOS and IOS XE routers and switches: an attacker who knows the read-only community string, or has SNMPv3 credentials, can reload the device or run code on it with a crafted packet. NVD scores it 8.8 and CISA KEV lists it as exploited. Upgrade, or exclude the affected MIBs.
Vulnerability summary
CVSS base score
8.8
High severity
EPSS score (FIRST)
21.3%
Probability of exploitation in the wild in the next 30 days
CISA KEV catalog
Yes
Listed as known exploited
Published
Vulnerability ID: CVE-2017-6742 · Source: NVD
Affected components
| Component | CPE | Version range |
|---|---|---|
| Cisco IOS and IOS XE Software with SNMP enabled | cpe:2.3:o:cisco:ios:*:*:*:*:*:*:*:* | NVD: IOS 12.0-12.4 and 15.0-15.6, IOS XE 2.2.0-3.17; Cisco CSAF: 91 affected products. Fixed release per the Cisco IOS Software Checker |
What does this mean for affected devices?
CVE-2017-6742 is one of nine buffer overflows in the SNMP subsystem of Cisco IOS and IOS XE that Cisco published together on 2017-06-29. A crafted SNMP packet sent over IPv4 or IPv6 to the device itself can make it reload or let the attacker "execute arbitrary code and obtain full control of the affected system". The attacker needs the SNMP read-only community string (SNMP v1 or v2c) or SNMPv3 user credentials. NVD scores it 8.8 (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H), NVD CVSS v2 9.0, with CWE-119; Cisco, the CNA, also scores 8.8 (NVD, CVE record). NVD's configuration covers IOS 12.0 through 12.4 and 15.0 through 15.6, and IOS XE 2.2.0 through 3.17.
Which Cisco devices are affected?
Cisco's advisory cisco-sa-20170629-snmp says the bugs affect devices running a vulnerable release of Cisco IOS or IOS XE, with all SNMP versions, and that "All devices that have enabled SNMP and have not explicitly excluded the affected MIBs or OIDs should be considered vulnerable." The listed MIBs, among them ADSL-LINE-MIB, CISCO-AUTH-FRAMEWORK-MIB, CISCO-MAC-AUTH-BYPASS-MIB and the voice MIBs, are on by default when SNMP is on, and some do not show up in show snmp mib. Cisco's CSAF lists 91 affected products for this CVE, tracked as bug CSCve54313 (Cisco CSAF).
How do I fix CVE-2017-6742?
Upgrade to the first fixed release that the Cisco IOS Software Checker returns. Until then, Cisco's workaround is to allow SNMP access only to trusted users, watch show snmp host, and exclude the whole list of affected MIBs with an snmp-server view applied to every community and SNMPv3 group; revision 1.11 of 2025-07-30 added one more MIB to that list, so recheck older views. An exploit attempt reloads the device and leaves a crashinfo file for Cisco TAC to review. Treat the read-only community string as a password: a guessable string such as "public" is all an attacker needs. Our SNMP agent guide covers exposure and hardening for embedded SNMP agents, and how to fix memory corruption in embedded firmware covers the bug class.
Is CVE-2017-6742 exploited?
Yes. Cisco notes that functional exploit code was published on 2017-01-06 and that its PSIRT is aware of exploitation of CVE-2017-6742 and seven sibling CVEs, including CVE-2017-6736 and CVE-2017-6744. CISA added CVE-2017-6742 to the KEV catalog on 2023-04-19 with the action "Apply updates per vendor instructions." (due 2023-05-10; known ransomware campaign use: Unknown); it is still listed as of 2026-11-25 in catalog version 2026.11.24. FIRST EPSS gives 0.21261, the 97.64th percentile, in the 2026-11-24 dataset (FIRST EPSS). A later IOS and IOS XE SNMP overflow, CVE-2025-20352, is also in KEV.
Evidence
- NVD: Analyzed; SNMP buffer overflow, all SNMP versions, read-only community or SNMPv3 credentials; NVD Primary CVSS v3.1 8.8 AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H, NVD Primary CVSS v2 9.0; Cisco Secondary CVSS v3.0 8.8; CWE-119; CPE ios 12.0-12.4, 15.0-15.6, ios_xe 2.2.0-3.17; published 2017-07-17; read 2026-11-25. — NVD
- Cisco advisory v1.11 (2025-07-30): nine SNMP CVEs; IOS and IOS XE; all SNMP versions; devices with SNMP enabled and affected MIBs not excluded are vulnerable; MIBs on by default; workaround: trusted users only, show snmp host, exclude MIBs via snmp-server view; v1.11 added a MIB; crashinfo file; exploit code published 2017-01-06; PSIRT aware of exploitation of CVE-2017-6736 to -6740, -6742, -6743, -6744. — Cisco Security Advisory cisco-sa-20170629-snmp
- Cisco CSAF 1.11.0: CVE-2017-6742 bug CSCve54313, 91 known-affected products, CVSS 3.0 8.8. — Cisco CSAF
- KEV catalog 2026.11.24: dateAdded 2023-04-19, due 2023-05-10, 'Apply updates per vendor instructions.', knownRansomwareCampaignUse Unknown, CWE-119; checked 2026-11-25. — CISA KEV
- EPSS 0.21261, percentile 0.97639, dataset 2026-11-24, read 2026-11-25. — FIRST EPSS

Related advisories
Sources
Frequently asked questions
What does an attacker need to exploit CVE-2017-6742?
Network reach to the device's SNMP service and either the SNMP read-only community string (SNMP v1 or v2c) or valid SNMPv3 user credentials. Only packets addressed to the device itself can trigger the bug, not transit traffic (per Cisco's advisory and NVD).
Is there a workaround for CVE-2017-6742?
Yes. Cisco advises allowing SNMP only from trusted users and excluding the affected MIBs (such as ADSL-LINE-MIB, CISCO-AUTH-FRAMEWORK-MIB and CISCO-MAC-AUTH-BYPASS-MIB) with an snmp-server view on every community and SNMPv3 group. Cisco added one more MIB to the list on 2025-07-30. The lasting fix is an upgrade.
Is CVE-2017-6742 exploited in the wild?
Yes. Cisco's PSIRT says it is aware of exploitation of CVE-2017-6742, and CISA KEV has listed it since 2023-04-19. FIRST EPSS gives 0.21261 (97.64th percentile) in the 2026-11-24 dataset, as of 2026-11-25.
How is CVE-2017-6742 related to CVE-2017-6744?
Both are among the nine SNMP overflows in Cisco advisory cisco-sa-20170629-snmp, with the same NVD score of 8.8 and the same fix path. Cisco tracks CVE-2017-6742 as bug CSCve54313; CVE-2017-6744 has its own bug IDs and its own KEV date (2022-03-03).
Questions about this page?