CVE-2017-6742: SNMP Buffer Overflow in Cisco IOS and IOS XE
- Vendor
- Cisco Systems
CVE-2017-6742 is a buffer overflow vulnerability in the SNMP implementation of Cisco IOS and IOS XE, including industrial networking products that embed affected components. A remote attacker can exploit the flaw by sending a crafted SNMP packet directly to a vulnerable device. SNMP versions 1, 2c, and 3 are affected. Exploitation requires knowledge of a read-only community string for SNMPv1/v2c or valid SNMPv3 user credentials and can result in arbitrary code execution with full device control or a device reload. APT28 exploited the vulnerability on Cisco routers in 2021, deploying Jaguar Tooth malware on some compromised devices.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation can give an attacker full control of the affected network device through arbitrary code execution or cause denial of service by triggering a reload. Observed exploitation enabled installation of Jaguar Tooth, which collected and exfiltrated device and network information and provided unauthenticated backdoor access. Industrial networking products incorporating the vulnerable Cisco SNMP components are also affected.
Mitigation
If you can’t patch tonight, do this now.
Disable SNMP when it is unnecessary. Otherwise, restrict SNMP access to trusted management hosts through ACLs, management-plane controls, firewalls and segmentation, and avoid public exposure. Apply Cisco's SNMP view-based workaround to exclude the affected MIBs and associate the restricted view with relevant community strings and SNMPv3 groups. Use strong, unique community strings or SNMPv3 credentials, prefer encrypted management protocols, and monitor management commands and device configuration changes. SNMPv3 is also affected, so changing protocol versions alone does not eliminate the vulnerability.
Remediation
Patch, then assume compromise.
Upgrade affected Cisco IOS and IOS XE devices to an applicable fixed release, using Cisco IOS Software Checker to identify the first fixed release for the device's platform and software train. Fixed software was initially made available in June 2017. For affected Allen-Bradley products, upgrade Stratix 8300 to 15.2(4a)EA5 or later, and Stratix 8000, 5400, 5410, 5700 and ArmorStratix 5700 to 15.2(6)E0a or later. No fixed Stratix 5900 version is specified in the available information; apply the recommended risk mitigations. If compromise is suspected, verify image integrity, replace ROMMON and IOS images with images obtained directly from Cisco, and revoke and regenerate associated cryptographic keys.
Exploits
No validated public exploits yet. Hidden: 1 rejected by Mallory's analysis as not a working exploit.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2017-6742 exploited in the wild?
- Yes. As of Oct 9, 2026, Mallory has reports of exploitation in the wild, and CISA added it to KEV on Apr 19, 2023.
- Is there a public exploit for CVE-2017-6742?
- As of Oct 9, 2026, Mallory has found no public exploit for CVE-2017-6742.
- Is there a patch for CVE-2017-6742?
- Upgrade affected Cisco IOS and IOS XE devices to an applicable fixed release, using Cisco IOS Software Checker to identify the first fixed release for the device's platform and software train. Fixed software was initially made available in June 2017.
- What products are affected by CVE-2017-6742?
- Cisco Systems Ios and Cisco Systems Ios Xe.
- How severe is CVE-2017-6742?
- CVE-2017-6742 has a CVSS v3.1 score of 8.8 (High) and an EPSS score of 21.3% (98th percentile) as of Oct 9, 2026.
Recent activity
10 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.