Skip to content
Server Security Center
KEVhigh8.8

CVE-2017-6740: 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 2022-03-03.

CVSS v3.0 (CVE record)
8.8
high
EPSS (exploit probability, 30 days)
11%
higher than 96% of all CVEs
Added to CISA KEV
2022-03-03
US federal due date 2022-03-24
Automatable (CISA SSVC)
no
technical impact: total

CVE-2017-6740 explained

CVE-2017-6740 is one of multiple buffer overflow vulnerabilities in the SNMP subsystem of Cisco IOS and IOS XE Software. An authenticated remote attacker can send a crafted SNMP packet to execute arbitrary code or force the device to reload. CISA lists it as known to be exploited, which makes patching or applying workarounds a priority.

Impact

A successful attack can give full control of the affected device or cause it to reload. The attacker needs network access to the device over IPv4 or IPv6. For SNMP version 1 or 2c, they must know the read-only community string. For SNMP version 3, they need valid user credentials. CISA rates the technical impact as total but not automatable. Attackers are known to use this vulnerability.

Who is affected

The CVE record lists Cisco IOS as affected, with 72 listed versions in 19 groups. The description also names IOS XE Software. All devices with SNMP enabled that have not explicitly excluded the affected MIBs or OIDs should be considered vulnerable. All SNMP versions (1, 2c and 3) are affected. The CVE record names no fixed version. Cisco states that fixed software information is available through the Cisco IOS Software Checker.

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

Official description

The Simple Network Management Protocol (SNMP) subsystem of Cisco IOS and IOS XE Software contains multiple vulnerabilities that could allow an authenticated, remote attacker to remotely execute code on an affected system or cause an affected system to reload. An attacker could exploit these vulnerabilities by sending a crafted SNMP packet to an affected system via IPv4 or IPv6.

Only traffic directed to an affected system can be used to exploit these vulnerabilities. The vulnerabilities are due to a buffer overflow condition in the SNMP subsystem of the affected software. The vulnerabilities affect all versions of SNMP - Versions 1, 2c, and 3.

To exploit these vulnerabilities via SNMP Version 2c or earlier, the attacker must know the SNMP read-only community string for the affected system. To exploit these vulnerabilities via SNMP Version 3, the attacker must have user credentials for the affected system.

A successful exploit could allow the attacker to execute arbitrary code and obtain full control of the affected system or cause the affected system to reload. Customers are advised to apply the workaround as contained in the Workarounds section below. Fixed software information is available via the Cisco IOS Software Checker.

All devices that have enabled SNMP and have not explicitly excluded the affected MIBs or OIDs should be considered vulnerable. There are workarounds that address these vulnerabilities.

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
    Affected
    • 72 listed versions in 19 groups (12.2(14)ZA … 15.1(3)SVJ2)
    all 72 listed versions
    • 12.2SE: 12.2(25)SE2
    • 12.2SO: 12.2(18)SO1, 12.2(18)SO2, 12.2(18)SO3
    • 12.2STE: 12.2(33)STE0
    • 12.2SV: 12.2(29)SV2
    • 12.2SXB: 12.2(17d)SXB1 … 12.2(17d)SXB11a (12 versions)
    • 12.2SXF: 12.2(18)SXF … 12.2(18)SXF17b (22 versions)
    • 12.2ZA: 12.2(14)ZA … 12.2(14)ZA7 (7 versions)
    • 12.2ZX: 12.2(28)ZX
    • 15.0EX: 15.0(1)EX … 15.0(2)EX13 (7 versions)
    • 15.0SG: 15.0(2)SG11a
    • 15.0XO: 15.0(1)XO, 15.0(1)XO1, 15.0(2)XO
    • 15.1MRA: 15.1(3)MRA3, 15.1(3)MRA4
    • 15.1SVB: 15.1(3)SVB1, 15.1(3)SVB2
    • 15.1SVD: 15.1(3)SVD, 15.1(3)SVD1, 15.1(3)SVD2
    • 15.1SVE: 15.1(3)SVE
    • 15.1SVF: 15.1(3)SVF, 15.1(3)SVF1
    • 15.1SVG: 15.1(3)SVG
    • 15.1SVJ: 15.1(3)SVJ2
    • 15.1SY: 15.1(2)SY9
    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: 2022-03-24 (passed) – a useful benchmark for everyone else, too.

What to do

  1. Use the Cisco IOS Software Checker to find the fixed release for each device, then upgrade.
  2. Until upgraded, apply the workarounds in the Cisco advisory, such as excluding the affected MIBs or OIDs.
  3. Restrict SNMP access to trusted management hosts and keep it off untrusted networks.
  4. Change SNMP community strings and SNMPv3 credentials, especially if they may be known to others.
  5. Disable SNMP on devices that do not need it.
  6. Check devices for unexpected reloads or configuration changes that may indicate compromise.

The CVE record names no fixed version. Use the Cisco IOS Software Checker and the vendor advisory to find the fixed release for your platform, as CISA requires applying updates per vendor instructions. Until you upgrade, apply Cisco's workarounds by excluding the affected MIBs or OIDs. Limit SNMP access to trusted hosts and rotate community strings and SNMPv3 credentials.

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-6740

Is my device vulnerable if SNMP is enabled?
Yes, unless the affected MIBs or OIDs have been explicitly excluded. Cisco says all devices with SNMP enabled and no such exclusions should be considered vulnerable. This covers SNMP versions 1, 2c and 3.
Can an unauthenticated attacker exploit this?
No. The attacker needs the SNMP read-only community string for versions 1 and 2c, or valid user credentials for SNMPv3. They must also be able to send traffic directly to the device.
Is this vulnerability exploited in the wild?
Yes. CISA added it to its Known Exploited Vulnerabilities catalog on 2022-03-03, with a US federal due date of 2022-03-24. It is unknown whether it has been used in ransomware campaigns.

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.