← Vulnerability feed

Vulnerability record · CVE-2017-6742 · published 17 July 2017

CVE-2017-6742: Cisco IOS and IOS XE SNMP Buffer Overflow Remote Code Execution

Cisco · Ios

Cisco IOS and IOS XE contain a buffer overflow in the SNMP implementation that affects SNMP versions 1, 2c, and 3. An authenticated remote attacker can send a crafted SNMP packet to crash the device or execute arbitrary code, making this a serious risk for internet-exposed management interfaces.

8.8 CVSS 3.1 High CISA KEV since 19 Apr 2023 EPSS 21% · top 2.5% CWE-119 · Memory buffer overflow
8.8CVSS 3.1 base score, v2 9.0
21%EPSS exploitation probability, 30 days
YesIn CISA KEV, fix deadline passed
2Affected product versions listed by NVD
5References
17 Jun 2026Last modified by NVD

Description

A vulnerability in the SNMP implementation of could allow an authenticated, remote attacker to cause a reload of the affected system or to remotely execute code. An attacker could exploit this vulnerability by sending a crafted SNMP packet to the affected device.  The vulnerability is due to a buffer overflow in the affected code area. The vulnerability affects all versions of SNMP (versions 1, 2c, and 3). The attacker must know the SNMP read only community string (SNMP version 2c or earlier) or the user credentials (SNMPv3). An exploit could allow the attacker to execute arbitrary code and obtain full control of the system or to cause a reload of the affected system. Only traffic directed to the affected system can be used to exploit this vulnerability.

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Automated analysis

Generated by VULONE's analysis model from the NVD record, CISA KEV and EPSS data on 17 September 2026. Confidence: high.

high priorityCVSS 8.8 with remote code execution, CISA KEV listing, and high EPSS percentile make this a high-priority patching target despite the authentication requirement.

What it is

Cisco IOS and IOS XE contain a buffer overflow in the SNMP implementation that affects SNMP versions 1, 2c, and 3. An authenticated remote attacker can send a crafted SNMP packet to crash the device or execute arbitrary code, making this a serious risk for internet-exposed management interfaces.

Impact

Successful exploitation allows arbitrary code execution with full control of the affected device, or a reload that causes a denial of service. Full device compromise can expose routing, switching, and network configuration data.

Attack surface

Reachable over the network via SNMP traffic directed to the affected system; the attacker must supply a valid SNMP read-only community string (v1/v2c) or valid SNMPv3 user credentials. No user interaction is required.

Exploitation

CVE-2017-6742 is listed in CISA's Known Exploited Vulnerabilities catalog, indicating exploitation in the wild, and EPSS shows a 30-day probability of 0.21424 (97.5th percentile). No public exploit code or ransomware association is recorded in this data.

What to do

  • Apply the Cisco vendor updates referenced in the Cisco security advisory cisco-sa-20170629-snmp.
  • Disable SNMP where it is not required, or restrict SNMP access to trusted management hosts via ACLs.
  • Replace default or weak SNMP community strings and rotate SNMPv3 credentials.
  • Block SNMP (UDP 161/162) from untrusted networks at the perimeter.
  • Monitor for unexpected device reloads and SNMP configuration changes.

Detection

  • Alert on unexpected Cisco IOS/IOS XE device reloads or crash dumps.
  • Monitor SNMP traffic for malformed or unusually large packets directed at managed devices.
  • Audit SNMP community strings and SNMPv3 user accounts for weak or default credentials.
  • Review logs for SNMP requests from unauthorized or unexpected source addresses.

This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.

Exploitation in the wild

CISA added CVE-2017-6742 to the Known Exploited Vulnerabilities catalog on 19 April 2023 as "Cisco IOS and IOS XE Software SNMP Remote Code Execution Vulnerability". Required action: Apply updates per vendor instructions. Federal deadline 10 May 2023.

Affected products

2 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2017-6742 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

10.0CVE-2023-20198Cisco IOS XE Web UI unauthenticated privilege escalation and implant deploymentCVE-2023-20198 is a critical flaw in the Cisco IOS XE web UI that lets an unauthenticated remote attacker gain initial access and create a local priv…KEVEPSS 100%analysed9.8CVE-2018-0171Cisco IOS Smart Install improper input validation allows remote code executionCisco IOS and IOS XE Smart Install fails to properly validate packet data, so a crafted Smart Install message sent to TCP port 4786 can overflow a bu…KEVEPSS 99%analysed9.8CVE-2018-0151Cisco IOS/IOS XE QoS UDP Port 18999 Buffer OverflowCisco IOS and IOS XE contain a buffer overflow in the QoS subsystem caused by incorrect bounds checking of values in packets sent to UDP port 18999. …KEVEPSS 14%analysed9.8CVE-2017-12240Cisco IOS and IOS XE DHCP Relay Buffer Overflow RCEThe DHCP relay subsystem in Cisco IOS 12.2 through 15.6 and Cisco IOS XE contains a buffer overflow caused by improper input validation of DHCPv4 pac…KEVEPSS 14%analysed9.8CVE-2017-3881Cisco IOS/IOS XE CMP Telnet Option Handling RCECisco IOS and IOS XE fail to restrict CMP-specific Telnet options to internal cluster communications and mishandle malformed CMP Telnet options, so a…KEVEPSS 99%analysed8.8CVE-2018-0167Cisco IOS, IOS XE and IOS XR LLDP buffer overflowMultiple buffer overflow flaws exist in the Link Layer Discovery Protocol (LLDP) subsystem of Cisco IOS, IOS XE and IOS XR Software. An unauthenticat…KEVEPSS 3.4%analysed8.8CVE-2017-6736Cisco IOS and IOS XE SNMP buffer overflow remote code executionThe SNMP subsystem in Cisco IOS and IOS XE contains a buffer overflow that can be triggered by a crafted SNMP packet sent over IPv4 or IPv6. It affec…KEVEPSS 70%analysed8.8CVE-2017-6737Cisco IOS and IOS XE SNMP Buffer Overflow RCECisco IOS and IOS XE contain a buffer overflow in the SNMP implementation that affects SNMPv1, v2c, and v3. An authenticated remote attacker who know…KEVEPSS 45%analysed

Source: NIST National Vulnerability Database (record CVE-2017-6742), CISA KEV, FIRST EPSS (scores of 2026-09-27). This page is refreshed as NVD updates the record.