CVE-2017-12240: Cisco IOS and IOS XE Software DHCP Remote Code Execution Vulnerability
CVE-2017-12240 affects 120 listed versions of Cisco IOS in the Dawnsentry catalogue. It is known to be exploited in the wild.
Affected products and versions
The versions in the Dawnsentry catalogue this CVE affects, judged from the vendor's own advisory where there is one, otherwise from the CVE record and NVD, as each version's own page says.
Cisco IOS
120 of 225 listed versions are affected. No fixed release is named. The newest release, 15.9(3)M14, is not affected.
15.5(3)sn0a 15.5(3)sn 15.5(3)s10c 15.5(3)s10b 15.5(3)s10a 15.5(3)s10 15.5(3)s9a 15.5(3)s9 15.5(3)s8 15.5(3)s7b 15.5(3)s7a 15.5(3)s7 15.5(3)s6b 15.5(3)s6a 15.5(3)s6 15.3(3)xb12 15.3(3)s10 15.3(3)s9 15.3(3)s8a 15.3(3)s8 15.3(3)s7 15.3(3)s6a 15.3(3)s6 15.3(3)s5 15.3(3)s4 15.3(3)s3 15.3(3)s2a 15.3(3)s2 15.3(3)s1a 15.3(3)s1 15.1(4)xb8a 15.1(4)xb8 15.1(4)xb7 15.1(4)xb6 15.1(4)xb5a 15.1(4)xb5 15.1(4)xb4 15.1(4)m12a 15.1(4)m10 15.1(4)m9 15.1(4)m8 15.1(4)m7 15.1(4)m6 15.1(4)m5 15.1(4)m4 15.0(2)xo 15.0(2)sqd8 15.0(2)sqd7 15.0(2)sqd6 15.0(2)sqd5 15.0(2)sqd4 15.0(2)sqd3 15.0(2)sqd2 15.0(2)sqd1 15.0(2)sqd 15.0(2)sg11a 15.0(2)sg11 15.0(2)sg10 15.0(2)sg9 15.0(2)sg8 and 60 more
What it is
The DHCP relay subsystem of Cisco IOS 12.2 through 15.6 and Cisco IOS XE Software contains a vulnerability that could allow an unauthenticated, remote attacker to execute arbitrary code and gain full control of an affected system. The attacker could also cause an affected system to reload, resulting in a denial of service (DoS) condition. The vulnerability is due to a buffer overflow condition in the DHCP relay subsystem of the affected software. An attacker could exploit this vulnerability by sending a crafted DHCP Version 4 (DHCPv4) packet to an affected system. A successful exploit could allow the attacker to execute arbitrary code and gain full control of the affected system or cause the affected system to reload, resulting in a DoS condition. Cisco Bug IDs: CSCsm45390, CSCuw77959.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H (NVD)
Published by Cisco on 29 September 2017. Last changed 17 June 2026.
Sources
Check one version you run: look CVE-2017-12240 up, or pick a product and version in the quick lookup.
Updated 1 December 2026.