Skip to content
Server Security Center
KEVhigh8.8

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

Cisco IOS and IOS XE Software · listed in the CISA catalog of actively exploited vulnerabilities since 2023-04-19.

CVSS v3.0 (CVE record)
8.8
high
EPSS (exploit probability, 30 days)
21%
higher than 97.6% of all CVEs
Added to CISA KEV
2023-04-19
US federal due date 2023-05-10
Automatable (CISA SSVC)
no
technical impact: total

CVE-2017-6742 explained

CVE-2017-6742 is a buffer overflow in the SNMP implementation of Cisco IOS and IOS XE Software on network devices. An authenticated, remote attacker who sends a crafted SNMP packet can reload the device or run arbitrary code and take full control. CISA lists it as known to be exploited by attackers.

Impact

An attacker who knows the SNMP read-only community string (SNMP version 2c or earlier) or valid SNMPv3 user credentials can send a crafted SNMP packet to the device. This can cause a reload or allow arbitrary code execution with full control of the system. All SNMP versions (1, 2c and 3) are affected. Only traffic directed to the affected system can trigger it. CISA rates technical impact as total and exploitation as not automatable.

Who is affected

The CVE record lists Cisco IOS XE Software as affected, with 92 listed versions in 18 groups, the first listed being 3.6.3E and the last 16.5.1b. The vulnerability name also covers Cisco IOS Software. The CVE record names no fixed version. Check the Cisco advisory to determine whether your specific release is affected and which release contains the fix.

Written with AI from the data on this page and checked against it automatically.

Official 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.

CISA required action: Apply updates per vendor instructions.

CISA notes

Affected and fixed versions

From the CVE record published by the vendor or CVE numbering authority.

  • Cisco IOS XE Software
    Affected
    • 92 listed versions in 18 groups (3.6.3E … 16.5.1b)
    all 92 listed versions
    • 3.6E: 3.6.3E, 3.6.5bE, 3.6.6E
    • 3.7E: 3.7.4E, 3.7.5E
    • 3.7S: 3.7.0bS … 3.7.7S (11 versions)
    • 3.8S: 3.8.0S, 3.8.1S, 3.8.2S
    • 3.9S: 3.9.0aS, 3.9.0S, 3.9.1S, 3.9.2S
    • 3.11S: 3.11.0S … 3.11.4S (5 versions)
    • 3.12S: 3.12.0aS … 3.12.4S (6 versions)
    • 3.13S: 3.13.0aS … 3.13.7S (13 versions)
    • 3.14S: 3.14.0S … 3.14.4S (5 versions)
    • 3.15S: 3.15.0S … 3.15.4S (6 versions)
    • 3.16S: 3.16.0cS … 3.16.5S (11 versions)
    • 3.17S: 3.17.0S … 3.17.3S (5 versions)
    • 3.18S: 3.18.0aS, 3.18.0S, 3.18.1S
    • 3.18SP: 3.18.0SP, 3.18.1aSP, 3.18.1SP, 3.18.2aSP
    • 16.2: 16.2.1, 16.2.2
    • 16.3: 16.3.1 … 16.3.4 (5 versions)
    • 16.4: 16.4.1, 16.4.2
    • 16.5: 16.5.1, 16.5.1b
    Fixed in
    not stated

How to fix it

  • The CVE record names no fixed version – check the vendor advisory and CISA's required action for updates and mitigations.
  • Vendor advisory: sec.cloudapps.cisco.com/security/center/content/CiscoSecu…
  • CISA's deadline for US federal agencies: 2023-05-10 (passed) – a useful benchmark for everyone else, too.

What to do

  1. Identify all Cisco IOS and IOS XE devices and compare their releases against the Cisco advisory.
  2. Apply updates per vendor instructions, as required by CISA, upgrading to a fixed release named in the Cisco advisory.
  3. Until updated, apply the mitigations or workarounds described in the Cisco advisory.
  4. Restrict SNMP access to trusted management hosts and keep management interfaces off the internet.
  5. Treat SNMP community strings and SNMPv3 credentials as sensitive and change them if exposure is suspected.
  6. Check devices for signs of compromise, such as unexpected reloads or configuration changes.

The CVE record names no fixed version, but that does not mean no fix exists. Follow CISA's required action to apply updates per vendor instructions, and use the Cisco advisory to find the fixed release for your device. Meanwhile, apply the advisory's mitigations, restrict SNMP access to trusted hosts and monitor devices for signs of compromise.

Written with AI from the data on this page and checked against it automatically.

CISA's assessment (SSVC)

Exploitation
Exploited in the wild
Automatable
No – each attack needs manual steps
Technical impact
Total – full control of the component or total information disclosure

Weakness: CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer

Questions about CVE-2017-6742

Does an attacker need credentials to exploit CVE-2017-6742?
Yes. The attacker must know the SNMP read-only community string for SNMP version 2c or earlier, or the user credentials for SNMPv3. The crafted packet must also be sent directly to the affected device.
Is this vulnerability exploited in the wild?
Yes. CISA added it to its Known Exploited Vulnerabilities catalog on 2023-04-19 with a US federal due date of 2023-05-10. Ransomware use is listed as unknown.
Does switching to SNMPv3 protect the device?
No. The vulnerability affects SNMP versions 1, 2c and 3. With SNMPv3 the attacker needs valid user credentials, but the device remains vulnerable until updated.

Written with AI from the data on this page and checked against it automatically.

References

Data: CISA Known Exploited Vulnerabilities (public domain) · CVE Program records incl. CISA ADP enrichment · OSV.dev (CC BY 4.0) incl. Ubuntu and Debian security data · FIRST EPSS · endoflife.date. Updated automatically – facts last changed 2026-11-22. Always confirm with the vendor's or distribution's advisory before patching.